/* ==========================================================================
   ao-blocks.css — Around OECTA Canonical Canvas & Article Stylesheet
   Phase 3 Writer Programme — Extracted from AO_CANVAS_CSS + section vocabulary.
   Shared across Admin Writer, Edition Designer, Member Story Reader & Print.
   ========================================================================== */

:root {
  --navy: #204164;
  --amber: #f39c12;
  --ink: #16222e;
  --muted: #5b6b7a;
  --s2: #f4f6f9;
  --s3: #e9eef4;
  --aod-navy: var(--oecta-navy, #204164);
  --aod-amber: var(--oecta-amber, #f39c12);
  --aod-ink: var(--oecta-ink, #16222e);
  --aod-muted: var(--oecta-text-muted, #5b6b7a);
  --aod-s2: var(--oecta-surface-low, #f4f6f9);
  --aod-s3: var(--oecta-surface-container, #e9eef4);
  --aod-font-body: Inter, system-ui, -apple-system, sans-serif;
  --aod-font-head: Manrope, Inter, sans-serif;
  --aod-font-serif: var(--aod-font-body);
  --aod-font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--aod-font-body);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   CANVAS CORE BLOCKS & TYPOGRAPHY (.aod-*)
   ========================================================================== */

.aod-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 20px;
}

.aod-h {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0 0 8px;
}

.aod-sub {
  font-family: var(--aod-font-serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.4;
}

.aod-p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1em;
}

.aod-p a {
  color: #3a608c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aod-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 10px 0;
}

.aod-btn {
  display: inline-block;
  background: var(--amber);
  color: #3a2600;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--aod-font-body);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.aod-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.aod-btn.navy {
  background: var(--navy);
  color: #ffffff;
}

.aod-btn-ghost-c {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  font-family: var(--aod-font-body);
  transition: background 0.15s ease, color 0.15s ease;
}

.aod-btn-ghost-c:hover {
  background: var(--navy);
  color: #ffffff;
}

.aod-btnrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.aod-cols {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.aod-col {
  flex: 1 1 240px;
  min-width: 0;
}

.aod-divider {
  height: 1px;
  background: var(--s3);
  border: 0;
  margin: 18px 0;
}

.aod-spacer {
  height: 32px;
}

.aod-card {
  background: var(--s2);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 10px 0;
}

.aod-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a608c;
  margin-bottom: 6px;
}

.aod-events {
  background: var(--s2);
  border: 1.5px dashed var(--s3);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.aod-h-xl {
  font-size: 2.6rem;
  line-height: 1.1;
}

.aod-hero {
  padding: 8px 0 4px;
}

.aod-quote {
  font-family: var(--aod-font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--amber);
  margin: 0;
  padding: 8px 0 8px 20px;
}

.aod-cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 10px;
}

.aod-stat {
  text-align: center;
  padding: 10px 0;
}

.aod-stat-num {
  font-family: var(--aod-font-head);
  font-weight: 800;
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
}

.aod-stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 6px;
}

.aod-signoff {
  margin-top: 10px;
}

.aod-video {
  position: relative;
  width: 100%;
  margin: 14px 0;
}

.aod-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: block;
  border: 0;
}

.aod-social {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.aod-social a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* Event Card — date badge + details + register button */
.aod-event {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--s3);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 10px 0;
}

.aod-event-date {
  flex: 0 0 auto;
  width: 62px;
  text-align: center;
  background: var(--navy);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 0;
  font-family: var(--aod-font-head);
}

.aod-event-mon {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.aod-event-day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.aod-event-body {
  flex: 1;
  min-width: 0;
}

.aod-event-title {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin: 0 0 3px;
}

.aod-event-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Callout / Alert — info (navy) · warning (amber) · success (green) */
.aod-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
  border-left: 4px solid var(--navy);
  background: var(--s2);
  color: var(--navy);
}

.aod-callout-ico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.aod-callout-body {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.aod-callout-body strong {
  color: var(--navy);
}

.aod-callout.warn {
  border-left-color: var(--amber);
  background: #fff7e9;
  color: #b9770e;
}

.aod-callout.ok {
  border-left-color: #2f9e6f;
  background: #eef8f3;
  color: #2f9e6f;
}

/* Image Carousel */
.aod-carousel-wrap {
  position: relative;
}

.aod-carousel {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 14px;
  margin: 10px 0;
}

.aod-carousel::-webkit-scrollbar {
  height: 8px;
}

.aod-carousel::-webkit-scrollbar-thumb {
  background: var(--s3);
  border-radius: 99px;
}

.aod-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}

.aod-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.aod-carousel-arrow {
  position: absolute;
  top: calc(50% - 9px);
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.20);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.aod-carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.aod-carousel-arrow.prev { left: 10px; }
.aod-carousel-arrow.next { right: 10px; }

.aod-carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.26);
}

.aod-carousel-arrow.is-off {
  opacity: 0;
  pointer-events: none;
}

.aod-carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  margin: -2px 0 12px;
  padding: 0;
}

