/*
 Theme Name:   Prestige Theme
 Theme URI:    https://example.com/prestige-theme
 Description:  Elegant sombre - A sophisticated, dark, luxury child theme for Divi. Features anthracite backgrounds, warm cream typography, and gold accents for a high-end prestige aesthetic.
 Author:       Prestige Studio
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  prestige-theme
*/

/* ==========================================================================
   Google Fonts Import
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,300;1,400;1,700&display=swap');

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --prestige-primary: #2D2D2D;
    --prestige-primary-dark: #1A1A1A;
    --prestige-primary-light: #3D3D3D;
    --prestige-secondary: #F5F0E8;
    --prestige-secondary-muted: #E8E0D2;
    --prestige-accent: #C9A84C;
    --prestige-accent-light: #D4BA6A;
    --prestige-accent-dark: #B0923E;
    --prestige-white: #FFFFFF;
    --prestige-black: #0D0D0D;
    --prestige-grey: #6B6B6B;
    --prestige-grey-light: #9A9A9A;
    --prestige-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --prestige-font-body: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --prestige-transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --prestige-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --prestige-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */

body,
body.et_divi_theme {
    background-color: var(--prestige-primary) !important;
    color: var(--prestige-secondary) !important;
    font-family: var(--prestige-font-body) !important;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#page-container {
    background-color: var(--prestige-primary) !important;
}

#main-content {
    background-color: transparent !important;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.et_pb_module_header,
.et_pb_slide_description .et_pb_slide_title,
.et_pb_fullwidth_header .header-content h1 {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-secondary) !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.25;
}

h1,
.et_pb_slide_description .et_pb_slide_title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

h2,
.et_pb_module_header {
    font-size: 2.4rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h5 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--prestige-accent) !important;
}

h6 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--prestige-grey-light) !important;
}

p,
.et_pb_text_inner p,
.et_pb_blurb_description,
.et_pb_toggle_content,
.et_pb_tab_content {
    font-family: var(--prestige-font-body) !important;
    color: var(--prestige-secondary) !important;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0.02em;
}

a {
    color: var(--prestige-accent) !important;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

a:hover {
    color: var(--prestige-accent-light) !important;
}

strong, b {
    font-weight: 700;
    color: var(--prestige-white);
}

blockquote {
    border-left: 3px solid var(--prestige-accent) !important;
    padding-left: 1.5rem;
    font-family: var(--prestige-font-heading) !important;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--prestige-secondary-muted) !important;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

#main-header,
#main-header.et-fixed-header {
    background-color: var(--prestige-primary-dark) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: none !important;
}

#et-top-navigation nav > ul > li > a,
.et_header_style_centered #top-menu > li > a {
    font-family: var(--prestige-font-body) !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: var(--prestige-secondary) !important;
    padding-bottom: 5px !important;
    transition: var(--prestige-transition);
}

#et-top-navigation nav > ul > li > a:hover,
#et-top-navigation nav > ul > li.current-menu-item > a,
#et-top-navigation nav > ul > li.current_page_item > a {
    color: var(--prestige-accent) !important;
    opacity: 1 !important;
}

/* Dropdown menus */
#top-menu li li a,
.nav li ul a {
    font-family: var(--prestige-font-body) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--prestige-secondary-muted) !important;
    background-color: var(--prestige-primary-dark) !important;
    border-color: rgba(201, 168, 76, 0.1) !important;
    padding: 10px 20px !important;
    transition: var(--prestige-transition);
}

#top-menu li li a:hover {
    color: var(--prestige-accent) !important;
    background-color: var(--prestige-primary) !important;
}

ul.sub-menu {
    border-top: 2px solid var(--prestige-accent) !important;
    box-shadow: var(--prestige-shadow) !important;
}

/* Logo */
#logo {
    max-height: 60px;
}

/* Mobile menu */
.mobile_nav .select_page,
.et_mobile_menu {
    background-color: var(--prestige-primary-dark) !important;
    border-color: rgba(201, 168, 76, 0.15) !important;
}

.et_mobile_menu li a {
    font-family: var(--prestige-font-body) !important;
    color: var(--prestige-secondary) !important;
    border-color: rgba(201, 168, 76, 0.1) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
}

.mobile_menu_bar:before {
    color: var(--prestige-accent) !important;
}

/* ==========================================================================
   Buttons - Outlined Elegant Style
   ========================================================================== */

