/* Shared NUR layout for institutional and editorial pages. */
.nur-page { background: var(--gal-slate-50); }
.nur-page__breadcrumb { padding: 10px 0; border-bottom: 1px solid var(--gal-slate-200); color: var(--gal-slate-500); background: var(--gal-slate-100); font-size: .68rem; font-weight: 600; }
.nur-page__breadcrumb .gal-container { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.nur-page__breadcrumb a:hover { color: var(--gal-teal); }
.nur-page__breadcrumb span:last-child { color: var(--gal-slate-900); }
.nur-page__hero { position: relative; overflow: hidden; padding: 76px 0 82px; background: linear-gradient(135deg, var(--gal-slate-950), var(--gal-blue-dark)); color: #fff; }
.nur-page__hero--has-image { background: var(--gal-slate-950) var(--nur-page-hero-image) center / cover no-repeat; }
.nur-page__hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,39,.96), rgba(0,76,115,.82) 58%, rgba(7,21,39,.45)); content: ''; }
.nur-page__hero .gal-container { position: relative; z-index: 1; }
.nur-page__hero-copy { max-width: 840px; }
.nur-page__hero h1 { margin: 18px 0 0; color: #fff; font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.08; }
.nur-page__hero-intro { max-width: 760px; margin-top: 19px; color: var(--gal-slate-200); font-size: clamp(.94rem, 1.5vw, 1.13rem); line-height: 1.65; }
.nur-page__hero-intro p { margin: 0 0 8px; }
.nur-page__hero-intro p:last-child { margin-bottom: 0; }
.nur-page__body { padding: 62px 0 80px; }
.nur-page__content { max-width: 1060px; margin: 0 auto; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--gal-slate-200); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.06); }
.nur-rich { color: var(--gal-slate-700); font-size: .9rem; line-height: 1.75; }
.nur-rich > *:first-child { margin-top: 0; }
.nur-rich > *:last-child { margin-bottom: 0; }
.nur-rich h1, .nur-rich h2, .nur-rich h3, .nur-rich h4 { color: var(--gal-slate-950); font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.nur-rich h1 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
.nur-rich h2 { margin: 34px 0 12px; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.nur-rich h3 { margin: 27px 0 9px; color: var(--gal-blue-dark); font-size: 1.2rem; }
.nur-rich h4 { margin: 22px 0 7px; color: var(--gal-blue); font-size: 1rem; }
.nur-rich p { margin: 0 0 15px; }
.nur-rich a { color: var(--gal-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.nur-rich a:hover { color: var(--gal-teal); }
.nur-rich ul, .nur-rich ol { margin: 0 0 18px; padding-left: 25px; }
.nur-rich li + li { margin-top: 6px; }
.nur-rich blockquote { margin: 25px 0; padding: 17px 20px; border-left: 4px solid var(--gal-green); border-radius: 0 10px 10px 0; color: var(--gal-slate-700); background: var(--gal-green-soft); }
.nur-rich hr { margin: 35px 0; border: 0; border-top: 1px solid var(--gal-slate-200); }
.nur-content-section { margin: 0 -1px 25px; padding: 22px 0; }
.nur-content-section:last-child { margin-bottom: 0; }
.nur-content-row { display: grid; grid-template-columns: repeat(var(--nur-columns, 1), minmax(0, 1fr)); gap: 25px; align-items: start; margin: 0 0 25px; }
.nur-content-row:last-child { margin-bottom: 0; }
.nur-content-column { min-width: 0; }
.nur-content-card { height: 100%; padding: 22px; border: 1px solid var(--gal-slate-200); border-radius: 14px; background: var(--gal-slate-50); box-shadow: 0 5px 15px rgba(15,23,42,.04); }
.nur-content-card h3 { margin-top: 0; }
.nur-content-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; height: 100%; padding: 24px; border: 1px solid var(--gal-slate-200); border-radius: 14px; background: linear-gradient(145deg, #fff, var(--gal-blue-soft)); }
.nur-content-cta h3 { margin: 0; }
.nur-content-cta p:last-of-type { margin-bottom: 0; }
.nur-content-image { margin: 22px auto; text-align: center; }
.nur-content-image img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(15,23,42,.10); }
.nur-content-image figcaption { margin-top: 8px; color: var(--gal-slate-500); font-size: .72rem; }
.nur-content-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.nur-content-gallery figure { margin: 0; overflow: hidden; border-radius: 11px; background: var(--gal-slate-100); }
.nur-content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.nur-content-gallery a:hover img { transform: scale(1.04); }
.nur-content-docs, .nur-content-posts, .nur-content-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.nur-content-doc, .nur-content-post, .nur-content-child { display: flex; flex-direction: column; min-height: 100%; padding: 19px; border: 1px solid var(--gal-slate-200); border-radius: 13px; background: #fff; box-shadow: 0 5px 15px rgba(15,23,42,.04); }
.nur-content-doc img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 13px; }
.nur-content-doc strong, .nur-content-post strong, .nur-content-child strong { color: var(--gal-slate-900); font-size: .84rem; line-height: 1.35; }
.nur-content-doc a, .nur-content-post a, .nur-content-child a { margin-top: auto; padding-top: 14px; font-size: .72rem; font-weight: 800; }
.nur-content-post__meta { margin-top: 8px; color: var(--gal-slate-500); font-size: .68rem; }
.nur-content-table { overflow-x: auto; margin: 24px 0; }
.nur-content-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .78rem; }
.nur-content-table th, .nur-content-table td { padding: 10px 12px; border: 1px solid var(--gal-slate-200); text-align: left; vertical-align: top; }
.nur-content-table th { color: var(--gal-slate-900); background: var(--gal-blue-soft); font-weight: 800; }
.nur-content-embed { width: 100%; min-height: 320px; margin: 22px 0; border: 0; border-radius: 12px; }
.nur-contact-form { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--gal-slate-200); border-radius: 14px; background: var(--gal-slate-50); }
.nur-contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nur-contact-form label { display: grid; gap: 6px; color: var(--gal-slate-800); font-size: .75rem; font-weight: 700; }
.nur-contact-form input, .nur-contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--gal-slate-300); border-radius: 8px; background: #fff; color: var(--gal-slate-900); font-size: .82rem; }
.nur-contact-form textarea { min-height: 125px; resize: vertical; }
.nur-contact-form input:focus, .nur-contact-form textarea:focus { outline: 2px solid rgba(0,102,153,.25); border-color: var(--gal-blue); }
.nur-contact-form__notice { margin: 0; padding: 11px 13px; border-radius: 8px; color: var(--gal-green-dark); background: var(--gal-green-soft); font-size: .75rem; font-weight: 700; }
.nur-contact-form__notice--error { color: #b91c1c; background: #fef2f2; }
@media (max-width: 800px) {
    .nur-page__hero { padding: 55px 0 62px; }
    .nur-page__body { padding: 40px 0 58px; }
    .nur-page__content { padding: 24px 20px; border-radius: 13px; }
    .nur-content-row { grid-template-columns: 1fr; }
    .nur-content-docs, .nur-content-posts, .nur-content-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nur-content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .nur-content-docs, .nur-content-posts, .nur-content-children, .nur-content-gallery, .nur-contact-form__grid { grid-template-columns: 1fr; }
}
