/*
Theme Name: SOGA Sovereign
Theme URI: https://soga-enterprises.com
Author: SOGA Enterprises L.L.C-FZ
Author URI: https://soga-enterprises.com
Description: Institutional Physical Commodities Trading & Advisory Theme for SOGA Enterprises Dubai. Bespoke, feather-light, zero-Elementor architecture.
Version: 1.2.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: soga-sovereign
*/

/* ==========================================================================
   WORDPRESS THEME (SOLACE) OVERRIDES & FULL-WIDTH RESETS
   ========================================================================== */
/* 1. ERADICATE SOLACE THEME DUPLICATE HEADER, SEPARATE MENU, ENTRY TITLE, & FOOTER */
#masthead, 
header.site-header, 
header.solace-header, 
.site-header, 
#site-header,
.site-branding,
#site-navigation,
.main-navigation,
.navbar,
.entry-header, 
.page-header, 
header.entry-header,
h1.entry-title,
.entry-title,
#colophon, 
footer.site-footer, 
footer.solace-footer, 
.site-footer, 
#site-footer,
.footer-widgets,
.site-info {
    display: none !important;
}

/* 2. BREAK OUT OF SOLACE THEME CONTAINERS TO 100% FULL VIEWPORT WIDTH */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #FAF7F2 !important;
    color: #161413 !important;
    font-family: 'Newsreader', Georgia, serif !important;
    line-height: 1.75 !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}
#page, 
.site, 
#content, 
.site-content, 
#primary, 
.content-area, 
#main, 
.site-main, 
article, 
.entry-content, 
.post-inner,
.solace-container,
.container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. ARCHITECTURAL HEADER & MENU (IMMUNE TO THEME UL / LI STYLES) */
.sov-nav-wrapper {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(250, 247, 242, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid #E5DDD0 !important;
    width: 100% !important;
    box-shadow: 0 1px 12px rgba(22, 20, 19, 0.03) !important;
}
.sov-nav-inner {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    height: 84px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.sov-brand {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    text-decoration: none !important;
}
.sov-brand img {
    height: 40px !important;
    width: auto !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    filter: contrast(1.05) !important;
}
.sov-brand-text {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    color: #161413 !important;
    display: block !important;
    line-height: 1.2 !important;
}
.sov-brand-sub {
    display: block !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.2em !important;
    color: #9E7D3B !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

/* CRITICAL OVERRIDE: Neutralize theme list styling and force horizontal flex navigation */
.entry-content ul.sov-nav-links,
ul.sov-nav-links,
.sov-nav-wrapper ul,
.sov-nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 36px !important;
}
.entry-content ul.sov-nav-links li,
ul.sov-nav-links li,
.sov-nav-wrapper li,
.sov-nav-links li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}
.entry-content ul.sov-nav-links li::before,
ul.sov-nav-links li::before,
.entry-content ul.sov-nav-links li::marker,
ul.sov-nav-links li::marker {
    display: none !important;
    content: none !important;
}
.sov-nav-links a {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #4A443C !important;
    text-decoration: none !important;
    position: relative !important;
    padding: 6px 0 !important;
    transition: color 0.2s !important;
}
.sov-nav-links a.active, .sov-nav-links a:hover {
    color: #C5A059 !important;
}
.sov-nav-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0% !important;
    height: 1px !important;
    background: #C5A059 !important;
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.sov-nav-links a.active::after, .sov-nav-links a:hover::after {
    width: 100% !important;
}

.sov-cta-btn {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #161413 !important;
    text-decoration: none !important;
    padding: 10px 22px !important;
    border: 1px solid #161413 !important;
    border-radius: 0 !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
    display: inline-block !important;
}
.sov-cta-btn:hover {
    background: #161413 !important;
    color: #FAF7F2 !important;
}

/* 4. CONTAINER & HERO */
.sov-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
}
.sov-hero-block {
    padding: 100px 0 50px 0 !important;
    border-bottom: 1px solid #E5DDD0 !important;
}
.sov-location-label {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    color: #9E7D3B !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.sov-location-label::before {
    content: '' !important;
    display: inline-block !important;
    width: 24px !important;
    height: 1px !important;
    background: #9E7D3B !important;
}
.sov-title-hero {
    font-family: 'Italiana', Georgia, serif !important;
    font-size: 5rem !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: #161413 !important;
    margin: 0 0 20px 0 !important;
}
.sov-tagline {
    font-family: 'Newsreader', Georgia, serif !important;
    font-size: 1.45rem !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #8C6D37 !important;
    margin: 0 0 28px 0 !important;
    line-height: 1.4 !important;
}
.sov-lead-text {
    font-family: 'Newsreader', serif !important;
    font-size: 1.25rem !important;
    line-height: 1.85 !important;
    color: #3D372F !important;
    max-width: 980px !important;
    margin: 0 0 35px 0 !important;
}