.et_pb_button,
.et_pb_more_button,
.et_pb_promo_button,
.et_pb_newsletter_button,
.et_pb_pricing_table_button,
body .et_pb_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
    font-family: var(--prestige-font-body) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    color: var(--prestige-accent) !important;
    background-color: transparent !important;
    border: 1px solid var(--prestige-accent) !important;
    border-radius: 0 !important;
    padding: 14px 36px !important;
    transition: var(--prestige-transition);
}

.et_pb_button:hover,
.et_pb_more_button:hover,
body .et_pb_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    color: var(--prestige-primary-dark) !important;
    background-color: var(--prestige-accent) !important;
    border-color: var(--prestige-accent) !important;
    letter-spacing: 0.25em !important;
}

.et_pb_button:after,
body .et_pb_button:after {
    display: none !important;
}

/* ==========================================================================
   Sections & Rows
   ========================================================================== */

.et_pb_section {
    background-color: transparent !important;
}

.et_pb_section.et_pb_section_parallax {
    background-color: var(--prestige-primary) !important;
}

.et_pb_with_background .et_pb_row {
    background-color: transparent !important;
}

/* Specialty dark section variant */
.et_pb_section--dark,
.et_pb_section[style*="background-color: #1"] {
    background-color: var(--prestige-primary-dark) !important;
}

/* Section dividers - remove Divi decorative elements */
.et_pb_top_inside_divider,
.et_pb_bottom_inside_divider {
    display: none !important;
}

/* ==========================================================================
   Divi Modules - Override Defaults
   ========================================================================== */

/* Blurb module */
.et_pb_blurb_container h4,
.et_pb_blurb h4 {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-secondary) !important;
}

.et_pb_blurb .et-pb-icon,
.et_pb_blurb .et_pb_main_blurb_image {
    color: var(--prestige-accent) !important;
    margin-bottom: 20px;
}

/* Testimonial module */
.et_pb_testimonial {
    background-color: var(--prestige-primary-light) !important;
    border: 1px solid rgba(201, 168, 76, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.et_pb_testimonial_author {
    color: var(--prestige-accent) !important;
    font-family: var(--prestige-font-heading) !important;
}

.et_pb_testimonial_meta {
    color: var(--prestige-grey-light) !important;
}

/* Pricing table */
.et_pb_pricing_table {
    background-color: var(--prestige-primary-light) !important;
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.et_pb_pricing_heading {
    border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
}

.et_pb_pricing_heading h2 {
    color: var(--prestige-accent) !important;
}

.et_pb_sum {
    color: var(--prestige-secondary) !important;
    font-family: var(--prestige-font-heading) !important;
}

/* Toggle / Accordion */
.et_pb_toggle {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
    border-radius: 0 !important;
}

.et_pb_toggle_title {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-secondary) !important;
}

.et_pb_toggle_open .et_pb_toggle_title {
    color: var(--prestige-accent) !important;
}

/* Tabs */
.et_pb_tabs .et_pb_tab_active a {
    color: var(--prestige-accent) !important;
}

.et_pb_all_tabs {
    background-color: var(--prestige-primary-light) !important;
    border-color: rgba(201, 168, 76, 0.15) !important;
}

/* Contact form */
.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select,
input.input[type="text"],
input.input[type="email"],
input.input[type="url"],
textarea.input {
    background-color: transparent !important;
    border: 1px solid rgba(201, 168, 76, 0.25) !important;
    border-radius: 0 !important;
    color: var(--prestige-secondary) !important;
    font-family: var(--prestige-font-body) !important;
    font-size: 14px !important;
    padding: 14px 18px !important;
    transition: var(--prestige-transition);
}

.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus {
    border-color: var(--prestige-accent) !important;
    box-shadow: 0 0 0 1px var(--prestige-accent) !important;
}

.et_pb_contact_form input::-webkit-input-placeholder {
    color: var(--prestige-grey) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

/* Counter / Number counter */
.et_pb_number_counter .percent p {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-accent) !important;
}

/* CTA module */
.et_pb_promo {
    background-color: var(--prestige-primary-light) !important;
    border: 1px solid rgba(201, 168, 76, 0.12) !important;
    border-radius: 0 !important;
}

/* ==========================================================================
   Blog Module
   ========================================================================== */

.et_pb_post {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding-bottom: 2rem;
}

.et_pb_post h2 a,
.et_pb_post .entry-title a {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-secondary) !important;
}

.et_pb_post h2 a:hover {
    color: var(--prestige-accent) !important;
}

.post-meta,
.et_pb_post .post-meta {
    color: var(--prestige-grey-light) !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */

#sidebar .et_pb_widget {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

#sidebar .et_pb_widget h4 {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-accent) !important;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#sidebar .et_pb_widget a {
    color: var(--prestige-secondary-muted) !important;
}

#sidebar .et_pb_widget a:hover {
    color: var(--prestige-accent) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#main-footer {
    background-color: var(--prestige-primary-dark) !important;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

#footer-widgets .footer-widget h4 {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-accent) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

#footer-widgets .footer-widget li a {
    color: var(--prestige-secondary-muted) !important;
    font-size: 14px;
}

