/*
Theme Name: Kerman Copper
Theme URI: http://example.com/
Author: User
Author URI: http://example.com/
Description: Custom theme for Kerman Copper
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kermancopper
*/




.ad-content {
    background: linear-gradient(180deg, #ffffff 0%, #fdf7f2 100%);
    border: 1px solid #f3e8df;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ad-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.ad-content thead th {
    background-color: #c86429;
    color: #ffffff;
    padding: 0.75rem 1rem;
    text-align: right;
    border-bottom: none;
}

.ad-content tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3e8df;
}

.ad-content tbody tr:nth-child(odd) {
    background-color: #fdf2e8;
}

.ad-content tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.ad-content table tr:first-child th:first-child {
    border-top-right-radius: 0.125rem;
}

.ad-content table tr:first-child th:last-child {
    border-top-left-radius: 0.125rem;
}

.ad-content table tr:last-child td:first-child {
    border-bottom-right-radius: 0.125rem;
}

.ad-content table tr:last-child td:last-child {
    border-bottom-left-radius: 0.125rem;
}

.ad-excel-link {
    transition: all 0.2s ease;
}

.ad-excel-link:hover {
    background-color: #c86429;
    color: #ffffff;
    border-color: #c86429;
}

.ad-excel-link:hover .ad-excel-meta {
    color: #ffffff;
    opacity: 0.9;
}

.hero-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 20;
    pointer-events: none;
}

.hero-curve-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-curve-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    pointer-events: auto;
    animation: hero-bounce 1.6s ease-in-out infinite;
}

.hero-curve-arrow-icon {
    width: 30px;
    height: 30px;
    color: #c86429;
}

body.home #main-nav .menu-separator {
    color: rgba(255, 255, 255, 0.3);
}

body.home #main-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

body.home #main-nav .nav-link:hover {
    color: #ffffff;
}

@keyframes hero-bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 5px);
    }
}

@media (max-width: 1024px) {
    .hero-curve-arrow {
        width: 28px;
        height: 28px;
    }

    .hero-curve-arrow-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 640px) {
    .hero-curve-arrow {
        width: 26px;
        height: 26px;
    }

    .hero-curve-arrow-icon {
        width: 20px;
        height: 20px;
    }
}

/* Desktop Header Navigation Overrides */
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link:hover {
    color: #E28652 !important;
}

.nav-link.active {
    color: #C8682F !important;
    font-weight: 800 !important;
}

.nav-link::after {
    bottom: -2px !important;
    height: 2.5px !important;
    border-radius: 9999px !important;
}

.nav-link.active::after {
    background-color: #C8682F !important;
}

/* Premium Unified Bento Card Styles (Site-wide) */
.bento-card-light,
.bg-white.border-slate-200\/80,
.bg-white.border-slate-200,
.ad-card,
.post-card,
.post-content.prose,
article.post-content,
#filter-sidebar,
#mobile-filter-content {
    background-color: #ffffff !important;
    border: 1px solid rgba(200, 104, 47, 0.15) !important;
    box-shadow: 0 4px 20px rgba(26, 34, 53, 0.03), 0 20px 40px -15px rgba(26, 34, 53, 0.06) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bento-card-light:hover,
.bg-white.border-slate-200\/80:hover,
.bg-white.border-slate-200:hover,
.ad-card:hover,
.post-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(200, 104, 47, 0.22) !important;
    box-shadow:
        0 20px 40px -10px rgba(200, 104, 47, 0.07) !important,
        0 10px 25px -10px rgba(0, 0, 0, 0.02) !important;
}

/* Height-Based Responsiveness for Hero Section (Home page only) */
@media (max-height: 850px) {
    body.home .hero-text-container {
        margin-top: 1rem !important;
    }
    body.home .hero-text-container h1 {
        font-size: 3.5rem !important;
        line-height: 1.15 !important;
    }
    body.home .hero-text-container p {
        font-size: 1.05rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.6 !important;
    }
    body.home .hero-text-container .inline-flex {
        margin-bottom: 1rem !important;
        padding-top: 0.375rem !important;
        padding-bottom: 0.375rem !important;
    }
}

@media (max-height: 720px) {
    body.home .hero-text-container {
        margin-top: 0.5rem !important;
    }
    body.home .hero-text-container h1 {
        font-size: 3rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.5rem !important;
    }
    body.home .hero-text-container div[dir="ltr"] {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    body.home .hero-text-container p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.5 !important;
    }
}

/* Mobile Hero Curve Arrow Overrides */
@media (max-width: 640px) {
    .hero-curve-arrow {
        top: 40% !important;
        z-index: 30 !important;
    }
}