/*
Theme Name:  Isabellabrusati Child
Theme URI:   https://isabellabrusati.com
Description: Child theme for isabellabrusati.com — Change Strategy Architect & Executive Coach
Author:      Isabella Brusati
Author URI:  https://isabellabrusati.com
Template:    Divi
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isabellabrusati-child
*/

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  /* Colours */
  --ib-oxford-blue:  #002147;
  --ib-yale-blue:    #0F4D92;
  --ib-pacific-blue: #1CA9C9;
  --ib-gold:         #C9A84C;
  --ib-cream:        #F5F0E8;

  /* Divi accent overrides */
  --et_accent_color:     #1CA9C9;   /* Pacific Blue */
  --et_hover_accent_color: #0F4D92; /* Yale Blue    */

  /* Typography */
  --ib-font-heading: 'Cormorant Garamond', Georgia, serif;
  --ib-font-body:    'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing rhythm */
  --ib-spacing-xs:  0.5rem;
  --ib-spacing-sm:  1rem;
  --ib-spacing-md:  2rem;
  --ib-spacing-lg:  4rem;
  --ib-spacing-xl:  8rem;
}

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
body,
.et_pb_text,
.et_pb_blurb_description,
p {
  font-family: var(--ib-font-body);
  font-weight: 400;
  color: var(--ib-oxford-blue);
  font-size: 1.1rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6,
.et_pb_title_container h1,
.entry-title,
.et_pb_slide_title,
.et_pb_blurb_title,
.et_pb_testimonial_author,
.et_pb_toggle_title {
  font-family: var(--ib-font-heading);
  font-weight: 500;
  color: var(--ib-oxford-blue);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem);   }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem);   }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem;   }

/* ============================================================
   GLOBAL BACKGROUND & SURFACE
   ============================================================ */
body,
#page-container {
  background-color: var(--ib-cream);
}

/* ============================================================
   LINKS
   ============================================================ */
a,
.et_pb_text a {
  color: var(--ib-pacific-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
.et_pb_text a:hover {
  color: var(--ib-yale-blue);
}

/* ============================================================
   DIVI HEADER
   ============================================================ */
#main-header,
#main-header .et-fixed-header {
  background-color: var(--ib-oxford-blue) !important;
}

#main-header .et_pb_row,
#et-top-navigation {
  background-color: transparent;
}

/* Text logo */
#ib-text-logo {
  font-family: var(--ib-font-heading);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--ib-cream) !important;
  text-decoration: none !important;
  letter-spacing: .04em;
  line-height: 1;
  display: inline-block;
}

#ib-text-logo:hover {
  color: var(--ib-gold) !important;
  transition: color 0.2s ease;
}

/* Nav links */
#top-menu a,
#top-menu li a {
  font-family: var(--ib-font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ib-cream) !important;
  transition: color 0.2s ease;
}

#top-menu a:hover,
#top-menu .current-menu-item > a {
  color: var(--ib-gold) !important;
}

/* Mobile menu */
#et_mobile_nav_menu .mobile_menu_bar:before {
  color: var(--ib-cream);
}

/* ============================================================
   DIVI BUTTONS
   ============================================================ */