#footer-widgets .footer-widget li a:hover {
    color: var(--prestige-accent) !important;
}

#footer-bottom {
    background-color: var(--prestige-black) !important;
}

#footer-info,
#footer-bottom a {
    color: var(--prestige-grey) !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Remove Divi Decorative Elements
   ========================================================================== */

/* Remove default box shadows */
.et_pb_module,
.et_pb_team_member,
.et_pb_portfolio_item,
.et_pb_gallery_item {
    box-shadow: none !important;
}

/* Remove default border radius */
.et_pb_module,
.et_pb_image,
.et_pb_gallery_image img {
    border-radius: 0 !important;
}

/* Remove Divi default animations clutter */
.et_pb_section .et_pb_row .et_pb_column .et_pb_module .et-pb-icon {
    color: var(--prestige-accent) !important;
}

/* Remove unwanted backgrounds from modules */
.et_pb_text,
.et_pb_image,
.et_pb_code {
    background: transparent !important;
}

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--prestige-primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--prestige-primary-light);
    border: 1px solid var(--prestige-primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--prestige-accent-dark);
}

/* ==========================================================================
   Selection Color
   ========================================================================== */

::selection {
    background-color: var(--prestige-accent);
    color: var(--prestige-primary-dark);
}

::-moz-selection {
    background-color: var(--prestige-accent);
    color: var(--prestige-primary-dark);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.prestige-gold-text {
    color: var(--prestige-accent) !important;
}

.prestige-cream-bg {
    background-color: var(--prestige-secondary) !important;
    color: var(--prestige-primary) !important;
}

.prestige-cream-bg h1,
.prestige-cream-bg h2,
.prestige-cream-bg h3,
.prestige-cream-bg h4,
.prestige-cream-bg p {
    color: var(--prestige-primary) !important;
}

.prestige-divider {
    width: 60px;
    height: 2px;
    background-color: var(--prestige-accent);
    margin: 1.5rem 0;
}

.prestige-divider--center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 980px) {
    h1,
    .et_pb_slide_description .et_pb_slide_title {
        font-size: 2.4rem;
    }

    h2,
    .et_pb_module_header {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .et_pb_button,
    body .et_pb_button {
        padding: 12px 28px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    h1,
    .et_pb_slide_description .et_pb_slide_title {
        font-size: 1.8rem;
    }

    h2,
    .et_pb_module_header {
        font-size: 1.5rem;
    }

    body,
    body.et_divi_theme {
        font-size: 15px;
    }

    .et_pb_button,
    body .et_pb_button {
        padding: 10px 24px !important;
        letter-spacing: 0.15em !important;
    }
}

/* ==========================================================================
   PRESTIGE THEME - WordPress Template Styles
   ========================================================================== */

/* ==========================================================================
   Header
   ========================================================================== */

.prestige-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--prestige-primary-dark);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    transition: var(--prestige-transition);
}

.prestige-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.prestige-header__logo a {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--prestige-accent) !important;
    letter-spacing: 0.06em;
    text-decoration: none !important;
}

.prestige-header__logo img {
    max-height: 50px;
    width: auto;
}

.prestige-header__site-title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--prestige-accent) !important;
    letter-spacing: 0.06em;
    text-decoration: none !important;
}

/* Navigation menu */
.prestige-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.prestige-nav-menu .menu-item {
    position: relative;
}

.prestige-nav-menu .menu-item a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-family: var(--prestige-font-body) !important;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--prestige-secondary) !important;
    text-decoration: none !important;
    transition: var(--prestige-transition);
    position: relative;
}

.prestige-nav-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background-color: var(--prestige-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prestige-nav-menu .menu-item a:hover::after,
.prestige-nav-menu .menu-item.current-menu-item a::after,
.prestige-nav-menu .menu-item.current-cat a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.prestige-nav-menu .menu-item a:hover,
.prestige-nav-menu .menu-item.current-menu-item a,
.prestige-nav-menu .menu-item.current-cat a {
    color: var(--prestige-accent) !important;
}

/* Sub-menu */
.prestige-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background-color: var(--prestige-primary-dark);
    border-top: 2px solid var(--prestige-accent);
    box-shadow: var(--prestige-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--prestige-transition);
}