/* 5. GALLERIES IMMUNE TO THEME CSS OVERRIDES */
.entry-content .sov-showcase-gallery,
.sov-showcase-gallery {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    margin: 50px 0 70px 0 !important;
}
.entry-content .sov-showcase-item,
.sov-showcase-item {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
}
.entry-content .sov-showcase-item img,
.sov-showcase-item img {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    filter: brightness(0.97) contrast(1.04) sepia(0.06) !important;
}

.entry-content .sov-sector-gallery,
.sov-sector-gallery {
    display: grid !important;
    gap: 14px !important;
    margin: 30px 0 45px 0 !important;
}
.entry-content .sov-gallery-5,
.sov-gallery-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}
.entry-content .sov-gallery-6,
.sov-gallery-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}
.entry-content .sov-gallery-2,
.sov-gallery-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
.entry-content .sov-gallery-item img,
.sov-gallery-item img {
    width: 100% !important;
    height: 190px !important;
    max-height: 190px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    filter: brightness(0.97) contrast(1.04) sepia(0.06) !important;
}
.entry-content .sov-gallery-2 .sov-gallery-item img,
.sov-gallery-2 .sov-gallery-item img {
    height: 320px !important;
    max-height: 320px !important;
}

/* 6. COMMODITY SECTOR DIRECTORY & EXCLUSIVE ACCORDIONS */
.sov-dir-section {
    padding: 80px 0 !important;
    border-bottom: 1px solid #E5DDD0 !important;
}
.sov-dir-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    border-bottom: 1px solid #161413 !important;
    padding-bottom: 20px !important;
    margin-bottom: 35px !important;
}
.sov-dir-title {
    font-family: 'Italiana', serif !important;
    font-size: 2.6rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    color: #161413 !important;
}
.sov-dir-count {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #9E7D3B !important;
    font-weight: 600 !important;
}
.sov-accordion-item {
    border-top: 1px solid #E5DDD0 !important;
    transition: background 0.2s !important;
}
.sov-accordion-item:last-child {
    border-bottom: 1px solid #E5DDD0 !important;
}
.sov-accordion-summary {
    padding: 24px 0 !important;
    cursor: pointer !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    user-select: none !important;
}
.sov-accordion-summary::-webkit-details-marker { display: none !important; }
.sov-acc-left {
    display: flex !important;
    align-items: baseline !important;
    gap: 32px !important;
}
.sov-acc-num {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: #9E7D3B !important;
}
.sov-acc-title {
    font-family: 'Italiana', serif !important;
    font-size: 2.2rem !important;
    font-weight: 400 !important;
    color: #161413 !important;
    margin: 0 !important;
}
.sov-acc-icon {
    font-family: 'Newsreader', serif !important;
    font-size: 1.8rem !important;
    color: #9E7D3B !important;
    transition: transform 0.3s ease !important;
}
.sov-accordion-item[open] .sov-acc-icon {
    transform: rotate(45deg) !important;
}
.sov-accordion-body {
    padding: 0 0 32px 64px !important;
    font-size: 1.15rem !important;
    color: #5C5549 !important;
    line-height: 1.85 !important;
    max-width: 900px !important;
}
.sov-acc-jump {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 14px !important;
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #C5A059 !important;
    text-decoration: none !important;
}
.sov-acc-jump:hover {
    color: #161413 !important;
}