.aod-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(32, 65, 100, 0.22);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.aod-dot:hover {
  background: rgba(32, 65, 100, 0.45);
}

.aod-dot.is-on {
  background: var(--navy);
  transform: scale(1.28);
}

.aod-carousel-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin: -6px 0 10px;
}

/* Full-width section band */
.aod-band {
  background: var(--navy);
  color: #ffffff;
  padding: 36px 20px;
  margin: 18px 0;
}

.aod-band.amber {
  background: var(--amber);
  color: #3a2600;
}

.aod-band.soft {
  background: var(--s2);
  color: var(--ink);
}

.aod-band-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.aod-band h2 {
  font-family: var(--aod-font-head);
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0 0 8px;
  color: inherit;
}

.aod-band p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 14px;
  color: inherit;
  opacity: 0.95;
}

/* People / Team Grid */
.aod-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 12px 0;
}

.aod-person {
  text-align: center;
}

.aod-person img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  background: var(--s3);
}

.aod-person-name {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
}

.aod-person-role {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Testimonial Card */
.aod-testi {
  background: var(--s2);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 12px 0;
}

.aod-testi-quote {
  font-family: var(--aod-font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 14px;
}

.aod-testi-by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aod-testi-by img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--s3);
}

.aod-testi-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.aod-testi-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Icon-Feature Row */
.aod-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 12px 0;
}

.aod-feature {
  text-align: center;
  padding: 6px;
}

.aod-feature-ico {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.aod-feature-title {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 4px;
}

.aod-feature-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Footer Block */
.aod-footer {
  background: var(--navy);
  color: #ffffff;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin: 18px 0;
}

.aod-footer .aod-footer-org {
  font-family: var(--aod-font-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.aod-footer a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
}

.aod-footer-small {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 10px;
}

/* Data Table — clean, no heavy borders (no-line rule) */
.aod-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}

.aod-table th {
  background: var(--navy);
  color: #ffffff;
  text-align: left;
  padding: 10px 14px;
  font-family: var(--aod-font-head);
  font-weight: 700;
}

.aod-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--s3);
  color: var(--ink);
}

.aod-table tr:nth-child(even) td {
  background: var(--s2);
}

/* Progress / Stat Bar */
.aod-progress {
  margin: 14px 0;
}

.aod-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.aod-progress-track {
  height: 12px;
  border-radius: 99px;
  background: var(--s3);
  overflow: hidden;
}

.aod-progress-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--navy), var(--amber));
  border-radius: 99px;
}

/* Inserted-Article Teaser Card — collapsible <details> */
.aod-imgcap {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 12px;
  text-align: center;
}

.aod-article {
  background: var(--s2);
  border-radius: 14px;
  margin: 12px 0;
  overflow: hidden;
}

.aod-article > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 46px 18px 20px;
  position: relative;
  outline: none;
}

.aod-article > summary::-webkit-details-marker {
  display: none;
}

.aod-article > summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--amber);
}