.prestige-nav-menu .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.prestige-nav-menu .sub-menu .menu-item a {
    padding: 0.6rem 1.5rem;
    font-size: 11px;
}

/* Mobile menu toggle */
.prestige-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 10001;
}

.prestige-menu-toggle__bar {
    display: block;
    width: 26px;
    height: 1.5px;
    background-color: var(--prestige-accent);
    transition: var(--prestige-transition);
}

.prestige-menu-toggle--active .prestige-menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.prestige-menu-toggle--active .prestige-menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.prestige-menu-toggle--active .prestige-menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.prestige-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--prestige-primary-dark);
    overflow: hidden;
}

.prestige-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.prestige-hero__inner {
    position: relative;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.prestige-hero__accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--prestige-accent);
    margin: 0 auto 2.5rem;
}

.prestige-hero__title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 4rem;
    font-weight: 700;
    color: var(--prestige-secondary) !important;
    letter-spacing: 0.06em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.prestige-hero__tagline {
    font-family: var(--prestige-font-body) !important;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--prestige-grey-light) !important;
    letter-spacing: 0.04em;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.prestige-hero__divider {
    width: 60px;
    height: 1px;
    background-color: rgba(201, 168, 76, 0.4);
    margin: 0 auto 2.5rem;
}

.prestige-hero__cta {
    display: inline-block;
    font-family: var(--prestige-font-body) !important;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--prestige-accent) !important;
    border: 1px solid var(--prestige-accent);
    padding: 14px 44px;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-hero__cta:hover {
    background-color: var(--prestige-accent);
    color: var(--prestige-primary-dark) !important;
    letter-spacing: 0.3em;
}

/* ==========================================================================
   Section Header
   ========================================================================== */

.prestige-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.prestige-section-header__label {
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--prestige-accent) !important;
    margin-bottom: 0.75rem;
}

.prestige-section-header__title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--prestige-secondary) !important;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

.prestige-section-header__divider {
    width: 60px;
    height: 2px;
    background-color: var(--prestige-accent);
    margin: 0 auto;
}

/* ==========================================================================
   Publications Section
   ========================================================================== */

.prestige-publications {
    padding: 6rem 0;
    background-color: var(--prestige-primary);
}

.prestige-publications__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Card Grid
   ========================================================================== */

.prestige-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.prestige-card {
    background-color: var(--prestige-primary-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    overflow: hidden;
    transition: var(--prestige-transition);
}

.prestige-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--prestige-shadow-hover);
}

.prestige-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.prestige-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prestige-card:hover .prestige-card__image img {
    transform: scale(1.05);
}

.prestige-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.6) 0%, transparent 50%);
    pointer-events: none;
}

.prestige-card__body {
    padding: 1.75rem;
}

.prestige-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.prestige-card__category {
    font-family: var(--prestige-font-body) !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--prestige-accent) !important;
}

.prestige-card__date {
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 300;
    color: var(--prestige-grey) !important;
    letter-spacing: 0.05em;
}

.prestige-card__title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.prestige-card__title a {
    color: var(--prestige-secondary) !important;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-card__title a:hover {
    color: var(--prestige-accent) !important;
}

.prestige-card__excerpt {
    font-family: var(--prestige-font-body) !important;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--prestige-grey-light) !important;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.prestige-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--prestige-accent) !important;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-card__link:hover {
    letter-spacing: 0.2em;
    color: var(--prestige-accent-light) !important;
}

.prestige-card__link-arrow {
    transition: transform 0.3s ease;
}

.prestige-card__link:hover .prestige-card__link-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Archive Header
   ========================================================================== */

.prestige-archive-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background-color: var(--prestige-primary-dark);
}

.prestige-archive-header__inner {
    max-width: 800px;
    margin: 0 auto;
}

.prestige-archive-header__label {
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--prestige-accent) !important;
    margin-bottom: 0.75rem;
}

.prestige-archive-header__title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 3rem;
    font-weight: 700;
    color: var(--prestige-secondary) !important;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

.prestige-archive-header__divider {
    width: 60px;
    height: 2px;
    background-color: var(--prestige-accent);
    margin: 0 auto;
}

