.special-card{aspect-ratio:auto!important;min-height:220px;overflow:hidden}.special-card .card-body{min-height:200px}.special-card .card-picture{height:auto;aspect-ratio:3/2;flex:none}.special-card .card-picture img{object-fit:contain}.special-card.no-picture{grid-template-columns:minmax(0,1fr)}.special-card .card-heading h3{display:block;-webkit-line-clamp:unset;line-clamp:unset}.special-quote{font:400 21px/1.5 Georgia,serif;white-space:pre-wrap;margin:0}.quote-signature{font-size:15px}.special-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.special-card-actions button,.special-card-actions a{position:relative;z-index:3}.special-go{display:inline-flex;padding:10px 20px;background:#d9b682;color:#152437;border-radius:5px;font-size:18px;text-decoration:none}.special-card[data-kind=poll] .card-body{max-height:540px}.poll-inline{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:8px}.poll-options{display:grid;gap:7px}.poll-option{display:block;padding:8px;border:1px solid #b4956e66;border-radius:4px;line-height:1.45;overflow-wrap:anywhere}.poll-option input{margin-right:8px}.poll-option input[type=number]{width:70px}.poll-option>a{display:inline-block;position:relative;z-index:4}.poll-option small{display:block}.poll-result{display:block;font-size:13px;margin-top:4px}.poll-distribution{display:flex;flex-wrap:wrap;gap:8px}.poll-expand{font-size:14px}.poll-inline[data-compact=true] .poll-submit{display:none}.poll-inline[data-compact=true] .poll-option input{pointer-events:none}.special-dialog{box-sizing:border-box;width:96vw;max-width:1600px;height:92dvh;max-height:92dvh;padding:0;border:1px solid #b1956a;border-radius:12px;background:#f3ead8;color:#132436;overflow:hidden}.special-dialog::backdrop{background:#000a}.special-dialog-close{position:absolute;right:12px;top:10px;z-index:8;min-width:42px;min-height:42px}.special-dialog-grid{display:grid;grid-template-columns:1fr 1fr;height:100%;min-height:0}.special-dialog-main,.special-dialog-comments{overflow-y:auto;overflow-x:hidden;min-width:0;min-height:0;padding:65px 24px 24px;overscroll-behavior:contain;box-sizing:border-box}.special-dialog-comments{border-left:1px solid #b69d7966}.special-modal-image{display:block;width:100%;height:auto;max-height:40dvh;object-fit:contain;margin:0 0 20px}.special-modal-intro[data-format=portrait] .special-modal-image,.special-modal-intro[data-format=square] .special-modal-image{float:left;width:44.444%;margin:0 18px 14px 0;max-height:none}.special-modal-intro::after{content:"";display:block;clear:both}.special-dialog .discussion{padding:0;margin:0}.special-dialog h2{margin-top:0}.special-reactions{clear:both;margin-top:15px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.special-success{color:#237a42;font-weight:650}.special-error{color:#b52e2e}.special-editor{max-width:1200px;margin:auto;padding:20px;display:grid;gap:16px}.special-editor fieldset{min-width:0;border:1px solid #b0966d66;padding:16px}.special-editor label{display:grid;gap:6px;margin:10px 0}.special-editor label.inline{display:flex;align-items:center}.special-editor input:not([type=checkbox]):not([type=radio]),.special-editor textarea,.special-editor select{box-sizing:border-box;max-width:100%;width:100%;padding:9px}.special-editor textarea{min-height:90px}.special-editor .actions{display:flex;gap:8px;flex-wrap:wrap}.special-editor-row{padding:12px;border:1px solid #b0966d66;margin-bottom:12px;min-width:0}.special-image-library{display:flex;flex-wrap:wrap;gap:12px}.special-image-library figure{margin:0;width:130px}.special-image-library img{max-width:130px;max-height:120px;object-fit:contain}.score-fields{display:grid;grid-template-columns:repeat(8,minmax(40px,1fr));gap:5px}.test-logic-commands{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:8px}.variable-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-height:60dvh;overflow:auto}.variable-grid button{padding:8px 3px}.test-condition-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.test-condition-row input{width:90px!important}.test-condition-row select{width:auto!important}.test-expression{white-space:pre-wrap;padding:12px;background:#d9be8922}.test-page{max-width:1440px;margin:0 auto;padding:30px 20px}.test-question-shell{width:66.6667%;margin:25px auto}.test-question{aspect-ratio:4/3;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr);gap:20px;padding:22px;box-sizing:border-box;background:#e8dbbe1c;min-width:0;overflow:hidden}.test-question-copy{grid-column:1;grid-row:1;min-height:0;overflow:auto}.test-question-image{width:100%;height:100%;object-fit:contain;min-height:0;min-width:0;grid-column:1;grid-row:2}.test-question[data-image-kind=portrait] .test-question-image{grid-row:1/3}.test-question[data-image-kind=portrait] .test-question-copy{grid-column:2}.test-options{grid-column:2;grid-row:1/3;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:10px}.test-question[data-image-kind=portrait] .test-options{grid-row:2}.test-options button{text-align:left;flex:none;padding:12px;white-space:normal;overflow-wrap:anywhere}.test-options button[aria-pressed=true]{background:#367850;color:white}.test-question.no-image{grid-template-columns:1fr}.test-question.no-image .test-options{grid-column:1;grid-row:2}.test-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0}.test-question-description{font-size:14px}.test-introduction,.test-results{max-width:900px;margin:20px auto}.test-introduction>img,.test-results>img,.test-result-block img{width:100%;max-height:55dvh;object-fit:contain}.test-result-block{margin:20px 0}.test-result-value{font-size:24px}.test-debug{max-width:100%;overflow:auto}.test-debug pre{white-space:pre-wrap}.special-editor dialog{max-width:92vw;max-height:90dvh;overflow:auto;box-sizing:border-box}.special-dialog :is(button,a,input,textarea,select):focus-visible{outline:3px solid #4383aa;outline-offset:2px}
.about-blocks{display:grid;gap:42px;margin:25px 0}.about-text{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.about-text>img{width:100%;height:auto;max-height:650px;object-fit:contain}.about-text>div{background:#ffffff12;padding:24px;line-height:1.65}.about-text.side-right>img{order:1}.about-text:not(:has(>img)){grid-template-columns:1fr}.about-button{display:inline-block;padding:10px 20px;border-radius:5px;margin-top:16px;color:#fff;text-decoration:none;text-shadow:0 1px 2px #000}.about-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.about-contacts article{min-width:0;background:#122338d9;border-radius:5px;overflow:hidden}.about-contacts article>img{display:block;width:100%;height:280px;object-fit:contain}.about-contacts article>div{padding:18px}.about-contacts h3{font-size:25px;margin:0 0 12px}.about-news{min-width:0}.special-editor .special-dialog-main{height:100%;box-sizing:border-box}.special-dialog .test-question-shell{width:100%}
@media(max-width:760px){.special-card.image-left{grid-template-columns:1fr;grid-template-rows:auto 1fr}.special-card .card-picture{max-height:280px}.special-card .card-body{min-height:180px;padding:14px}.special-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.special-dialog-grid{display:block;height:100%;overflow-y:auto;overscroll-behavior:contain}.special-dialog-main,.special-dialog-comments{overflow:visible;padding:60px 16px 20px}.special-dialog-comments{padding-top:20px;border-left:0;border-top:1px solid #b69d7966}.special-modal-image,.special-modal-intro[data-format=portrait] .special-modal-image,.special-modal-intro[data-format=square] .special-modal-image{float:none;width:100%;max-height:none;margin:0 0 18px}.test-question-shell{width:100%;margin:15px auto}.test-question{display:flex;flex-direction:column;aspect-ratio:auto;padding:14px;overflow:visible}.test-question-copy{order:0;overflow:visible}.test-options{order:1;overflow:visible}.test-question-image{order:2;height:auto;max-height:none}.test-navigation{position:static;flex-wrap:wrap}.test-page{padding:20px 12px}.score-fields{grid-template-columns:repeat(4,minmax(40px,1fr))}.test-logic-commands{grid-template-columns:repeat(2,minmax(80px,1fr))}.special-editor{padding:12px}.special-dialog-close{position:fixed}.about-text{grid-template-columns:1fr}.about-text.side-right>img{order:0}.about-contacts,.about-news .publication-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;max-width:100%}.about-contacts article,.about-news .publication-card{flex:0 0 85%;scroll-snap-align:start}.about-news .publication-card{min-width:85%}}

.section-page main.special-editor{background:#f3ead8;color:#152638;border:0;box-shadow:none;box-sizing:border-box}.special-dialog:has(>.special-dialog-main)>.special-dialog-main{height:100%;overflow-y:auto;box-sizing:border-box}

.special-dialog :is(h1,h2,h3){color:#152638}.special-dialog .discussion-empty,.special-dialog .comment-page-range{color:#586575}.special-dialog .comment-search{background:#fffdf6;color:#152638}.special-dialog .comment-search::placeholder{color:#586575}

.special-card[data-kind=poll] .card-body{max-height:none}.special-card[data-kind=poll] .preserve-lines{max-height:100px;overflow:hidden}.special-modal-intro .special-reactions{clear:none}
.section-page dialog.special-dialog :is(h1,h2,h3),.section-page dialog.special-dialog .discussion h2{color:#152638}.section-page dialog.special-dialog .discussion-empty,.section-page dialog.special-dialog .comment-page-range{color:#586575}

/* Publication proportions belong to the section; all mobile publications use 2:3. */
.publication-card.special-card{aspect-ratio:var(--card-aspect,100/190)!important;min-height:0}.special-card .card-body{min-height:0}
.publication-card.quote-card{display:flex;flex-direction:column}.quote-card[data-quote-layout=wide]{flex-direction:row}
.quote-card>.card-media{flex:0 0 var(--quote-image-size,50%);width:100%;min-height:0;background:linear-gradient(145deg,#294858,#17293e 48%,#293947)}
.quote-card[data-quote-layout=wide]>.card-media{width:var(--quote-image-size,50%);height:100%;align-self:stretch}
.quote-card .card-media .card-picture{width:100%;height:100%;aspect-ratio:auto;flex:1;min-height:0}.quote-card .card-picture img{object-fit:contain;object-position:center top}
.quote-card>.card-body{flex:1;min-height:0;min-width:0;overflow:hidden;gap:8px}.quote-card [data-quote-copy]{flex:1;min-height:0;min-width:0;overflow:hidden;font-size:var(--quote-font,21px)}
.quote-card [data-quote-copy]>.special-quote{font-size:1em;line-height:1.5;overflow-wrap:anywhere}.quote-card [data-quote-copy]>.quote-signature{font-size:.714286em;line-height:1.5;margin:.7em 0 0;overflow-wrap:anywhere}
.quote-card .special-card-actions{flex:none;margin:0;min-height:40px;gap:8px;align-items:center}.quote-card .special-card-actions .special-reactions{margin:0;clear:none;min-width:0;flex:1}
@media(max-width:760px){.publication-card,.publication-card.special-card,.publication-card.poem-card,.poem-single>.poem-card{aspect-ratio:2/3!important;min-height:0}.quote-card>.card-body{padding:12px}.publication-grid{grid-template-columns:minmax(0,1fr)!important}}
/* Test reader: compact panels, clear question navigation and responsive images. */
.test-page [data-test-player]{scroll-margin-top:85px;font:400 17px/1.65 Manrope,Arial,sans-serif}
.test-page .test-introduction,.test-page .test-results{max-width:1200px;margin:24px auto}
.test-page .test-introduction{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.test-page .test-introduction>.test-question-image{grid-column:1;grid-row:1;width:100%;height:auto;max-height:65dvh;align-self:start}
.test-intro-copy{display:flex;flex-direction:column;min-width:0;gap:22px}
.test-page .test-disclaimer{margin-top:auto;font-size:12px;line-height:1.55;color:#b6bec6}
.test-disclaimer strong{font-weight:500}.test-disclaimer p{margin:5px 0 0}
.test-page [data-test-start]{grid-column:1/-1;width:100%;padding:16px;font-size:20px}
.test-page .test-introduction[data-image-kind=none]{grid-template-columns:1fr}
.test-page .test-question-shell{width:100%;max-width:1200px;margin:24px auto}
.test-page .test-question{display:grid;aspect-ratio:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:22px;padding:24px;border:1px solid #bda67b66;border-radius:6px;background:#ffffff08;overflow:visible;align-items:start}
.test-question-header{grid-column:1/-1;display:flex;gap:24px;align-items:start;justify-content:space-between}
.test-page .test-question-copy{overflow:visible;min-width:0}
.test-page .test-question h2{font:400 30px/1.25 Georgia,serif;margin:8px 0 12px}
.test-page .test-question-description{font-size:16px;line-height:1.6;margin:0}
.test-progress{font-size:13px;color:#bac4ce}
.test-page .test-navigation{display:flex;flex:none;gap:10px;padding:0;justify-content:flex-end}
.test-page .test-navigation button{white-space:nowrap}
.test-page .test-question>.test-question-image{grid-column:1;grid-row:2;width:100%;height:auto;max-height:58dvh;object-fit:contain;align-self:end;border:1px solid #bda67b66;box-sizing:border-box;padding:5px;background:#07111b55}
.test-page .test-question .test-options{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px;overflow:visible}
.test-page .test-options button{font:400 16px/1.5 Manrope,Arial,sans-serif;padding:14px 16px;border:1px solid #a9b6c477;border-radius:5px;text-align:left;background:#142b40;color:#eee9df;white-space:normal}
.test-page .test-options button[aria-pressed=true]{background:#296046;border-color:#88bb97;box-shadow:inset 4px 0 #b8d8bd}
.test-page .test-question.no-image .test-options{grid-column:1/-1}
.test-page button:disabled{opacity:.4;cursor:default}
.test-page .test-result-block{display:grid;grid-template-columns:1fr;gap:22px;padding:24px;margin:20px 0;border:1px solid #bda67b66;border-radius:6px;background:#ffffff08}
.test-page .test-result-block[data-image-kind=portrait]{grid-template-columns:minmax(0,1fr) minmax(0,45%)}
.test-page .test-result-block>.test-question-image{grid-column:auto;grid-row:auto;width:100%;height:auto;max-height:none;max-width:100%;border:1px solid #bda67b66;box-sizing:border-box;padding:5px;align-self:start}
.test-page .test-result-block[data-image-kind=portrait]>.test-question-image{max-height:75dvh}
.test-result-copy{min-width:0}.test-result-copy h3{font:400 28px/1.3 Georgia,serif;margin:0 0 16px}
.test-page .test-result-banner>img{display:block;width:100%;height:auto;max-height:60dvh;object-fit:contain}
.test-result-banner:empty{display:none}
.test-result-navigation{display:flex;justify-content:space-between;gap:20px;margin-top:20px}
@media(max-width:760px){
 .test-page [data-test-player]{font-size:16px;line-height:1.6;scroll-margin-top:75px}
 .test-page .test-introduction{display:flex;flex-direction:column;gap:16px}
 .test-page .test-introduction>.test-question-image{width:100%;max-height:none}
 .test-intro-copy{gap:15px}.test-page .test-disclaimer{font-size:12px;color:#aeb8c2}
 .test-page .test-question{display:flex;flex-direction:column;padding:15px;gap:18px}
 .test-question-header{width:100%;display:flex;flex-direction:column;gap:16px}
 .test-page .test-question h2{font-size:25px}.test-page .test-question-description{font-size:16px}
 .test-page .test-navigation{width:100%;justify-content:space-between;order:0}
 .test-page .test-question .test-options{order:1;width:100%}
 .test-page .test-question>.test-question-image{order:2;max-height:none;width:100%}
 .test-page .test-result-block,.test-page .test-result-block[data-image-kind=portrait]{display:flex;flex-direction:column;padding:15px;gap:18px}
 .test-page .test-result-block>.test-question-image{max-height:none!important}
 .test-result-navigation button{font-size:14px;padding:12px}
}

/* Polls: keep the full ballot or offer the modal, never truncate options. */
.special-card[data-kind=poll]>.card-body{display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:14px 18px;min-height:0}
.special-card[data-kind=poll] .card-heading{flex:none}.special-card[data-kind=poll] .card-heading h3{font-size:clamp(20px,2.2vw,32px)!important;line-height:1.12;margin:0}
.special-card[data-kind=poll] .preserve-lines{flex:none;margin:0;line-height:1.35;font-size:14px;max-height:3.9em}
.special-card[data-kind=poll] .preserve-lines:empty{display:none}
.special-card[data-kind=poll] .poll-inline{flex:1;min-height:0;display:block;overflow:hidden}
.poll-inline[data-compact=true]{flex:0!important}.poll-inline[data-compact=true] .poll-form{display:none!important}
.poll-expand[hidden]{display:none!important}.special-card[data-kind=poll] .poll-expand{flex:none;align-self:stretch;padding:10px 14px;font-size:16px;margin:0}
.special-card[data-kind=poll] .special-card-actions{flex:none;flex-wrap:nowrap;align-items:center;gap:8px;margin-top:auto;min-height:28px}
.special-card[data-kind=poll] [data-special-comments]{display:inline-flex;align-items:center;gap:5px;padding:0;background:none;border:0}
.special-card[data-kind=poll] [data-special-comments] span{font:12px/1.2 sans-serif!important}
.special-card[data-kind=poll] [data-special-comments] svg{width:20px;height:20px}
.poll-card-meta{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 8px;text-align:right;font-size:11px;line-height:1.35}
.poll-card-meta time,.poll-card-meta [data-poll-participants]{font-size:10px;opacity:.8}
.poll-options{gap:5px}.poll-option{display:flex;flex-wrap:wrap;align-items:center;gap:3px 10px;padding:5px 8px;line-height:1.3}
.poll-option-text{flex:1;min-width:0}.poll-result{flex:none;font-size:12px;margin:0 0 0 auto}
.poll-option>a,.poll-option>small,.poll-distribution{flex-basis:100%}
.poll-form .poll-state{font-size:12px;line-height:1.3;margin:6px 0}.poll-form .poll-message:empty{display:none}
.poll-inline .poll-submit{padding:5px 10px;font-size:13px;min-height:30px}
@media(min-width:761px){.publication-card.special-card[data-kind=poll].image-left:not(.no-picture){grid-template-columns:minmax(0,var(--poll-cover-width,40%)) minmax(0,1fr)!important}.special-card[data-kind=poll].image-left .card-media{width:100%;min-width:0}.special-card[data-kind=poll].image-left .card-picture{height:100%;max-height:none;aspect-ratio:auto}.special-card[data-kind=poll].image-left .card-picture img{width:100%;height:100%;object-fit:contain;object-position:center}}
@media(max-width:760px){.special-card[data-kind=poll]>.card-body{padding:10px 12px;gap:6px}.special-card[data-kind=poll] .card-heading h3{font-size:23px!important}.poll-card-meta{font-size:10px}.poll-option{font-size:14px}}

/* Dense poll table, shared by cards and the expanded poll. */
.poll-options{display:block;border:1px solid #b4956e55;border-radius:3px;overflow:hidden}.poll-option{border:0;border-radius:0;border-bottom:1px solid #b4956e44;padding:3px 8px;min-height:24px;box-sizing:border-box;gap:2px 8px;font-size:14px;line-height:1.2}.poll-option:last-child{border-bottom:0}.poll-option input{margin-top:0;margin-bottom:0;vertical-align:middle}.poll-result{font-size:11px}.special-card[data-kind=poll] .poll-expand{margin-top:14px}

.poem-image-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0 0 20px;
}
.poem-image-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.poem-image-frame > .poem-image-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  filter: blur(18px) brightness(.66);
  transform: scale(1.12);
}

.special-editor .poll-editor-desktop-label { display: none; }
@media (min-width: 761px) {
 .special-editor .poll-editor-option { display: grid; gap: 5px; padding: 6px 10px; }
 .special-editor .poll-editor-option > h3,
 .special-editor .poll-editor-mobile-label,
 .special-editor .poll-editor-option[data-has-link="false"] .poll-editor-explanation { display: none; }
 .special-editor .poll-editor-desktop-label { display: inline; font-weight: 700; }
 .special-editor .poll-editor-option label {
  display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0;
 }
 .special-editor .poll-editor-links { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
 .special-editor .poll-editor-option :is(input:not([type=checkbox]):not([type=radio]), textarea) {
  flex: 1; min-width: 0; min-height: 30px; padding: 4px 7px;
 }
 .special-editor .poll-editor-option textarea { height: 30px; resize: vertical; }
 .special-editor .poll-editor-option .actions button { min-height: 30px; padding: 4px 12px; }
}

.poll-option:has(.poll-inline-bar){position:relative;isolation:isolate}
.poll-option .poll-inline-bar{
 position:absolute;z-index:-1;inset-block:1.5px;right:0;
 width:var(--poll-result-width);background:#579de66b;border-radius:3px;pointer-events:none
}

[data-poll-modal] .poll-result,[data-poll-modal] .poll-distribution{color:#101010;font-weight:600}
[data-poll-modal] .poll-submit[hidden]{display:none}