.aod-article .aod-article-title {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 2px 0 0;
}

.aod-article .aod-article-sub {
  font-family: var(--aod-font-serif);
  font-size: 1.02rem;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.4;
}

.aod-article .aod-article-toggle {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.55;
}

.aod-article[open] > summary .aod-article-toggle {
  transform: rotate(-135deg);
}

.aod-article .aod-article-body {
  padding: 2px 20px 20px;
}

/* ==========================================================================
   PREMIUM / ANIMATED LAYER
   ========================================================================== */

@keyframes aod-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes aod-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes aod-zoomin { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes aod-aurora { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes aod-shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(220%); } }
@keyframes aod-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes aod-pulse { 0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.55); } 70% { box-shadow: 0 0 0 16px rgba(243, 156, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); } }
@keyframes aod-kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }
@keyframes aod-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes aod-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes aod-draw { to { stroke-dashoffset: 0; } }
@keyframes aod-spin { to { transform: rotate(360deg); } }
@keyframes aod-confetti { 0% { transform: translateY(-10%) rotate(0); opacity: 1; } 100% { transform: translateY(720px) rotate(680deg); opacity: 0; } }
@keyframes aod-sheen { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.aod-anim-rise { animation: aod-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.aod-anim-fade { animation: aod-fade 1s ease both; }
.aod-anim-zoom { animation: aod-zoomin 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.aod-anim-float { animation: aod-float 4s ease-in-out infinite; }
.aod-in > * { animation: aod-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.aod-in > *:nth-child(1) { animation-delay: 0.05s; }
.aod-in > *:nth-child(2) { animation-delay: 0.15s; }
.aod-in > *:nth-child(3) { animation-delay: 0.25s; }
.aod-in > *:nth-child(4) { animation-delay: 0.35s; }
.aod-in > *:nth-child(5) { animation-delay: 0.45s; }
.aod-in > *:nth-child(6) { animation-delay: 0.55s; }
.aod-in > *:nth-child(7) { animation-delay: 0.65s; }
.aod-in > *:nth-child(8) { animation-delay: 0.75s; }

.aod-aurora {
  background: linear-gradient(120deg, #16314c, #204164, #3a608c, #204164, #b9770e);
  background-size: 300% 300%;
  animation: aod-aurora 14s ease infinite;
  color: #ffffff;
}

.aod-aurora .aod-h, .aod-aurora .aod-sub, .aod-aurora .aod-eyebrow { color: #ffffff; }
.aod-aurora .aod-eyebrow { color: var(--amber); }

.aod-shine {
  position: relative;
  overflow: hidden;
}

.aod-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%);
  animation: aod-shine 3.2s ease-in-out infinite;
}

.aod-pulse {
  animation: aod-pulse 2.2s ease-out infinite;
}

.aod-kb {
  overflow: hidden;
  border-radius: 14px;
}

.aod-kb img {
  width: 100%;
  display: block;
  animation: aod-kenburns 18s ease-in-out infinite alternate;
}

.aod-ticker {
  overflow: hidden;
  white-space: nowrap;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 0;
  border-radius: 10px;
}

.aod-ticker .aod-track {
  display: inline-flex;
  gap: 48px;
  padding-left: 48px;
  animation: aod-marquee 22s linear infinite;
}

.aod-ticker .aod-track:hover { animation-play-state: paused; }
.aod-ticker b { color: var(--amber); margin-right: 8px; }

.aod-grow {
  transform-origin: left;
  animation: aod-grow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.aod-ring-track { stroke: var(--s3); }
.aod-ring-val {
  stroke: var(--amber);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  animation: aod-draw 1.8s ease-out 0.3s forwards;
}

.aod-ring-num {
  font-family: var(--aod-font-head);
  font-weight: 800;
  fill: var(--navy);
}

.aod-countup {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--amber);
  font-size: 3.2rem;
  line-height: 1;
}

.aod-sheen {
  background: linear-gradient(90deg, var(--navy) 25%, var(--amber) 50%, var(--navy) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aod-sheen 4s linear infinite;
}

.aod-confetti { position: relative; height: 0; }
.aod-confetti-piece {
  position: absolute;
  top: 0;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  animation: aod-confetti 2.8s ease-in forwards;
}

.aod-divider-svg { display: block; width: 100%; height: 48px; }
.aod-divider-svg path { fill: currentColor; }

.aod-hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.aod-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(32, 65, 100, 0.16); }

.aod-hover-zoom { overflow: hidden; }
.aod-hover-zoom img { transition: transform 0.4s ease; }
.aod-hover-zoom:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .aod-anim-rise, .aod-anim-fade, .aod-anim-zoom, .aod-anim-float, .aod-in > *,
  .aod-aurora, .aod-shine::after, .aod-pulse, .aod-kb img, .aod-ticker .aod-track,
  .aod-grow, .aod-ring-val, .aod-sheen, .aod-confetti-piece, .aod-carousel {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .aod-in > * { opacity: 1 !important; transform: none !important; }
  .aod-ring-val { stroke-dashoffset: 0 !important; }
  .aod-carousel-arrow, .aod-dot { transition: none !important; }
}

/* ==========================================================================
   MEMBER ENGAGEMENT COMPONENTS
   ========================================================================== */

.aod-poll-card {
  background: var(--s2);
  border: 1.5px solid var(--s3);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 16px 0;
}

.aod-poll-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.aod-poll-q {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0 0 16px;
}

.aod-poll-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aod-poll-opt {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--s3);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
  overflow: hidden;
}

.aod-poll-opt:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.aod-poll-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(32, 65, 100, 0.12);
  border-radius: 8px;
  z-index: 0;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.aod-poll-opt-txt {
  position: relative;
  z-index: 1;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.aod-poll-opt-pct {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
}

.aod-poll-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aod-events-feed {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--s3);
  padding: 20px;
  margin: 16px 0;
}

.aod-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--s3);
}

.aod-feed-title {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0;
}

.aod-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aod-feed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--s2);
  transition: background 0.2s;
}