.et_pb_button,
.et_pb_more_button,
a.et_pb_button {
  font-family: var(--ib-font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Primary button: Gold fill, Oxford Blue text */
.et_pb_button_one,
.et_pb_promo_button,
.et_pb_more_button,
.et_pb_button {
  background-color: var(--ib-gold) !important;
  border-color: var(--ib-gold) !important;
  color: var(--ib-oxford-blue) !important;
}

.et_pb_button:hover,
.et_pb_promo_button:hover,
.et_pb_more_button:hover {
  background-color: var(--ib-oxford-blue) !important;
  border-color: var(--ib-gold) !important;
  color: var(--ib-gold) !important;
}

/* Outlined / ghost variant — add CSS class "ib-btn-outline" in Divi builder */
.ib-btn-outline.et_pb_button {
  background-color: transparent !important;
  border-color: var(--ib-gold) !important;
  color: var(--ib-oxford-blue) !important;
}

.ib-btn-outline.et_pb_button:hover {
  background-color: var(--ib-gold) !important;
  color: var(--ib-oxford-blue) !important;
}

/* ============================================================
   DIVI SECTIONS & ROWS
   ============================================================ */
/* Dark section utility — add CSS class "ib-dark" */
.ib-dark {
  background-color: var(--ib-oxford-blue) !important;
}
.ib-dark,
.ib-dark h1,
.ib-dark h2,
.ib-dark h3,
.ib-dark h4,
.ib-dark p,
.ib-dark .et_pb_text {
  color: var(--ib-cream) !important;
}

/* Mid-tone section utility — add CSS class "ib-navy" */
.ib-navy {
  background-color: var(--ib-yale-blue) !important;
}
.ib-navy,
.ib-navy h1,
.ib-navy h2,
.ib-navy h3,
.ib-navy p {
  color: var(--ib-cream) !important;
}

/* Gold accent section — add CSS class "ib-gold-bg" */
.ib-gold-bg {
  background-color: var(--ib-gold) !important;
}
.ib-gold-bg,
.ib-gold-bg h1,
.ib-gold-bg h2,
.ib-gold-bg h3,
.ib-gold-bg p {
  color: var(--ib-oxford-blue) !important;
}

/* Cream section (default) — add CSS class "ib-cream" */
.ib-cream {
  background-color: var(--ib-cream) !important;
}

/* ============================================================
   DIVI DIVIDERS & ACCENTS
   ============================================================ */
.et_pb_divider_internal {
  border-top-color: var(--ib-gold);
}

/* ============================================================
   DIVI SLIDERS & FULLWIDTH HEADER
   ============================================================ */
.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead,
.et_pb_slider .et_pb_slide_description .et_pb_slide_content {
  font-family: var(--ib-font-body);
  color: var(--ib-cream);
}

.et_pb_slider .et_pb_slide_title {
  font-family: var(--ib-font-heading);
  color: #fff;
}

/* ============================================================
   DIVI BLURBS (icon boxes)
   ============================================================ */
.et_pb_blurb .et_pb_main_blurb_image .et-pb-icon,
.et_pb_blurb .et_pb_main_blurb_image svg {
  fill: var(--ib-pacific-blue);
  color: var(--ib-pacific-blue);
}

/* ============================================================
   DIVI TESTIMONIALS
   ============================================================ */
blockquote,
.et_pb_testimonial_description {
  font-family: var(--ib-font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ib-oxford-blue);
}

.et_pb_testimonial:before {
  color: var(--ib-gold);
}

/* ============================================================
   DIVI FORMS
   ============================================================ */
.et_pb_contact_field input,
.et_pb_contact_field textarea,
.et_pb_contact_field select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: var(--ib-font-body);
  background-color: #fff;
  border: 1px solid rgba(0, 33, 71, 0.2);
  border-radius: 0;
  color: var(--ib-oxford-blue);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.et_pb_contact_field input:focus,
.et_pb_contact_field textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--ib-pacific-blue);
  outline: none;
}

/* ============================================================
   DIVI FOOTER
   ============================================================ */
#footer-widgets,
#footer-bottom {
  background-color: var(--ib-oxford-blue);
  color: var(--ib-cream);
}

#footer-widgets h4,
#footer-widgets .widget-title {
  font-family: var(--ib-font-heading);
  color: var(--ib-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

#footer-widgets p,
#footer-widgets li,
#footer-widgets a {
  font-family: var(--ib-font-body);
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.9rem;
}

#footer-widgets a:hover {
  color: var(--ib-gold);
}

#footer-bottom-nav a,
#footer-info {
  font-family: var(--ib-font-body);
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.8rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Text colour helpers */
.ib-text-oxford  { color: var(--ib-oxford-blue)  !important; }
.ib-text-yale    { color: var(--ib-yale-blue)    !important; }
.ib-text-pacific { color: var(--ib-pacific-blue) !important; }
.ib-text-gold    { color: var(--ib-gold)         !important; }
.ib-text-cream   { color: var(--ib-cream)        !important; }

/* Decorative gold rule above headings — add to module */
.ib-ruled h2::before,
.ib-ruled h3::before {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background-color: var(--ib-gold);
  margin-bottom: 1rem;
}

