/* IF Digital Briefings */
.ifd-brf, .ifd-brf-index { max-width: 54rem; margin: 0 auto; }
.ifd-brf .ifd-eyebrow, .ifd-brf-index .ifd-eyebrow { display: block; font: 700 .72rem/1.4 Inter, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #1b7fa0; margin-bottom: .5rem; }
.ifd-brf h1, .ifd-brf-index h1 { font: 750 clamp(2rem, 4vw, 3rem)/1.08 Inter, Arial, sans-serif; letter-spacing: -.035em; margin: .2rem 0 1rem; color: var(--md-default-fg-color, #0c2035); }
.ifd-brf h2, .ifd-brf-index h2 { font: 700 1.45rem/1.25 Inter, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 .9rem; color: var(--md-default-fg-color, #0c2035); }
.ifd-brf h3, .ifd-brf-index h3 { font: 700 1.08rem/1.3 Inter, Arial, sans-serif; margin: 0 0 .5rem; color: var(--md-default-fg-color, #0c2035); }
.ifd-brf p, .ifd-brf li, .ifd-brf-index p { font-family: "Source Serif 4", Georgia, serif; font-size: 1.07em; line-height: 1.62; }

.ifd-brf-back { display: inline-block; font: 600 .85rem Inter, Arial, sans-serif; margin-bottom: 1.4rem; text-decoration: none; }
.ifd-brf-head { padding-bottom: 1.6rem; border-bottom: 1px solid rgba(12, 32, 53, .12); margin-bottom: 2rem; }
.ifd-brf-dek { font-size: 1.22em !important; color: #354c60; max-width: 46rem; }
.ifd-brf ul.ifd-brf-meta { list-style: none; padding: 0; margin: 1.1rem 0 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.ifd-brf-meta li { margin: 0 !important; font: 600 .8rem/1 Inter, Arial, sans-serif !important; padding: .5rem .75rem; border-radius: 999px; background: #e7f5f9; color: #0b5f7a; }

.ifd-brf-section { margin: 0 0 2.6rem; }
.ifd-brf-note { border-left: 3px solid #e6a23c; padding: .2rem 0 .2rem 1rem; color: #4a5d6e; }
.ifd-brf-points { padding-left: 1.2rem; margin: 0; }
.ifd-brf-points li { margin: .75rem 0 !important; color: #354c60; }
.ifd-brf-points strong { color: #0c2035; }

.ifd-brf-video { margin: 0; }
.ifd-brf-video video { width: 100%; border-radius: 14px; background: #071426; display: block; box-shadow: 0 10px 30px rgba(7, 20, 38, .18); }
.ifd-brf .ifd-brf-video figcaption { max-width: none; text-align: left; font: 500 .88rem/1.55 Inter, Arial, sans-serif; color: #4a5d6e; margin-top: .7rem; }

.ifd-brf-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-top: 1.1rem; }
.ifd-brf-tile { display: flex; flex-direction: column; padding: 1.3rem; border: 1px solid rgba(12, 32, 53, .12); border-radius: 18px; text-decoration: none !important; color: inherit !important; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ifd-brf-tile:hover, .ifd-brf-tile:focus-visible { border-color: #1b7fa0; box-shadow: 0 8px 24px rgba(7, 20, 38, .1); }
.ifd-brf-tile p { flex: 1; font-size: .98em !important; color: #354c60; margin: 0 0 1rem; }
.ifd-brf-go { font: 700 .88rem Inter, Arial, sans-serif; color: #175aa8; }

.ifd-brf ul.ifd-brf-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(12, 32, 53, .1); }
.ifd-brf ul.ifd-brf-links li { list-style: none; margin: 0 !important; border-bottom: 1px solid rgba(12, 32, 53, .1); }
.ifd-brf-links a { display: block; padding: .8rem .2rem; font: 600 .98rem/1.45 Inter, Arial, sans-serif; text-decoration: none; }
.ifd-brf-links a::after { content: " →"; }

.ifd-brf-check { background: #f3f8fb; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2.2rem); }
.ifd-brf-q { border: 0; padding: 0; margin: 1.6rem 0 0; }
.ifd-brf-q legend { font: 700 1rem/1.45 Inter, Arial, sans-serif; color: #0c2035; margin-bottom: .7rem; padding: 0; }
.ifd-brf-q label { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .9rem; margin: .4rem 0; border: 1px solid rgba(12, 32, 53, .14); border-radius: 12px; background: #fff; cursor: pointer; font: 500 .95rem/1.5 Inter, Arial, sans-serif; color: #1f3346; }
.ifd-brf-q label input { margin-top: .25rem; }
.ifd-brf-q.is-right label.is-chosen { border-color: #2e9d6b; background: #ecf8f2; }
.ifd-brf-q.is-wrong label.is-chosen { border-color: #d0663f; background: #fdf1ec; }
.ifd-brf-feedback { font: 500 .92rem/1.55 Inter, Arial, sans-serif !important; margin: .6rem 0 0; color: #354c60; }
.ifd-brf-done { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: #071426; color: #e6ecf5; }
.ifd-brf-done .ifd-eyebrow { color: #8ce3ee; }
.ifd-brf-done p { margin: 0; color: #e6ecf5; }
.ifd-brf-progress { font: 600 .88rem Inter, Arial, sans-serif !important; color: #4a5d6e; margin-top: 1.2rem; }

.ifd-brf-sources ul { padding-left: 1.1rem; }
.ifd-brf-sources li { font: 500 .88rem/1.55 Inter, Arial, sans-serif !important; margin: .35rem 0 !important; }

/* Briefings index */
.ifd-brf-index-lead { font-size: 1.22em !important; color: #354c60; max-width: 44rem; }
.ifd-brf-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; padding: 1.2rem; border: 1px solid rgba(12, 32, 53, .12); border-radius: 22px; margin: 2rem 0 2.6rem; background: #fff; }
.ifd-brf-card img, .ifd-brf-card video { width: 100%; border-radius: 14px; display: block; }
.ifd-brf-card p { color: #354c60; margin: 0 0 1rem; }
.ifd-brf-card .ifd-entry-button { margin-top: .3rem; }
.ifd-brf-every { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.ifd-brf-every article { padding: 1.2rem; border-radius: 16px; background: #f3f8fb; }
.ifd-brf-every p { font-size: .98em !important; color: #354c60; margin: 0; }

@media (max-width: 760px) {
  .ifd-brf-card { grid-template-columns: 1fr; }
}

/* Dark scheme */
[data-md-color-scheme="slate"] .ifd-brf-tile, [data-md-color-scheme="slate"] .ifd-brf-card, [data-md-color-scheme="slate"] .ifd-brf-q label { background: #0f1e30; color: #dce6f0; border-color: rgba(255, 255, 255, .12); }
[data-md-color-scheme="slate"] .ifd-brf-check, [data-md-color-scheme="slate"] .ifd-brf-every article { background: #0b1828; }
[data-md-color-scheme="slate"] .ifd-brf p, [data-md-color-scheme="slate"] .ifd-brf li, [data-md-color-scheme="slate"] .ifd-brf-index p, [data-md-color-scheme="slate"] .ifd-brf-q legend, [data-md-color-scheme="slate"] .ifd-brf-points strong { color: #dce6f0; }
[data-md-color-scheme="slate"] .ifd-brf-meta li { background: #12324a; color: #8ce3ee; }

.ifd-brf-button { display: inline-flex; align-items: center; gap: .4rem; padding: .85rem 1.3rem; border-radius: 10px; background: #175aa8; color: #fff !important; font: 700 .92rem Inter, Arial, sans-serif; text-decoration: none !important; }
.ifd-brf-button:hover, .ifd-brf-button:focus-visible { background: #0f4687; }
[data-md-color-scheme="slate"] .ifd-brf ul.ifd-brf-links, [data-md-color-scheme="slate"] .ifd-brf ul.ifd-brf-links li { border-color: rgba(255, 255, 255, .12); }
.ifd-brf ul.ifd-brf-links a { text-decoration: none; }

/* Keep the contextual photo quiet: an aside, not a hero or incident claim. */
.ifd-brf-section--with-aside { display: flow-root; }
.ifd-brf .ifd-commons-photo--aside { float: right; width: min(42%, 19rem); margin: .15rem 0 1rem 1.4rem; }
.ifd-brf .ifd-commons-photo--aside img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.ifd-brf .ifd-commons-photo--aside figcaption { font: 400 .75rem/1.35 Inter, Arial, sans-serif; color: var(--md-default-fg-color--light, #607182); margin-top: .35rem; }
.ifd-brf .ifd-commons-photo--aside figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ifd-brf-tile--featured { grid-column: 1 / -1; background: #f3f8fb; border-color: rgba(27, 127, 160, .35); }
[data-md-color-scheme="slate"] .ifd-brf-tile--featured { background: #102a3d; border-color: rgba(140, 227, 238, .32); }
@media (max-width: 640px) {
  .ifd-brf .ifd-commons-photo--aside { float: none; width: min(100%, 21rem); margin: 0 0 1.1rem; }
}