.prestige-archive-header__description {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 300;
    color: var(--prestige-grey-light) !important;
    line-height: 1.7;
}

.prestige-archive-header__description p {
    color: var(--prestige-grey-light) !important;
}

/* ==========================================================================
   Archive / Category
   ========================================================================== */

.prestige-archive {
    padding: 4rem 0 6rem;
    background-color: var(--prestige-primary);
}

.prestige-archive__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.prestige-pagination {
    margin-top: 4rem;
    text-align: center;
}

.prestige-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.prestige-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-family: var(--prestige-font-body) !important;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--prestige-secondary) !important;
    border: 1px solid rgba(201, 168, 76, 0.15);
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-pagination .page-numbers:hover,
.prestige-pagination .page-numbers.current {
    background-color: var(--prestige-accent);
    color: var(--prestige-primary-dark) !important;
    border-color: var(--prestige-accent);
}

.prestige-pagination .prev,
.prestige-pagination .next {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
}

.prestige-pagination .prev:hover,
.prestige-pagination .next:hover {
    background: transparent;
    color: var(--prestige-accent) !important;
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.prestige-single__header {
    padding: 10rem 2rem 3rem;
    text-align: center;
    background-color: var(--prestige-primary-dark);
}

.prestige-single__header-inner {
    max-width: 760px;
    margin: 0 auto;
}

.prestige-single__categories {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.prestige-single__category {
    font-family: var(--prestige-font-body) !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--prestige-accent) !important;
    text-decoration: none !important;
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 0.3rem 1rem;
    transition: var(--prestige-transition);
}

.prestige-single__category:hover {
    background-color: var(--prestige-accent);
    color: var(--prestige-primary-dark) !important;
}

.prestige-single__title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 3rem;
    font-weight: 700;
    color: var(--prestige-secondary) !important;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.prestige-single__divider {
    width: 60px;
    height: 2px;
    background-color: var(--prestige-accent);
    margin: 0 auto 1.5rem;
}

.prestige-single__meta {
    font-family: var(--prestige-font-body) !important;
    font-size: 13px;
    font-weight: 300;
    color: var(--prestige-grey-light) !important;
    letter-spacing: 0.04em;
}

.prestige-single__meta-sep {
    margin: 0 0.5rem;
    color: rgba(201, 168, 76, 0.4);
}

.prestige-single__author {
    color: var(--prestige-grey-light) !important;
}

/* Featured image */
.prestige-single__featured {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    transform: translateY(-2rem);
}

.prestige-single__featured-inner {
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.prestige-single__featured img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content area */
.prestige-single__content {
    padding: 3rem 2rem 4rem;
    background-color: var(--prestige-primary);
}

.prestige-single__content-inner {
    max-width: 720px;
    margin: 0 auto;
}

.prestige-single__content-inner p {
    font-family: var(--prestige-font-body) !important;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--prestige-secondary) !important;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.prestige-single__content-inner h2 {
    font-family: var(--prestige-font-heading) !important;
    font-size: 2rem;
    font-weight: 600;
    color: var(--prestige-secondary) !important;
    margin: 2.5rem 0 1rem;
}

.prestige-single__content-inner h3 {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--prestige-secondary) !important;
    margin: 2rem 0 0.75rem;
}

.prestige-single__content-inner h4 {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.2rem;
    color: var(--prestige-accent) !important;
    margin: 1.5rem 0 0.5rem;
}

.prestige-single__content-inner blockquote {
    border-left: 3px solid var(--prestige-accent) !important;
    padding: 1rem 0 1rem 2rem;
    margin: 2rem 0;
    background-color: rgba(201, 168, 76, 0.03);
}

.prestige-single__content-inner blockquote p {
    font-family: var(--prestige-font-heading) !important;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--prestige-secondary-muted) !important;
    line-height: 1.7;
}

.prestige-single__content-inner img {
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.prestige-single__content-inner ul,
.prestige-single__content-inner ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prestige-single__content-inner li {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--prestige-secondary) !important;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.prestige-single__content-inner a {
    color: var(--prestige-accent) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    text-decoration: none !important;
}

.prestige-single__content-inner a:hover {
    border-bottom-color: var(--prestige-accent);
}

/* Page links */
.prestige-page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    font-family: var(--prestige-font-body) !important;
    font-size: 13px;
    color: var(--prestige-grey-light) !important;
}

.prestige-page-links__number {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid rgba(201, 168, 76, 0.15);
    margin: 0 0.25rem;
    color: var(--prestige-secondary) !important;
}