/* Uppercase spaced label style */
.ib-label {
  font-family: var(--ib-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ib-gold);
}

/* ============================================================
   FRONT PAGE — HIDE SIDEBAR & WIDGET AREAS
   ============================================================ */

/* Main sidebar */
.home #sidebar,
.home .et_pb_widget_area_sidebar,
.home #left-area + #sidebar-container,
.home #sidebar-container {
  display: none !important;
}

/* Footer widget rows — hide entirely on front page */
.home #footer-widgets,
.home #footer-widgets .container,
.home .footer-widget,
.home .et_pb_footer_widgets {
  display: none !important;
}

/* Collapse any empty footer widget wrapper so it leaves no gap */
.home #footer-widgets:empty {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   FOOTER CREDIT — permanent global hide
   (belt-and-suspenders alongside the PHP option flag)
   ============================================================ */
#footer-info,
#footer-bottom #footer-info {
  display: none !important;
}

/* ============================================================
   ABOUT PAGE (ID 12) — LAYOUT FIXES
   All rules scoped to .page-id-12 — no other pages affected
   ============================================================ */

/* ── 1. HERO — force background, padding, visible text ──── */

.page-id-12 .et_pb_section:first-of-type {
  background-color: #002147 !important;
  padding-top:    120px !important;
  padding-bottom: 120px !important;
}

/* All text inside the hero must read on dark blue */
.page-id-12 .et_pb_section:first-of-type h1,
.page-id-12 .et_pb_section:first-of-type h2,
.page-id-12 .et_pb_section:first-of-type p,
.page-id-12 .et_pb_section:first-of-type .et_pb_text_inner {
  color: #F5F0E8 !important;
}

/* ── 2. PHOTO + BIO — flexbox row layout ────────────────── */

/* The Divi row containing photo + bio columns */
.page-id-12 .et_pb_column_2_5,
.page-id-12 .et_pb_column_3_5 {
  float: none !important;
  display: inline-block;
  vertical-align: middle;
}

/* Row wrapper: force flex, 80px padding */
.page-id-12 .et_pb_column_2_5 ~ .et_pb_column_3_5,
.page-id-12 .et_pb_row:has(.et_pb_column_2_5) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 60px !important;
  padding: 80px 0 !important;
}

.page-id-12 .et_pb_column_2_5 {
  flex: 0 0 35% !important;
  width: 35% !important;
  max-width: 35% !important;
}

.page-id-12 .et_pb_column_3_5 {
  flex: 1 1 65% !important;
  width: 65% !important;
  max-width: 65% !important;
}

/* Photo: remove circular crop, restore portrait rectangle */
.page-id-12 .et_pb_column_2_5 img {
  border-radius:    4px !important;
  border:           none !important;
  border-left:      4px solid #C9A84C !important;
  box-shadow:       none !important;
  width:            100% !important;
  height:           auto !important;
  max-width:        100% !important;
  object-fit:       cover !important;
  object-position:  center top !important;
  display:          block !important;
}

/* Remove the flex-centering wrapper that forces the square crop */
.page-id-12 .et_pb_column_2_5 .et_pb_text_inner > div {
  display:     block !important;
  min-height:  unset !important;
  height:      auto !important;
  align-items: unset !important;
}

/* ── 3. THREE WORK COLUMNS — side by side ───────────────── */

/* Target rows that contain 1/3-width columns on the about page */
.page-id-12 .et_pb_row .et_pb_column_1_3 {
  float:   none !important;
  display: inline-flex !important;
  flex-direction: column !important;
}

/* Parent row becomes a flex container */
.page-id-12 .et_pb_row:has(.et_pb_column_1_3) {
  display:         flex !important;
  flex-direction:  row !important;
  flex-wrap:       nowrap !important;
  align-items:     flex-start !important;
  gap:             40px !important;
}

.page-id-12 .et_pb_row:has(.et_pb_column_1_3) .et_pb_column_1_3 {
  flex:      0 0 calc(33.333% - 28px) !important;
  width:     calc(33.333% - 28px) !important;
  max-width: calc(33.333% - 28px) !important;
}

/* ── 4. ALL SECTIONS — comfortable padding ──────────────── */

