/* =========================
   SIDRI ADDITIONAL CSS — .COM
   V60 C137 | sidriinternational.com
   WP Admin -> Appearance -> Additional CSS
   ========================= */

/* BRAND PALETTE — .COM (locked V60 C109 — never change)
   Primary:  #112d60  Ink Blue
   Gold:     #BF9530  Antique Gold
   Gray:     #6B7280  Steel Gray
   Green:    #16A34A  CTA Green
   Blue2:    #1e4e8c  Blue Tint
   Gold2:    #c4922a  Gold Tint
   ======================================== */

/* 1. BREADCRUMBS  (Elementor CSS class: sidri-breadcrumbs) */
.sidri-breadcrumbs,
.sidri-breadcrumbs * {
  font-size: 14px !important;
}
.sidri-breadcrumbs a {
  color: #112d60 !important; /* .COM primary — Ink Blue */
  text-decoration: none;
}
.sidri-breadcrumbs a:hover,
.sidri-breadcrumbs a:focus {
  text-decoration: underline;
}

/* 2. TOP BYLINE ROW  (Elementor CSS class: sidri-byline)
   Apply to the outer Section wrapping all byline widgets */
.sidri-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 16px;
}

/* 3. BOTTOM BIO ROW  (Elementor CSS class: sidri-bio)
   Apply to the outer Section wrapping both author cards */
.sidri-bio {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  margin-top: 32px;
}

/* 4. PERFECT CIRCLE AVATARS
   sidri-byline__avatar — apply to the IMAGE WIDGET (not section)  80x80 top
   sidri-bio__avatar    — apply to the IMAGE WIDGET (not section) 150x150 bottom */
.elementor-widget-image.sidri-byline__avatar,
.sidri-byline__avatar {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  flex: 0 0 80px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block !important;
}
.elementor-widget-image.sidri-bio__avatar,
.sidri-bio__avatar {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  min-height: 150px !important;
  flex: 0 0 150px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block !important;
}
.sidri-byline__avatar .elementor-widget-container,
.sidri-byline__avatar figure,
.sidri-bio__avatar .elementor-widget-container,
.sidri-bio__avatar figure {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  line-height: 0 !important;
}
.sidri-byline__avatar img,
.sidri-bio__avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
}

/* Mobile avatar sizes */
@media (max-width: 767px) {
  .sidri-byline {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 12px;
    font-size: 12px;
  }
  .elementor-widget-image.sidri-byline__avatar,
  .sidri-byline__avatar {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    flex: 0 0 64px !important;
  }
  .sidri-bio { gap: 14px; }
  .elementor-widget-image.sidri-bio__avatar,
  .sidri-bio__avatar {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    flex: 0 0 96px !important;
  }
}

/* 5. VERIFY LINKS in byline  (Elementor CSS class: sidri-byline-links) */
.sidri-byline-links a {
  color: #112d60 !important;
  text-decoration: none;
  font-size: 12px;
}
.sidri-byline-links a:hover,
.sidri-byline-links a:focus {
  text-decoration: underline;
}

/* 6. TLDR ANSWER BOX  (Elementor CSS class: tldr-box)
   V60 speakable target #1. Apply to the OUTER SECTION/CONTAINER.
   Placed immediately after the byline row, before Introduction.
   Must be above the fold on mobile — test in Elementor mobile preview. */
.tldr-box {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 18px 22px;
  display: block;
  width: 100%;
  background-color: #f8f6ef;
  border-left: 4px solid #BF9530; /* Antique Gold — .COM brand */
  border-radius: 0 6px 6px 0;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .tldr-box {
    margin-bottom: 16px;
    padding: 14px 16px;
  }
}

/* 7. H2-1 AIO OPENING PARAGRAPH  (Elementor CSS class: h2-1-opening)
   V60 speakable target #2. Apply to OUTER CONTAINER of first paragraph under H2-1.
   No visual treatment — schema-only signal. margin-top:0 prevents theme gap. */
.h2-1-opening {
  display: block;
  width: 100%;
  margin-top: 0;
}

/* 8. FINAL CTA BLOCK  (Elementor CSS class: sidri-final-cta)
   Button: sidri-final-cta__btn */
.sidri-final-cta {
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin: 60px 0;
}
@media (max-width: 767px) {
  .sidri-final-cta {
    padding: 24px 16px;
    margin: 40px 0;
  }
}
.sidri-final-cta__btn .elementor-button {
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sidri-final-cta__btn .elementor-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* 9. TWO-COLUMN TABLES  (Elementor CSS class: sidri-two-col-table)
   V60 HR 15: exactly 2 columns, mobile-friendly, no horizontal scroll. */
.sidri-two-col-table table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
}
.sidri-two-col-table table,
.sidri-two-col-table thead,
.sidri-two-col-table tbody,
.sidri-two-col-table tr,
.sidri-two-col-table th,
.sidri-two-col-table td {
  box-sizing: border-box;
}
/* Kill Word-paste fixed widths */
.sidri-two-col-table table[style],
.sidri-two-col-table th[style],
.sidri-two-col-table td[style],
.sidri-two-col-table col[style] {
  width: auto !important;
  max-width: 100% !important;
}
.sidri-two-col-table th,
.sidri-two-col-table td {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  padding: 10px 12px;
  vertical-align: top;
}
.sidri-two-col-table th {
  background-color: #112d60;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}
.sidri-two-col-table tbody tr:nth-child(even) td {
  background-color: #f3f4f6;
}
/* Mobile: stack rows */
@media (max-width: 767px) {
  .sidri-two-col-table thead { display: none; }
  .sidri-two-col-table tr { display: block; width: 100%; margin-bottom: 8px; }
  .sidri-two-col-table td,
  .sidri-two-col-table th { display: block; width: 100% !important; }
  .sidri-two-col-table td:first-child,
  .sidri-two-col-table th:first-child {
    font-weight: 700;
    background-color: #e8edf5;
    color: #112d60;
  }
}

/* 10. RED FLAG BOX  (Elementor CSS class: sidri-red-flag)
   V60 mandatory: never contains Sidri-treated conditions.
   Apply to the OUTER SECTION containing the Red Flag heading + bullets. */
.sidri-red-flag {
  border: 1.5px solid #dc2626;
  border-left: 5px solid #dc2626;
  border-radius: 6px;
  background-color: #fff5f5;
  padding: 18px 22px;
  margin: 32px 0;
}
.sidri-red-flag h3 {
  color: #991b1b !important;
  margin-top: 0 !important;
  font-size: 17px !important;
}
.sidri-red-flag ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.sidri-red-flag li {
  color: #7f1d1d;
  margin-bottom: 6px;
  font-size: 15px;
}
@media (max-width: 767px) {
  .sidri-red-flag { padding: 14px 16px; }
}

/* 11. MEDICAL DISCLAIMER  (Elementor CSS class: sidri-disclaimer)
   Global widget — bottom of page only. */
.sidri-disclaimer {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
  margin-top: 32px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* 12. DATES ROW  (Elementor CSS class: sidri-dates)
   Dynamic Post Info widgets row — published, modified, reading time. */
.sidri-dates {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