/* 7. ARCHITECTURAL COMMODITY LEDGER (FORCE 2-COLUMN GRID) */
.sov-sector-section {
    padding: 90px 0 70px 0 !important;
    border-bottom: 1px solid #E5DDD0 !important;
}
.sov-sector-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    border-bottom: 2px solid #161413 !important;
    padding-bottom: 20px !important;
    margin-bottom: 30px !important;
}
.sov-sector-h2 {
    font-family: 'Italiana', serif !important;
    font-size: 3.4rem !important;
    font-weight: 400 !important;
    color: #161413 !important;
    margin: 0 0 10px 0 !important;
}
.sov-sector-desc {
    font-size: 1.15rem !important;
    color: #5C5549 !important;
    line-height: 1.8 !important;
    max-width: 880px !important;
    margin: 0 !important;
}
.entry-content .sov-ledger-grid,
.sov-ledger-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 60px !important;
    row-gap: 24px !important;
    margin-bottom: 35px !important;
}
.entry-content .sov-ledger-row,
.sov-ledger-row {
    border-bottom: 1px solid #EAE3D6 !important;
    padding-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}
.sov-item-title {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #161413 !important;
    margin: 0 0 6px 0 !important;
}
.sov-item-desc {
    font-family: 'Newsreader', serif !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #5C5549 !important;
    margin: 0 !important;
}
.sov-return-wrap {
    text-align: right !important;
    padding-top: 15px !important;
}
.sov-return-btn {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    color: #9E7D3B !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.2s !important;
}
.sov-return-btn:hover {
    color: #161413 !important;
}

/* 8. SPLIT ROWS IN HOME & ADVISORY */
.entry-content .sov-split-row,
.sov-split-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    padding: 80px 0 !important;
    border-bottom: 1px solid #E5DDD0 !important;
}
.entry-content .sov-split-row.reverse,
.sov-split-row.reverse {
    direction: rtl !important;
}
.entry-content .sov-split-row.reverse > *,
.sov-split-row.reverse > * {
    direction: ltr !important;
}
.sov-split-content h3 {
    font-family: 'Italiana', serif !important;
    font-size: 2.8rem !important;
    color: #161413 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.15 !important;
}
.sov-split-content p {
    font-size: 1.15rem !important;
    color: #4A443C !important;
    line-height: 1.85 !important;
    margin: 0 0 20px 0 !important;
}
.sov-arch-img {
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    filter: brightness(0.97) contrast(1.04) sepia(0.06) !important;
}

/* 9. CONTACT SECTION & CHANNELS (ZERO THEME BULLETS) */
.sov-contact-section {
    padding: 90px 0 !important;
    border-bottom: 1px solid #E5DDD0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
}
.sov-contact-info h3 {
    font-family: 'Italiana', serif !important;
    font-size: 2.8rem !important;
    margin: 0 0 16px 0 !important;
    color: #161413 !important;
}
.entry-content ul.sov-contact-channels,
ul.sov-contact-channels,
.sov-contact-channels {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 24px 0 0 0 !important;
}
.entry-content ul.sov-contact-channels li,
ul.sov-contact-channels li,
.sov-contact-channels li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}
.entry-content ul.sov-contact-channels li::before,
ul.sov-contact-channels li::before,
.entry-content ul.sov-contact-channels li::marker,
ul.sov-contact-channels li::marker {
    display: none !important;
    content: none !important;
}
.sov-contact-channels a {
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #161413 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: color 0.2s !important;
}
.sov-contact-channels a:hover {
    color: #C5A059 !important;
}
.sov-icon-svg {
    width: 18px !important;
    height: 18px !important;
    fill: #C5A059 !important;
    flex-shrink: 0 !important;
}

/* 10. COLOPHON & FOOTER LEGAL */
.sov-colophon {
    padding: 70px 0 50px 0 !important;
    font-family: 'Inter Tight', sans-serif !important;
    font-size: 0.85rem !important;
    color: #7A7265 !important;
    line-height: 1.85 !important;
}
.sov-disclaimer-text {
    max-width: 960px !important;
    margin: 0 0 35px 0 !important;
    color: #5C5549 !important;
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
}
.sov-disclaimer-text strong {
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.8rem !important;
    color: #161413 !important;
    margin-bottom: 8px !important;
}
.sov-footer-legal-bar {
    border-top: 1px solid #E5DDD0 !important;
    padding-top: 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}