.page-id-12 .et_pb_section {
  padding-left:  0 !important;
  padding-right: 0 !important;
}

/* Row containers: enforce consistent horizontal padding */
.page-id-12 .et_pb_row {
  width:        92% !important;
  max-width:    1280px !important;
  margin-left:  auto !important;
  margin-right: auto !important;
  padding-left:  0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Sections that don't have an explicit padding shortcode get 80px */
.page-id-12 .et_pb_section:not(:first-of-type) {
  padding-top:    80px !important;
  padding-bottom: 80px !important;
}

/* ── 5. RESPONSIVE — stack columns below 768px ──────────── */

@media (max-width: 768px) {
  .page-id-12 .et_pb_row:has(.et_pb_column_2_5),
  .page-id-12 .et_pb_row:has(.et_pb_column_1_3) {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .page-id-12 .et_pb_column_2_5,
  .page-id-12 .et_pb_column_3_5,
  .page-id-12 .et_pb_row:has(.et_pb_column_1_3) .et_pb_column_1_3 {
    flex:      1 1 100% !important;
    width:     100% !important;
    max-width: 100% !important;
  }

  .page-id-12 .et_pb_section:first-of-type {
    padding-top:    80px !important;
    padding-bottom: 80px !important;
  }
}

/* ============================================================
   ABOUT PAGE (ID 12) — COMPREHENSIVE VISUAL FIXES
   These rules supersede the layout block above where they overlap.
   ============================================================ */

/* ── Issue 1: Photo — hide watermark via overflow clip ──── */

.page-id-12 .et_pb_column_2_5 .et_pb_text_inner > div {
  overflow:   hidden !important;
  display:    block !important;
  min-height: unset !important;
  height:     auto !important;
}

/* ── Issue 2: Credentials Bar — force visible & horizontal ─ */

/* Oxford Blue background, 60px vertical padding */
.page-id-12 .et_pb_section:nth-child(3) {
  background-color: #002147 !important;
  padding-top:    60px !important;
  padding-bottom: 60px !important;
}

/* Force the 4-column row into a visible flex row */
.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:last-child {
  display:         flex !important;
  flex-direction:  row !important;
  flex-wrap:       nowrap !important;
  align-items:     stretch !important;
  justify-content: space-around !important;
  border-top:      1px solid rgba(201,168,76,.2);
}

.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:last-child .et_pb_column {
  flex:            1 1 25% !important;
  width:           25% !important;
  display:         flex !important;
  align-items:     center !important;
  justify-content: center !important;
}

/* Force Gold text for credential labels — overrides et_pb_bg_layout_dark #fff */
.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:last-child p,
.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:last-child .et_pb_text_inner {
  color:          #C9A84C !important;
  font-family:    'Barlow Condensed', sans-serif !important;
  font-weight:    600 !important;
  font-size:      1rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  text-align:     center !important;
}

/* Gold label row above the bar */
.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:first-child p,
.page-id-12 .et_pb_section:nth-child(3) .et_pb_row:first-child .et_pb_text_inner {
  color: #C9A84C !important;
}

/* ── Issue 3: Philosophy — Oxford Blue bg, Cream text, rules ── */

.page-id-12 .et_pb_section:nth-child(5) {
  background-color: #002147 !important;
  padding-top:    100px !important;
  padding-bottom: 100px !important;
}

/* Cream text — overrides et_pb_bg_layout_dark white */
.page-id-12 .et_pb_section:nth-child(5) h2,
.page-id-12 .et_pb_section:nth-child(5) p,
.page-id-12 .et_pb_section:nth-child(5) em,
.page-id-12 .et_pb_section:nth-child(5) .et_pb_text_inner,
.page-id-12 .et_pb_section:nth-child(5) .et_pb_bg_layout_dark,
.page-id-12 .et_pb_section:nth-child(5) .et_pb_bg_layout_dark h2,
.page-id-12 .et_pb_section:nth-child(5) .et_pb_bg_layout_dark p {
  color: #F5F0E8 !important;
}

/* Gold label stays gold */
.page-id-12 .et_pb_section:nth-child(5) .et_pb_text_inner > p:first-child {
  color: #C9A84C !important;
}

/* Gold horizontal rules between philosophy statements */
.page-id-12 .et_pb_section:nth-child(5) .et_pb_text_inner > div {
  background-color: rgba(201,168,76,.3) !important;
  height:           1px !important;
  display:          block !important;
  margin:           2.5rem 0 !important;
}

/* ── Issue 5: Badge containers — white bg, grey border ──── */

/* The badge strip is the 7th section (section before CTA) */
.page-id-12 .et_pb_section:nth-last-child(2) .et_pb_text_inner > div > div {
  background-color: #ffffff !important;
  border:           1px solid #e2ddd4 !important;
  padding:          15px !important;
  border-radius:    3px !important;
}

/* Flex wrapper: ensure single centered row */
.page-id-12 .et_pb_section:nth-last-child(2) .et_pb_text_inner > div {
  display:         flex !important;
  flex-wrap:       wrap !important;
  justify-content: center !important;
  align-items:     center !important;
  gap:             1.5rem !important;
}

/* ── Issue 6: CTA — Oxford Blue bg, Cream text ──────────── */

.page-id-12 .et_pb_section:last-of-type {
  background-color: #002147 !important;
  padding-top:    110px !important;
  padding-bottom: 110px !important;
}

.page-id-12 .et_pb_section:last-of-type h2,
.page-id-12 .et_pb_section:last-of-type p,
.page-id-12 .et_pb_section:last-of-type .et_pb_text_inner,
.page-id-12 .et_pb_section:last-of-type .et_pb_bg_layout_dark,
.page-id-12 .et_pb_section:last-of-type .et_pb_bg_layout_dark h2 {
  color: #F5F0E8 !important;
}

/* ── Issue 8: Any remaining dark-section contrast fixes ──── */

/* Cream bg sections: all text Oxford Blue */
.page-id-12 .et_pb_section:nth-child(2),
.page-id-12 .et_pb_section:nth-child(4),
.page-id-12 .et_pb_section:nth-child(6) {
  background-color: #F5F0E8 !important;
}

.page-id-12 .et_pb_section:nth-child(2) h2,
.page-id-12 .et_pb_section:nth-child(2) h3,
.page-id-12 .et_pb_section:nth-child(2) p,
.page-id-12 .et_pb_section:nth-child(4) h2,
.page-id-12 .et_pb_section:nth-child(4) h3,
.page-id-12 .et_pb_section:nth-child(4) p,
.page-id-12 .et_pb_section:nth-child(6) h2,
.page-id-12 .et_pb_section:nth-child(6) h3,
.page-id-12 .et_pb_section:nth-child(6) p {
  color: #002147 !important;
}

/* Badge strip (cream) */
.page-id-12 .et_pb_section:nth-child(7) {
  background-color: #F5F0E8 !important;
}

.page-id-12 .et_pb_section:nth-child(7) .ib-label,
.page-id-12 .et_pb_section:nth-child(7) p:first-child {
  color: #C9A84C !important;
}

/* ============================================================
   INSIGHTS BLOG — home.php / archive.php
   ============================================================ */

/* ── Outer wrap ──────────────────────────────────────────── */

.ib-blog-wrap {
  background-color: #F5F0E8;
}

.ib-blog-hero {
  background-color: #002147;
  width: 100%;
}

.ib-blog-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 80px 80px;
}

.ib-blog-hero__overline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C;
  margin: 0 0 20px;
}

