/* Le coréen en images — public library, gallery and participation. */
.pub-page {
  --pub-ink: #152c46;
  --pub-muted: #5e6b7a;
  --pub-line: #dce3ec;
  --pub-blue: #0047a0;
  --pub-soft-blue: #edf4fc;
  padding-bottom: 4rem;
  color: var(--pub-ink);
}
.pub-page *, .pub-card * { min-width: 0; }
.pub-page a, .pub-card a { text-underline-offset: .2em; }
.pub-page :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.pub-card a:focus-visible { outline: 3px solid #0047a0; outline-offset: 4px; }
.pub-page :where(h1, h2, h3), .pub-card h3 { color: #152c46; overflow-wrap: anywhere; }
.pub-page :where(h1) { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.18; letter-spacing: -.035em; }
.pub-page h2 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.35; }
.pub-page h3 { font-size: 1.08rem; line-height: 1.5; }
.pub-eyebrow {
  margin: 0 0 .75rem;
  color: #a51f2c;
  font-size: .72rem;
  letter-spacing: .13em;
  font-weight: 750;
  text-transform: uppercase;
}
.pub-hero h1 { letter-spacing: normal; }
.pub-hero .pub-actions { margin-top: 1.1rem; }
.pub-hero .pub-text-link,
.pub-hero .pub-text-link:hover { color: #fff; }
.pub-hero :where(a, button):focus-visible { outline-color: #fff; }
.pub-hero .pub-featured {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  height: auto;
  padding: 1.05rem;
  color: var(--pub-ink);
  text-decoration: none;
}
.pub-featured__cover { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 9px; overflow: hidden; background: #edf4fc; color: #0047a0; font-size: 1.5rem; }
.pub-featured__cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pub-featured__content { overflow-wrap: anywhere; }
.pub-hero .pub-featured__eyebrow { margin: 0 0 .5rem; color: #7c2d8c; font-size: .66rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.pub-hero .pub-featured h2 { color: #152c46; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.45; margin: 0 0 .5rem; }
.pub-hero .pub-featured__meta { margin: 0 0 .7rem; color: #5e6b7a; font-size: .72rem; line-height: 1.6; }
.pub-featured__cta { display: inline-flex; align-items: center; gap: .5rem; color: #0047a0; font-size: .78rem; font-weight: 700; }
.pub-featured:hover .pub-featured__cta { text-decoration: underline; }
.pub-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.pub-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  max-width: 100%;
  min-height: 44px;
  padding: .7rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: .84rem;
  line-height: 1.45;
  font-weight: 650;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.pub-button--dark { background: #152c46; color: #fff; }
.pub-button--dark:hover { background: #244768; color: #fff; }
.pub-button--blue { background: #0047a0; color: #fff; }
.pub-button--blue:hover { background: #00377c; color: #fff; }
.pub-button--light { background: #fff; color: #152c46; border-color: #d2dce8; }
.pub-button--light:hover { background: #edf4fc; color: #0047a0; border-color: #9bb5d5; }
.pub-button--ghost { background: #ffffff0d; color: #fff; border-color: #ffffff66; }
.pub-button--ghost:hover { background: #ffffff1f; color: #fff; border-color: #ffffff99; }
.pub-button--saved { background: #edf4fc; color: #0047a0; border-color: #a9c3e4; }
.pub-button--saved:hover { background: #dceaf9; color: #00377c; }
.pub-text-link { display: inline-flex; align-items: center; gap: .6rem; color: #0047a0; font-weight: 650; font-size: .83rem; text-decoration: none; }
.pub-text-link:hover { color: #00377c; text-decoration: underline; }
.pub-editor-link { display: inline-flex; margin-top: 1.5rem; }
.pub-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin: 0 0 1.25rem; }
.pub-section-heading h2 { margin: 0; }
.pub-section-heading .pub-eyebrow { margin-bottom: .35rem; }
.pub-result-count { color: #5e6b7a; font-size: .8rem; }
.pub-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.8fr) minmax(140px, 1fr) minmax(130px, 1fr) minmax(140px, 1fr) auto;
  align-items: end;
  gap: 1rem;
  padding: 1.3rem;
  margin-bottom: 1.6rem;
  background: #fff;
  border: 1px solid var(--pub-line);
  border-radius: 14px;
}
.pub-field { display: flex; flex-direction: column; gap: .45rem; }
.pub-field label { font-size: .77rem; font-weight: 700; color: #33465c; }
.pub-field label span { font-weight: 400; color: #657181; }
.pub-field :where(input, select, textarea) {
  width: 100%;
  min-height: 44px;
  border: 1px solid #b8c4d3;
  border-radius: 8px;
  background: #fff;
  color: #152c46;
  padding: .68rem .8rem;
  font: inherit;
  font-size: .84rem;
  line-height: 1.5;
}
.pub-field :where(input, textarea)::placeholder { color: #6b7787; opacity: 1; }
.pub-field select { padding-right: 2rem; }
.pub-field textarea { resize: vertical; min-height: 115px; }
.pub-filter-summary { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: -.5rem 0 1.4rem; font-size: .83rem; color: var(--pub-muted); }
.pub-filter-summary > span { flex: 1 1 16rem; overflow-wrap: anywhere; }
.pub-filter-summary a { color: #0047a0; }
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.pub-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1200px) {
  .pub-grid--library { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#publication-library-title { scroll-margin-top: 110px; }
.pub-card {
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 16px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
  height: 100%;
}
.pub-card:hover { border-color: #aabdd3; box-shadow: 0 10px 28px #153c6410; }
.pub-card__link { display: flex; height: 100%; flex-direction: column; color: #152c46; text-decoration: none; }
.pub-card__link:hover { color: #0047a0; }
.pub-card__cover { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: #edf0f5; }
.pub-card__cover > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pub-card__video-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; width: 100%; height: 100%; padding: 2rem; background: #152c46; color: #fff; text-align: center; }
.pub-card__video-cover > i { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #ffffff70; border-radius: 50%; font-size: 1.2rem; }
.pub-card__video-cover > span { font-weight: 700; line-height: 1.65; }
.pub-card__format { position: absolute; left: .85rem; bottom: .85rem; padding: .4rem .65rem; background: #142b45ed; color: #fff; border-radius: 7px; font-size: .7rem; font-weight: 650; backdrop-filter: blur(8px); }
.pub-card__format i { margin-right: .25rem; }
.pub-card__pin { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #a51f2c; box-shadow: 0 2px 8px #00000014; font-size: .75rem; }
.pub-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem; }
.pub-card__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem .65rem; margin-bottom: .6rem; font-size: .68rem; font-weight: 650; color: #5e6b7a; }
.pub-card__meta > span:first-child { color: #0047a0; }
.pub-card__title { font-size: 1.05rem; line-height: 1.55; margin: 0 0 1.15rem; overflow-wrap: anywhere; }
.pub-card__read { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: .76rem; font-weight: 650; color: #0047a0; }
.pub-pagination { display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap; margin: 2rem 0 0; }
.pub-pagination a { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .6rem .9rem; color: #0047a0; border: 1px solid #d3deeb; border-radius: 8px; background: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; }
.pub-pagination a:hover { background: #edf4fc; }
.pub-pagination__position { font-size: .78rem; color: #5e6b7a; }
.pub-empty { text-align: center; padding: 4rem 1.5rem; background: #fff; border: 1px dashed #c9d5e3; border-radius: 16px; }
.pub-empty > i { font-size: 2rem; margin-bottom: 1.25rem; color: #7191b5; }
.pub-empty h3 { margin-bottom: .7rem; font-size: 1.25rem; }
.pub-empty p { color: #5e6b7a; font-size: .9rem; }
.pub-empty .pub-button { margin-top: .5rem; }
.pub-empty--compact { padding: 3rem 1.5rem; }
.pub-idea-banner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 3.5rem; padding: 2rem 2.2rem; background: #edf4fc; border-radius: 18px; border: 1px solid #dce7f4; }
.pub-idea-banner h2 { font-size: 1.4rem; margin-bottom: .7rem; }
.pub-idea-banner p:last-child { margin-bottom: 0; color: #5e6b7a; font-size: .9rem; line-height: 1.7; }
.pub-idea-banner .pub-button { flex-shrink: 0; }
.pub-breadcrumb { display: flex; gap: .8rem; align-items: center; color: #68778b; font-size: .78rem; padding: 1rem 0 1.8rem; }
.pub-breadcrumb a { flex-shrink: 0; color: #0047a0; text-decoration: none; font-weight: 600; }
.pub-breadcrumb a i { margin-right: .4rem; }
.pub-breadcrumb > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pub-flash { margin-top: 1rem; }
.pub-preview-notice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #ebd49b; background: #fff8e8; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 2rem; color: #6d5019; }
.pub-preview-notice p { font-size: .85rem; margin: .3rem 0 0; }
.pub-detail__heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; }
.pub-detail__heading h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); max-width: 900px; margin: .9rem 0 0; overflow-wrap: anywhere; }
.pub-detail__heading .pub-favorite-form, .pub-detail__heading > .pub-button { flex-shrink: 0; margin-top: .25rem; }
.pub-tags { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.pub-tag { display: inline-flex; padding: .35rem .65rem; border-radius: 6px; background: #edf4fc; color: #0047a0; font-size: .7rem; font-weight: 700; }
.pub-tag--muted { color: #526174; background: #e9edf2; }
.pub-tags time { font-size: .75rem; color: #5e6b7a; margin-left: .25rem; }
.pub-publication-shell { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .85fr); gap: 2.3rem; align-items: start; }
.pub-publication-shell__text { padding: 1.4rem; border: 1px solid #dce3ec; border-radius: 16px; background: #fff; }
.pub-gallery { overflow: hidden; border-radius: 16px; border: 1px solid #d6dfe9; background: #fff; }
.pub-gallery [hidden] { display: none !important; }
.pub-gallery__track { position: relative; display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; aspect-ratio: 4 / 5; max-height: min(80vh, 850px); background: #e9edf3; scrollbar-width: thin; scrollbar-color: #7a90ab #e9edf3; }
.pub-gallery--reel .pub-gallery__track { aspect-ratio: 9 / 16; }
.pub-gallery__track:focus-visible { outline-offset: -4px; }
.pub-gallery__slide { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pub-gallery__image, .pub-gallery__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pub-gallery__video { background: #0c1420; }
.pub-gallery__enlarge { position: absolute; bottom: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; min-height: 44px; padding: .65rem .85rem; border-radius: 8px; color: #152c46; background: #fffffff2; box-shadow: 0 2px 12px #152c4620; font-size: .74rem; font-weight: 650; text-decoration: none; }
.pub-gallery__enlarge:hover { color: #0047a0; background: #fff; }
.pub-gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: #fff; }
.pub-icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #d8e1ec; border-radius: 50%; background: #f5f8fc; color: #0047a0; cursor: pointer; }
.pub-icon-button:hover:not(:disabled) { background: #e4eefb; }
.pub-icon-button:disabled { opacity: .35; cursor: default; }
.pub-gallery__position { text-align: center; }
.pub-gallery__position > span { font-size: .77rem; font-weight: 650; color: #3b4e65; }
.pub-gallery__dots { display: flex; justify-content: center; flex-wrap: wrap; max-width: 380px; }
.pub-gallery__dot { position: relative; display: grid; place-items: center; width: 24px; height: 25px; padding: 0; background: none; border: 0; border-radius: 5px; }
.pub-gallery__dot::after { content: ''; width: 6px; height: 6px; border-radius: 10px; background: #b6c2d2; }
.pub-gallery__dot[aria-current='true']::after { width: 16px; background: #0047a0; }
.pub-gallery__hint { margin: .8rem 1rem; font-size: .8rem; color: #5e6b7a; }
.pub-lightbox { width: min(1120px, calc(100vw - 32px)); max-width: none; height: 94vh; height: 94dvh; max-height: 94vh; max-height: 94dvh; margin: auto; border: 1px solid #cbd7e5; border-radius: 14px; padding: 0; background: #0e1825; box-shadow: 0 24px 100px #00000060; }
.pub-lightbox:not([open]) { display: none; }
.pub-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pub-lightbox::backdrop { background: #07101fdd; }
.pub-lightbox__toolbar { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: #fff; }
.pub-lightbox__toolbar h2 { margin: 0; font-size: 1rem; }
.pub-lightbox__toolbar form { margin: 0; }
.pub-lightbox__toolbar-actions { display: flex; gap: .6rem; align-items: center; }
.pub-lightbox__media { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.pub-lightbox__media img, .pub-lightbox__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pub-lightbox.is-zoomed .pub-lightbox__media img { width: auto; height: auto; max-width: none; max-height: none; margin: auto; }
.pub-lightbox__navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; background: #fff; }
.pub-lightbox__navigation > span { font-size: .85rem; font-weight: 650; color: #3b4e65; }
.pub-byline { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid #dce3ec; margin-bottom: 1rem; }
.pub-byline__mark { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; color: #0047a0; background: #e8f0fc; font-family: 'Noto Sans KR', sans-serif; font-size: 1.7rem; font-weight: 700; border-radius: 50%; }
.pub-byline strong { display: block; font-size: .86rem; color: #152c46; }
.pub-byline div > span { display: block; font-size: .7rem; color: #637185; margin-top: .25rem; }
.pub-copy { font-size: .92rem; line-height: 1.9; color: #35485e; overflow-wrap: anywhere; }
.pub-caption { margin-bottom: 1.6rem; line-height: 1.65; }
.pub-caption > p { margin: 0; }
.pub-caption > p + p { margin-top: .75rem; }
.pub-caption:last-child { margin-bottom: 0; }
.pub-takeaway { padding: 1.25rem 1.35rem; margin: 1.5rem 0; border-radius: 12px; border-left: 3px solid #0047a0; background: #edf4fc; }
.pub-takeaway h2 { font-size: 1rem; display: flex; gap: .6rem; align-items: center; color: #0047a0; margin: 0 0 .7rem; }
.pub-takeaway .pub-copy { font-size: .86rem; }
.pub-related { padding: 1.25rem 0; border-top: 1px solid #dce3ec; }
.pub-related .pub-eyebrow { font-size: .65rem; margin-bottom: .5rem; }
.pub-related h2 { font-size: 1rem; line-height: 1.55; margin-bottom: .85rem; }
.pub-challenge-invite { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; background: #fff6ee; border: 1px solid #eddccf; border-radius: 12px; color: #85451f; text-decoration: none; }
.pub-challenge-invite:hover { color: #6a3518; background: #fff0e3; }
.pub-challenge-invite > span { flex: 1; }
.pub-challenge-invite strong { display: block; font-size: .9rem; }
.pub-challenge-invite span > span { display: block; margin-top: .3rem; font-size: .74rem; line-height: 1.7; }
.pub-community-section { max-width: 980px; margin: 3rem auto 0; padding: 2rem; border: 1px solid #dce3ec; border-radius: 16px; background: #fff; scroll-margin-top: 110px; }
.pub-challenge { border-top: 4px solid #bf713c; }
.pub-challenge .pub-eyebrow { color: #8a4a20; }
.pub-challenge__prompt { font-size: 1rem; background: #fff8f0; padding: 1.2rem 1.4rem; border-radius: 10px; margin-bottom: 1.5rem; }
.pub-status { display: inline-flex; align-items: center; width: fit-content; border-radius: 6px; padding: .3rem .6rem; font-size: .67rem; font-weight: 650; line-height: 1.5; background: #edf0f5; color: #5e6b7a; }
.pub-status--pending { background: #fff4dc; color: #7e5416; }
.pub-status--open { background: #e9f6ee; color: #246740; }
.pub-status--planned { background: #e7f0fc; color: #0047a0; }
.pub-status--done { background: #e9f6ee; color: #246740; }
.pub-status--closed { background: #edf0f5; color: #5e6b7a; }
.pub-help { font-size: .76rem; line-height: 1.8; color: #5e6b7a; margin: .7rem 0; }
.pub-participation-form { margin-bottom: 2rem; }
.pub-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: .6rem; }
.pub-form-footer .pub-help { max-width: 580px; }
.pub-form-footer .pub-button { flex-shrink: 0; }
.pub-login-note { padding: 1.25rem; margin: .8rem 0 2rem; background: #f4f7fb; border: 1px solid #e0e8f2; border-radius: 10px; }
.pub-login-note p { font-size: .88rem; color: #4a5c72; line-height: 1.7; }
.pub-closed { padding: 1rem 1.2rem; margin: 1rem 0; background: #f2f4f7; border-radius: 8px; color: #526174; font-size: .85rem; line-height: 1.8; }
.pub-closed i { margin-right: .35rem; }
.pub-empty-conversation { padding: 1rem 0; margin: 0; color: #667487; font-size: .85rem; line-height: 1.8; }
.pub-discussion-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .4rem; }
.pub-discussion-heading h3 { margin: 0; }
.pub-discussion-heading > span { font-size: .75rem; color: #5e6b7a; }
.pub-comment { padding: 1.6rem 0; border-top: 1px solid #e3e9f0; }
.pub-comment:first-child { margin-top: 1rem; }
.pub-comment__header { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.pub-comment__avatar { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #edf1f6; color: #43576f; font-size: .9rem; font-weight: 650; }
.pub-comment__header > div { flex: 1; }
.pub-comment__header strong { display: block; font-size: .8rem; overflow-wrap: anywhere; }
.pub-comment__header time { display: block; margin-top: .2rem; color: #68778b; font-size: .68rem; }
.pub-comment > .pub-copy { font-size: .88rem; }
.pub-teacher-reply { margin: 1rem 0 0 2.8rem; padding: 1.1rem 1.3rem; border-left: 3px solid #0047a0; background: #edf4fc; border-radius: 0 10px 10px 0; }
.pub-teacher-reply__heading { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; color: #0047a0; }
.pub-teacher-reply__heading strong { font-size: .75rem; }
.pub-teacher-reply__heading time { margin-left: auto; font-size: .65rem; color: #526b88; }
.pub-teacher-reply .pub-copy { font-size: .85rem; }
.pub-ideas-intro { max-width: 820px; padding: 1rem 0 2.5rem; }
.pub-ideas-intro p:last-child { color: #5e6b7a; line-height: 1.9; font-size: 1rem; }
.pub-ideas-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 2.5rem; scroll-margin-top: 110px; }
.pub-ideas-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
.pub-idea { display: flex; align-items: flex-start; gap: 1.15rem; padding: 1.5rem; border: 1px solid #dce3ec; border-radius: 14px; background: #fff; scroll-margin-top: 110px; }
.pub-idea__vote { flex-shrink: 0; }
.pub-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; width: 67px; min-height: 88px; padding: .65rem .25rem; border: 1px solid #cbd8e8; border-radius: 10px; background: #fff; color: #355b89; text-decoration: none; }
button.pub-vote:hover, a.pub-vote:hover { background: #edf4fc; color: #0047a0; }
.pub-vote strong { font-size: 1.2rem; line-height: 1.3; }
.pub-vote > i { font-size: .75rem; }
.pub-vote > span { font-size: .6rem; font-weight: 650; }
.pub-vote.is-voted { background: #e8f1fe; color: #0047a0; border-color: #8cadd7; }
.pub-vote--static { background: #f4f6f9; border-color: #e2e8f0; color: #667487; }
.pub-idea__body { flex: 1; }
.pub-idea__body h3 { margin: .65rem 0 .6rem; font-size: 1.08rem; overflow-wrap: anywhere; }
.pub-idea__body > .pub-copy { font-size: .83rem; }
.pub-idea__author { color: #6c7888; font-size: .67rem; margin: .8rem 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.pub-idea__response { padding: .9rem 1rem; margin-top: 1rem; background: #f1f6fc; border-radius: 8px; }
.pub-idea__response > strong { display: block; color: #0047a0; font-size: .72rem; margin-bottom: .5rem; }
.pub-idea__response > strong i { margin-right: .4rem; }
.pub-idea__response > .pub-copy { font-size: .81rem; }
.pub-idea-form-panel { position: sticky; top: 110px; padding: 1.6rem; background: #edf4fc; border: 1px solid #d7e4f4; border-radius: 16px; }
.pub-idea-form-panel h2 { margin: .8rem 0; font-size: 1.35rem; scroll-margin-top: 120px; }
.pub-idea-form-panel > p { font-size: .8rem; line-height: 1.85; color: #536984; }
.pub-idea-form-panel__icon { display: grid; place-items: center; width: 42px; height: 42px; background: #fff; border: 1px solid #cfdced; color: #0047a0; border-radius: 12px; font-size: 1.1rem; }
.pub-idea-form-panel .pub-field { margin-top: 1rem; }
.pub-idea-form-panel form > .pub-button { width: 100%; margin-top: .6rem; }

@media (max-width: 1199px) {
  .pub-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pub-field--search { grid-column: span 2; }
  .pub-filters > .pub-button { width: 100%; }
  .pub-ideas-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 1.5rem; }
  .pub-grid--home { gap: 1rem; }
}
@media (max-width: 991px) {
  .pub-grid, .pub-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub-publication-shell { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .pub-publication-shell__media { width: min(100%, 650px); margin: 0 auto; }
  .pub-gallery__track { max-height: 85vh; max-height: 85svh; }
  .pub-publication-shell__text { width: min(100%, 650px); margin: 0 auto; }
  .pub-ideas-layout { grid-template-columns: minmax(0, 1fr); }
  .pub-idea-form-panel { position: static; }
  .pub-idea-banner { align-items: flex-start; flex-direction: column; gap: 1.3rem; padding: 1.7rem; }
  .pub-field :where(input, select, textarea) { font-size: 1rem; }
}
@media (max-width: 575px) {
  .pub-page { padding-bottom: 2.5rem; }
  .pub-hero .pub-featured { grid-template-columns: 84px minmax(0, 1fr); gap: .8rem; padding: .85rem; }
  .pub-hero .pub-featured h2 { font-size: 1rem; }
  .pub-actions { gap: .6rem; }
  .pub-actions .pub-button { flex: 1 1 10rem; padding: .65rem .7rem; font-size: .84rem; }
  .pub-actions .pub-text-link { width: 100%; margin-top: .3rem; }
  .pub-section-heading { gap: .65rem; }
  .pub-section-heading h2 { font-size: 1.25rem; }
  .pub-result-count { font-size: .72rem; }
  .pub-filters { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: 1rem; }
  .pub-filters .pub-field--search { grid-column: 1 / -1; }
  .pub-filters > .pub-button { align-self: end; }
  .pub-field label { font-size: .71rem; }
  .pub-field :where(input, select, textarea) { font-size: 1rem; }
  .pub-text-link, .pub-breadcrumb a, .pub-filter-summary a { min-height: 44px; align-items: center; }
  .pub-filter-summary a { display: inline-flex; }
  .pub-breadcrumb a { display: inline-flex; }
  .pub-grid { gap: .8rem; }
  .pub-card { border-radius: 11px; }
  .pub-card__body { padding: .8rem; }
  .pub-card__meta { font-size: .59rem; }
  .pub-card .pub-card__title { font-size: .9rem; line-height: 1.55; margin-bottom: .8rem; }
  .pub-card__read { font-size: .68rem; }
  .pub-card__format { left: .45rem; bottom: .45rem; font-size: .59rem; padding: .3rem .45rem; }
  .pub-card__video-cover { gap: .7rem; padding: .8rem; }
  .pub-card__video-cover > span { font-size: .85rem; }
  .pub-card__video-cover > i { width: 42px; height: 42px; font-size: .9rem; }
  .pub-empty { padding: 2.5rem 1rem; }
  .pub-empty h3 { font-size: 1.05rem; }
  .pub-pagination { gap: .6rem; }
  .pub-pagination a { font-size: .72rem; padding: .6rem .65rem; gap: .4rem; }
  .pub-pagination__position { font-size: .7rem; }
  .pub-breadcrumb { padding-bottom: 1.3rem; font-size: .68rem; gap: .6rem; }
  .pub-detail__heading { flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
  .pub-detail__heading h1 { font-size: 1.9rem; }
  .pub-tags { gap: .4rem; }
  .pub-tags time { font-size: .68rem; }
  .pub-preview-notice { flex-wrap: wrap; }
  .pub-gallery { border-radius: 12px; }
  .pub-publication-shell__text { padding: 1rem; border-radius: 12px; }
  .pub-gallery__controls { padding: .6rem .75rem; gap: .5rem; }
  .pub-gallery__dot { width: 32px; height: 32px; }
  .pub-gallery__enlarge { right: .75rem; bottom: .75rem; padding: .6rem; }
  .pub-gallery__enlarge span { display: none; }
  .pub-lightbox { width: calc(100vw - 16px); border-radius: 9px; }
  .pub-lightbox__toolbar { flex-wrap: wrap; gap: .6rem; padding: .7rem; }
  .pub-lightbox__toolbar h2 { flex-basis: 100%; font-size: .85rem; }
  .pub-lightbox__toolbar .pub-button { padding: .55rem .65rem; font-size: .7rem; }
  .pub-lightbox__toolbar-actions { flex-wrap: wrap; margin-left: auto; }
  .pub-community-section { margin-top: 2rem; padding: 1.2rem; border-radius: 12px; }
  .pub-challenge__prompt { padding: 1rem; font-size: .9rem; }
  .pub-form-footer { flex-direction: column; align-items: stretch; gap: .4rem; }
  .pub-form-footer .pub-button { width: 100%; }
  .pub-comment__header { flex-wrap: wrap; }
  .pub-comment__header .pub-status { margin-left: 2.7rem; }
  .pub-teacher-reply { margin-left: .5rem; padding: 1rem; }
  .pub-teacher-reply__heading time { width: 100%; margin-left: 0; }
  .pub-discussion-heading { flex-wrap: wrap; gap: .3rem; }
  .pub-ideas-intro { padding-top: .5rem; }
  .pub-ideas-intro h1 { font-size: 2rem; }
  .pub-ideas-intro p:last-child { font-size: .9rem; }
  .pub-idea { padding: 1.1rem .9rem; gap: .75rem; }
  .pub-vote { width: 53px; min-height: 80px; }
  .pub-vote > span { font-size: .55rem; }
  .pub-idea__body h3 { font-size: 1rem; }
}
@media (max-width: 399px) {
  /* Keep the discussion readable when the vote column would squeeze the response. */
  .pub-idea { flex-direction: column; }
  .pub-idea__body { width: 100%; }
  .pub-vote { flex-direction: row; gap: .55rem; width: auto; min-width: 100px; min-height: 44px; padding: .5rem .75rem; }
  .pub-vote > span { font-size: .7rem; }
}
@media (max-width: 359px) {
  .pub-grid, .pub-grid--home { grid-template-columns: minmax(0, 1fr); }
  .pub-card__meta { font-size: .7rem; }
  .pub-card .pub-card__title { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-card, .pub-button { transition: none; }
  .pub-gallery__track { scroll-behavior: auto; }
}