.aod-feed-item:hover { background: var(--s3); }

.aod-feed-date {
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 44px;
}

.aod-feed-mon {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aod-feed-day {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.aod-feed-info { flex: 1; min-width: 0; }
.aod-feed-ititle {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aod-feed-imeta { font-size: 0.8rem; color: var(--muted); }
.aod-feed-btn {
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.aod-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--s2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0;
}

.aod-doc-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aod-doc-info { flex: 1; min-width: 0; }
.aod-doc-title {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
  margin: 0 0 2px;
}

.aod-doc-desc { font-size: 0.85rem; color: var(--muted); margin: 0; }
.aod-doc-dl {
  background: #ffffff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.aod-doc-dl:hover { background: var(--navy); color: #ffffff; }

.aod-exec-letter {
  background: linear-gradient(180deg, var(--s2) 0%, #ffffff 100%);
  border-left: 4px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 26px 28px;
  margin: 18px 0;
}

.aod-exec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.aod-exec-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
}

.aod-exec-author {
  font-family: var(--aod-font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0;
}

.aod-exec-role { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.aod-exec-body {
  font-family: var(--aod-font-serif);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
}

.aod-exec-sign {
  font-family: var(--aod-font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}

.aod-custom-embed { margin: 14px 0; border-radius: 10px; overflow: hidden; }

/* Official OECTA Masthead Banner */
.aod-masthead-wrap {
  margin: 0 0 24px 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(32, 65, 100, 0.18);
  background: linear-gradient(135deg, #204164 0%, #18324f 50%, #0f2033 100%);
  color: #ffffff;
  padding: 36px 32px 32px;
  position: relative;
}

.aod-masthead-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(254, 165, 32, 0.25) 0%, rgba(243, 156, 18, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

.aod-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  gap: 20px;
  flex-wrap: wrap;
}

.aod-masthead-left { flex: 1; min-width: 280px; }
.aod-masthead-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.2px solid rgba(254, 165, 32, 0.5);
  margin-bottom: 14px;
}

.aod-masthead-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fea520;
  display: inline-block;
}

.aod-masthead-badge-txt {
  font-family: var(--aod-font-body);
  font-size: 11px;
  font-weight: 800;
  color: #fea520;
  letter-spacing: 1.5px;
}

.aod-masthead-meta {
  font-family: var(--aod-font-body);
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.aod-masthead-title {
  font-family: var(--aod-font-head);
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.aod-masthead-bar {
  width: 120px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f39c12, #fea520);
  margin-bottom: 16px;
}

.aod-masthead-tagline {
  font-family: var(--aod-font-serif);
  font-size: 24px;
  font-style: italic;
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.3;
}

.aod-masthead-crest-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.aod-masthead-crest-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(254, 165, 32, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.aod-masthead-crest-img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sponsored Advertisements */
.aod-ad-banner-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.aod-ad-badge-bar {
  background: #f8fafc;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.aod-ad-banner-img-wrap {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.aod-ad-banner-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.aod-ad-content {
  padding: 18px 22px;
  background: #ffffff;
}

.aod-ad-card-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 20px;
  align-items: center;
}

.aod-ad-french-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #fea520;
}

/* ==========================================================================
   PHASE 3 WRITER BASIC SECTION BLOCKS (.aod-sec[data-aos])
   Root: <article class="aod-article-body" data-aow-root>
   ========================================================================== */

.aod-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px;
  min-height: 320px;
  box-sizing: border-box;
}

.aod-sec {
  position: relative;
  margin: 0 0 1.25em 0;
}

.aod-sec:last-child {
  margin-bottom: 0;
}

/* 1. Heading section */
.aod-sec--heading .aod-h {
  margin-bottom: 4px;
}

/* 2. Text section */
.aod-sec--text .aod-p:last-child {
  margin-bottom: 0;
}

.aod-sec--text.aod-card {
  padding: 20px 22px;
}

/* 3. Image section */
.aod-sec--image .aod-img {
  margin: 0 auto;
}

/* 4. Image + Text */
.aod-sec--image-text {
  display: flex;
  gap: 22px;
  align-items: center;
}

.aod-sec--image-text.is-reversed {
  flex-direction: row-reverse;
}

.aod-sec--image-text .aod-col-img {
  flex: 0 0 42%;
  min-width: 180px;
}

.aod-sec--image-text .aod-col-txt {
  flex: 1 1 50%;
  min-width: 220px;
}

/* 5. Two / Three Columns */
.aod-sec--columns .aod-col {
  padding: 4px 0;
}

/* 6. Gallery */
.aod-sec--gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.aod-sec--gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.aod-sec--gallery img:hover {
  transform: scale(1.02);
}

/* 7. Video section */
.aod-sec--video iframe {
  box-shadow: 0 4px 20px rgba(32, 65, 100, 0.10);
}

/* 8. Table section */
.aod-sec--table {
  overflow-x: auto;
}

/* 9. Embed section */
.aod-sec--embed iframe {
  width: 100%;
  min-height: 380px;
  border-radius: 12px;
  border: 1px solid var(--s3);
  display: block;
}

/* 10. Callout section */
.aod-sec--callout {
  margin: 16px 0;
}

/* 11. Pull Quote section */
.aod-sec--quote {
  margin: 20px 0;
}

/* 12. CTA Buttons section */
.aod-sec--cta {
  margin: 20px 0;
}

/* 13. Resource Tile section */
.aod-sec--resource .aod-doc-card {
  margin: 8px 0;
}

/* 14. Event Card section */
.aod-sec--event .aod-event {
  margin: 8px 0;
}

/* 15. Divider section */
.aod-sec--divider .aod-divider {
  margin: 24px 0;
}

/* ==========================================================================
   RTE INLINE FORMATTING CLASSES (No inline style= attributes)
   ========================================================================== */

.aod-c-navy {
  color: var(--navy) !important;
}

.aod-c-ink {
  color: var(--ink) !important;
}

.aod-c-muted {
  color: var(--muted) !important;
}

mark, .aod-mark {
  background-color: rgba(243, 156, 18, 0.25);
  color: inherit;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* ==========================================================================
   LEGACY PROSE STYLES (.aom-modal-body & .aod-article-body legacy wrappers)
   ========================================================================== */

.aom-modal-body,
.aod-article-body.aod-legacy-prose {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink);
}

.aom-modal-body p,
.aod-article-body.aod-legacy-prose p {
  margin: 0 0 1.1em;
}

.aom-modal-body h1,
.aod-article-body.aod-legacy-prose h1 {
  font-family: var(--aod-font-head);
  font-size: 1.55rem;
  margin: 1.2em 0 0.4em;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
}

.aom-modal-body h2,
.aod-article-body h2,
.aod-article-body.aod-legacy-prose h2,
.aom-modal-body h3,
.aod-article-body h3,
.aod-article-body.aod-legacy-prose h3,
.aom-modal-body h4,
.aod-article-body h4,
.aod-article-body.aod-legacy-prose h4,
.aom-modal-body h5,
.aod-article-body h5,
.aom-modal-body h6,
.aod-article-body h6 {
  font-family: var(--aod-font-head);
  color: var(--navy);
  margin: 1.4em 0 0.4em;
  line-height: 1.25;
  font-weight: 700;
}

.aom-modal-body pre,
.aod-article-body.aod-legacy-prose pre {
  font-family: var(--aod-font-mono);
  font-size: 0.86rem;
  background: var(--s2);
  border-radius: 10px;
  padding: 12px 14px;
  overflow-x: auto;
  white-space: pre-wrap;
  margin: 1em 0;
}

.aom-modal-body s,
.aod-article-body.aod-legacy-prose s {
  opacity: 0.75;
}

.aom-modal-body a,
.aod-article-body.aod-legacy-prose a {
  color: #3a608c;
  font-weight: 600;
}

.aom-modal-body ul,
.aod-article-body ul,
.aod-article-body.aod-legacy-prose ul,
.aom-modal-body ol,
.aod-article-body ol,
.aod-article-body.aod-legacy-prose ol,
.aod-ul,
.aod-ol {
  margin: 0.4em 0 1em;
  padding-left: 1.4em;
}

.aom-modal-body li,
.aod-article-body li,
.aod-article-body.aod-legacy-prose li,
.aod-ul li,
.aod-ol li {
  margin: 0.35em 0;
}

.aom-modal-body figure,
.aod-article-body.aod-legacy-prose figure {
  margin: 1.2em 0;
}

.aom-modal-body img,
.aod-article-body.aod-legacy-prose img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

.aom-modal-body figcaption,
.aod-article-body.aod-legacy-prose figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

.aom-modal-body blockquote,
.aod-article-body.aod-legacy-prose blockquote {
  border-left: 4px solid var(--amber);
  margin: 1.3em 0;
  padding: 0.4em 0 0.4em 18px;
  color: var(--muted);
  background: var(--s2);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* ==========================================================================
   MOBILE & RESPONSIVE BREAKPOINTS (<= 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .aod-section,
  .aod-article-body {
    padding: 16px 14px;
  }

  .aod-h {
    font-size: 1.55rem;
  }

  .aod-h-xl {
    font-size: 2rem;
  }

  .aod-cols {
    flex-direction: column;
    gap: 14px;
  }

  .aod-sec--image-text,
  .aod-sec--image-text.is-reversed {
    flex-direction: column;
  }

  .aod-sec--image-text .aod-col-img,
  .aod-sec--image-text .aod-col-txt {
    flex: 1 1 100%;
    width: 100%;
  }

  .aod-sec--gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .aod-sec--gallery img {
    height: 130px;
  }

  .aod-masthead-title {
    font-size: 32px;
  }

  .aod-masthead-tagline {
    font-size: 18px;
  }

  .aod-masthead-wrap {
    padding: 24px 20px 20px;
  }
}