.ib-blog-hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #F5F0E8;
  line-height: 1.05;
  margin: 0 0 24px;
}

.ib-blog-hero__sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

/* ── Two-column body layout ──────────────────────────────── */

.ib-blog-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 80px;
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
}

.ib-blog-main {
  flex: 0 0 67%;
  min-width: 0;
}

/* ── Post cards ──────────────────────────────────────────── */

.ib-post-card {
  background-color: #FFFFFF;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0, 33, 71, 0.07);
  overflow: hidden;
}

/* Featured image */
.ib-post-card__img-wrap {
  display: block;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
}

.ib-post-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ib-post-card__img-wrap:hover .ib-post-card__img {
  transform: scale(1.03);
}

/* Placeholder when no featured image */
.ib-post-card__placeholder {
  width: 100%;
  height: 220px;
  background-color: #002147;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-post-card__monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: #C9A84C;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

/* Card body */
.ib-post-card__body {
  padding: 28px 32px 32px;
}

.ib-post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ib-post-card__cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C;
  text-decoration: none;
}

.ib-post-card__cat:hover {
  text-decoration: underline;
}

.ib-post-card__date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 33, 71, 0.4);
}

.ib-post-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
}

.ib-post-card__title a {
  color: #002147;
  text-decoration: none;
}

