/*
Theme Name:       Corpiva
Text Domain:      corpiva
Version:          1.0.18
Tested up to:     6.6
Requires at least: 4.7
Requires PHP:     5.6
Author:           DesertThemes
Author URI:       https://desertthemes.com/
Theme URI:        https://desertthemes.com/themes/corpiva-free/
Description:      Corpiva is a lightweight, highly extendable and multi-purpose WordPress Theme. Corpiva is perfect for startups, IT Solutions, IT Businesses, Agencies, Marketing, Consulting, and Services companies. The theme is based on in-depth research into IT Solutions, IT Services, Consulting, Software, and Technology companies to deliver needed layouts and blocks. Corpiva supports popular WordPress plugins such as Elementor, WPML, Polylang, Yoast SEO, WooCommerce, Contact Form 7, Jetpack, and much more.
License:          GPLv3 or later
License URI:     https://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
    --wp--style--block-gap: 2.4rem; /* Consistent block gap */
    
    /* Color Palette */
    --dt-primary-color: rgba(212, 175, 55, 1); /* Gold */
    --dt-secondary-color: #1a1a1a; /* Deep black for high contrast */
    --dt-accent-color: #8b0000; /* Maroon for accent details */
    --dt-light-gray: #f4f4f4; /* Light gray for backgrounds */
    --dt-text-color: #e6e6e6; /* Soft off-white for text on dark backgrounds */
    --dt-highlight-color: #333333; /* Medium gray for headers */
    
    /* Typography */
    --dt-title-font: "Montserrat", sans-serif; /* Professional title font */
    --dt-body-font: "Lato", sans-serif; /* Clean and readable body font */
    
    /* Gradient for subtle depth */
    --dt-gradient: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0));
}

/* General Styling */
body {
    font-family: var(--dt-body-font);
    background-color: var(--dt-light-gray);
    color: var(--dt-secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dt-title-font);
    color: var(--dt-primary-color);
}

/* Post Meta Styling */
.dt_post_item .meta li {
    font-size: 1.4rem;
    color: var(--dt-secondary-color); /* Black */
    font-weight: 600;
    transition: all .2s ease-in-out;
}

.dt_post_item .meta i {
    font-size: 2rem;
    color: var(--dt-primary-color); /* Gold */
    vertical-align: middle;
    margin-right: 0.8rem;
}

/* Buttons */
.wp-block-button__link {
    background: var(--dt-primary-color); /* Gold */
    color: var(--dt-text-color); /* Off-white */
    border-radius: 6px;
    padding: 0.75em 1.5em;
    font-family: var(--dt-body-font);
}

.wp-block-button__link:hover, 
.wp-block-button__link:focus {
    background: var(--dt-accent-color); /* Maroon */
    color: var(--dt-text-color); /* Off-white */
}

/* WooCommerce Product Badge */
.wc-block-components-product-badge {
    background: var(--dt-primary-color); /* Gold */
    color: var(--dt-highlight-color); /* Medium gray for contrast */
}

/* Product Price */
.wc-block-featured-product__price .woocommerce-Price-amount.amount {
    color: var(--dt-primary-color); /* Gold */
}

/* Tables */
.wp-block-table figcaption {
    text-align: center;
    font-weight: 600;
    color: var(--dt-secondary-color); /* Black */
}

.wc-block-cart-items th {
    color: var(--dt-primary-color); /* Gold */
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    font-size: 1.5rem;
    color: var(--dt-secondary-color); /* Black */
}

/* Form Styling */
form input[type="text"], form input[type="date"], form textarea, form select {
    background-color: var(--dt-light-gray);
    border: 1px solid var(--dt-secondary-color); /* Black border */
    padding: 0.75em;
    width: 100%;
    border-radius: 6px;
    font-family: var(--dt-body-font);
}

form input[type="text"]:focus, form input[type="date"]:focus, form textarea:focus, form select:focus {
    border-color: var(--dt-primary-color); /* Gold focus border */
}

/* Read More Button */
.has-background.wp-block-read-more {
    padding: 0.25em 1.375em;
    color: var(--dt-secondary-color); /* Black */
    background-color: var(--dt-primary-color); /* Gold background */
    border-radius: 4px;
}

.has-background.wp-block-read-more:hover {
    background-color: var(--dt-accent-color); /* Maroon */
    color: var(--dt-text-color); /* Off-white */
}

/* Blockquotes */
.wp-block-pullquote.has-text-color blockquote {
    border-left-color: var(--dt-primary-color); /* Gold */
    font-style: italic;
    color: var(--dt-secondary-color); /* Black */
}

/* Breadcrumb Links */
nav.woocommerce-breadcrumb a {
    text-decoration: none;
    color: var(--dt-primary-color); /* Gold */
}

nav.woocommerce-breadcrumb a:hover, nav.woocommerce-breadcrumb a:focus {
    color: var(--dt-accent-color); /* Maroon on hover */
}

/* Code Styling */
.wp-block-code.has-text-color code {
    color: var(--dt-primary-color); /* Gold */
}

.wp-block-code.has-background code {
    background: var(--dt-light-gray); /* Light gray */
    color: var(--dt-primary-color); /* Gold text */
}