/* Single post footer */
.prestige-single__footer {
    padding: 0 2rem 3rem;
    background-color: var(--prestige-primary);
}

.prestige-single__footer-inner {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.prestige-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prestige-single__tag {
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--prestige-grey-light) !important;
    border: 1px solid rgba(201, 168, 76, 0.12);
    padding: 0.35rem 1rem;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-single__tag:hover {
    color: var(--prestige-accent) !important;
    border-color: var(--prestige-accent);
}

/* Post navigation */
.prestige-post-nav {
    background-color: var(--prestige-primary-dark);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.prestige-post-nav__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prestige-post-nav__prev {
    text-align: left;
}

.prestige-post-nav__next {
    text-align: right;
}

.prestige-post-nav__label {
    display: block;
    font-family: var(--prestige-font-body) !important;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--prestige-accent) !important;
    margin-bottom: 0.5rem;
}

.prestige-post-nav__link {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--prestige-secondary) !important;
    text-decoration: none !important;
    transition: var(--prestige-transition);
}

.prestige-post-nav__link:hover {
    color: var(--prestige-accent) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.prestige-footer {
    background-color: var(--prestige-primary-dark);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.prestige-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.prestige-footer__divider {
    width: 40px;
    height: 1px;
    background-color: var(--prestige-accent);
    margin: 0 auto 2rem;
}

.prestige-footer__content {
    text-align: center;
}

.prestige-footer__copyright {
    font-family: var(--prestige-font-body) !important;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--prestige-grey) !important;
}

/* ==========================================================================
   No Content State
   ========================================================================== */

.prestige-no-content {
    text-align: center;
    font-family: var(--prestige-font-body) !important;
    font-size: 1rem;
    font-weight: 300;
    color: var(--prestige-grey) !important;
    padding: 4rem 2rem;
}

/* ==========================================================================
   Comments Styling
   ========================================================================== */

.comments-area {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.comments-area .comments-title {
    font-family: var(--prestige-font-heading) !important;
    font-size: 1.6rem;
    color: var(--prestige-secondary) !important;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.comment-author {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-accent) !important;
}

.comment-content p {
    color: var(--prestige-secondary) !important;
}

.comment-respond .comment-reply-title {
    font-family: var(--prestige-font-heading) !important;
    color: var(--prestige-secondary) !important;
}

/* ==========================================================================
   Responsive - Template Styles
   ========================================================================== */

@media (max-width: 980px) {
    .prestige-menu-toggle {
        display: flex;
    }

    .prestige-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--prestige-primary-dark);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 10000;
        overflow-y: auto;
        border-left: 1px solid rgba(201, 168, 76, 0.1);
    }

    .prestige-nav--open {
        right: 0;
    }

    .prestige-nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .prestige-nav-menu .menu-item a {
        padding: 0.85rem 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.06);
    }

    .prestige-nav-menu .menu-item a::after {
        display: none;
    }

    .prestige-nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .prestige-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .prestige-hero__title {
        font-size: 3rem;
    }

    .prestige-single__title {
        font-size: 2.4rem;
    }

    .prestige-archive-header__title {
        font-size: 2.4rem;
    }

    .prestige-post-nav__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prestige-post-nav__next {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .prestige-header__inner {
        padding: 0 1.25rem;
        height: 65px;
    }

    .prestige-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prestige-hero {
        min-height: 90vh;
    }

    .prestige-hero__title {
        font-size: 2.2rem;
    }

    .prestige-hero__tagline {
        font-size: 1rem;
    }

    .prestige-publications {
        padding: 4rem 0;
    }

    .prestige-section-header {
        margin-bottom: 2.5rem;
    }

    .prestige-section-header__title {
        font-size: 2rem;
    }

    .prestige-archive-header {
        padding: 8rem 1.5rem 3rem;
    }

    .prestige-archive-header__title {
        font-size: 1.8rem;
    }

    .prestige-single__header {
        padding: 8rem 1.5rem 2rem;
    }

    .prestige-single__title {
        font-size: 1.8rem;
    }

    .prestige-single__featured {
        padding: 0 1.25rem;
    }

    .prestige-single__content {
        padding: 2rem 1.25rem 3rem;
    }

    .prestige-single__content-inner p {
        font-size: 1rem;
    }

    .prestige-card__body {
        padding: 1.25rem;
    }

    .prestige-card__title {
        font-size: 1.15rem;
    }

    .prestige-footer__inner {
        padding: 2rem 1.25rem;
    }
}