.ib-post-card__title a:hover {
  color: #C9A84C;
}

.ib-post-card__excerpt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  color: rgba(0, 33, 71, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ib-post-card__read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #002147;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #C9A84C;
}

.ib-post-card__read-more:hover {
  color: #C9A84C;
}

/* ── Sidebar ─────────────────────────────────────────────── */

.ib-sidebar {
  flex: 0 0 30%;
  position: sticky;
  top: 100px;
  background-color: #F5F0E8;
  padding: 30px;
}

.ib-sidebar__widget {
  margin-bottom: 40px;
}

.ib-sidebar__widget:last-child {
  margin-bottom: 0;
}

.ib-sidebar__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A84C;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

/* Search */
.ib-sidebar__search-row {
  display: flex;
  border: 1px solid #002147;
  overflow: hidden;
}

.ib-sidebar__search-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: #002147;
  background: #fff;
  outline: none;
}

.ib-sidebar__search-input::placeholder {
  color: rgba(0, 33, 71, 0.35);
}

.ib-sidebar__search-btn {
  background: #002147;
  color: #C9A84C;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ib-sidebar__search-btn:hover {
  background: #C9A84C;
  color: #002147;
}

/* Categories */
.ib-sidebar__categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ib-sidebar__cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 33, 71, 0.08);
}

.ib-sidebar__cat-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #C9A84C;
  margin-right: 10px;
  flex-shrink: 0;
}

.ib-sidebar__cat-item a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #002147;
  text-decoration: none;
  flex: 1;
}

.ib-sidebar__cat-item a:hover {
  color: #C9A84C;
}

.ib-sidebar__cat-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: rgba(0, 33, 71, 0.4);
  margin-left: 8px;
}

/* Tags */
.ib-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ib-sidebar__tag {
  display: inline-block;
  background: #002147;
  color: #F5F0E8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ib-sidebar__tag:hover {
  background: transparent;
  color: #002147;
  border-color: #C9A84C;
}

/* Start Here / Featured post */
.ib-sidebar__widget--featured {
  border-top: 2px solid #C9A84C;
  padding-top: 24px;
}

.ib-sidebar__featured-link {
  display: block;
  text-decoration: none;
}

.ib-sidebar__featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #002147;
  line-height: 1.3;
  margin: 0 0 10px;
}

.ib-sidebar__featured-link:hover .ib-sidebar__featured-title {
  color: #C9A84C;
}

.ib-sidebar__featured-excerpt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: rgba(0, 33, 71, 0.65);
  line-height: 1.6;
  margin: 0 0 12px;
}

.ib-sidebar__featured-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A84C;
}

/* ── Pagination ──────────────────────────────────────────── */

.ib-blog-pagination {
  margin-top: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ib-blog-pagination .nav-links a,
.ib-blog-pagination .nav-links span {
  color: #002147;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(0, 33, 71, 0.2);
  margin-right: 6px;
  display: inline-block;
}

.ib-blog-pagination .nav-links a:hover,
.ib-blog-pagination .nav-links .current {
  background: #002147;
  color: #F5F0E8;
  border-color: #002147;
}

/* ── Empty state ─────────────────────────────────────────── */

.ib-blog-empty {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  color: rgba(0, 33, 71, 0.5);
  padding: 40px 0;
}

/* ── Legacy widget areas (kept for back-compat) ──────────── */

.ib-widget-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: #002147;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #C9A84C;
}

.ib-widget .tagcloud a {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #002147;
  border: 1px solid rgba(0, 33, 71, 0.25);
  padding: 4px 10px;
  margin: 3px 3px 3px 0;
  text-decoration: none;
}

.ib-widget .tagcloud a:hover {
  border-color: #C9A84C;
  color: #C9A84C;
}