.sov-legal-links {
    display: flex !important;
    gap: 24px !important;
}
.sov-legal-links a {
    color: #7A7265 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.sov-legal-links a:hover {
    color: #161413 !important;
}

/* 11. RESPONSIVE REFLOW (390PX VIEWPORTS) */
@media (max-width: 768px) {
    .sov-nav-inner { padding: 0 20px !important; height: 72px !important; }
    .sov-container { padding: 0 20px !important; }
    .entry-content ul.sov-nav-links,
    ul.sov-nav-links,
    .sov-nav-links { display: none !important; }
    .sov-title-hero { font-size: 2.75rem !important; }
    .sov-tagline { font-size: 1.15rem !important; }
    .sov-hero-block { padding: 60px 0 40px 0 !important; }
    .entry-content .sov-showcase-gallery,
    .sov-showcase-gallery { grid-template-columns: repeat(2, 1fr) !important; }
    .entry-content .sov-showcase-item img,
    .sov-showcase-item img { height: 180px !important; max-height: 180px !important; }
    .entry-content .sov-gallery-5, 
    .entry-content .sov-gallery-6, 
    .entry-content .sov-gallery-2,
    .sov-gallery-5, 
    .sov-gallery-6, 
    .sov-gallery-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .sov-accordion-body { padding-left: 0 !important; }
    .entry-content .sov-ledger-grid,
    .sov-ledger-grid { grid-template-columns: 1fr !important; }
    .entry-content .sov-split-row,
    .sov-split-row { grid-template-columns: 1fr !important; padding: 50px 0 !important; gap: 30px !important; }
    .sov-contact-section { grid-template-columns: 1fr !important; gap: 40px !important; padding: 60px 0 !important; }
    .sov-footer-legal-bar { flex-direction: column !important; align-items: flex-start !important; }
}


/* ==========================================================================
   ADVISORY ACCORDION & LAYOUT STYLES
   ========================================================================== */
.sov-advisory-accordion-list {
  display: flex !important;
  flex-direction: column !important;
}
.sov-advisory-accordion-item {
  border-top: 1px solid #E5DDD0 !important;
  transition: background 0.2s ease !important;
}
.sov-advisory-accordion-item:last-child {
  border-bottom: 1px solid #E5DDD0 !important;
}
.sov-advisory-accordion-summary {
  padding: 24px 0 !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  user-select: none !important;
}
.sov-advisory-accordion-summary::-webkit-details-marker {
  display: none !important;
}
.sov-adv-title {
  font-family: 'Italiana', Georgia, serif !important;
  font-size: 1.85rem !important;
  font-weight: 400 !important;
  color: #161413 !important;
  margin: 0 !important;
}
.sov-adv-icon {
  font-family: 'Newsreader', serif !important;
  font-size: 1.8rem !important;
  color: #9E7D3B !important;
  transition: transform 0.3s ease !important;
}
.sov-advisory-accordion-item[open] .sov-adv-icon {
  transform: rotate(45deg) !important;
}
.sov-advisory-accordion-body {
  padding: 0 0 28px 0 !important;
  font-size: 1.15rem !important;
  color: #5C5549 !important;
  line-height: 1.85 !important;
  max-width: 900px !important;
}

/* ==========================================================================
   SMOOTH SCROLLING & STICKY HEADER OFFSET FOR ANCHORS
   ========================================================================== */
html {
  scroll-behavior: smooth !important;
}

.sov-sector-section,
.sov-dir-section,
.sov-hero-block,
.sov-contact-section,
#top,
#directory,
#Energy_Anchor,
#Agri_Anchor,
#Metals_Anchor,
#Chemicals_Anchor,
#Poly_Anchor,
#Construct_Anchor,
#contact {
  scroll-margin-top: 100px !important;
}


