:root {
    --ink: #183334;
    --deep: #113b3b;
    --accent: #b5e0cf;
    --primary: #0d665c;
    --gold: #f8b564;
    --cream: #f6f3e9;
    --soft: #edf5ef;
    --muted: #48635f;
    --outline: #cbd9d2;
    --white: #fff;
    --shadow: 0 12px 40px #12393910;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 124px; }
html:has(body.admin-bar) { scroll-padding-top: 156px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.65 system-ui, -apple-system, sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b15c15; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.043em; margin: 0 0 13px; }
h1 { font-size: clamp(38px, 5vw, 72px); }
h2 { font-size: clamp(27px, 3.25vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 17px; }
.container { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.section-pad { padding-block: clamp(42px, 6vw, 84px); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 8px auto auto 8px; z-index: 100; padding: 10px 18px; background: white; color: var(--deep); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
}
.button-primary { background: var(--gold); color: #302707; }
.button-primary:hover { background: #ffd098; }
.button-outline { border-color: var(--outline); color: var(--deep); background: white; }
.button-outline:hover { background: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-header { position: sticky; inset-block-start: 0; z-index: 10; background: white; border-bottom: 1px solid #e6ede8; }
.admin-bar .site-header { inset-block-start: 32px; }
.masthead { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 clamp(174px, 18vw, 222px); }
.brand img { width: 100%; }
.main-navigation { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.main-navigation a:not(.button) { font-size: 13px; font-weight: 650; text-decoration: none; text-underline-offset: 6px; padding-block: 12px; }
.main-navigation a:hover:not(.button) { color: var(--primary); text-decoration: underline; }
.menu-toggle { display: none; border: 1px solid var(--outline); background: white; min-height: 44px; border-radius: 8px; padding: 8px 13px; color: var(--deep); }
.menu-toggle span { padding-inline-start: 4px; }

.hero { position: relative; isolation: isolate; background: #edf5f4; color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(460px, 43vw, 680px); }
.hero-content { position: relative; z-index: 1; max-width: 580px; padding-block: 50px; }
.eyebrow { color: var(--primary); letter-spacing: .13em; font-size: 12px; font-weight: 750; }
.hero h1 { margin-bottom: 17px; font-size: clamp(43px, 4.45vw, 68px); line-height: 1.04; }
.hero h1 span { display: block; color: var(--primary); }
.hero-description { color: var(--muted); max-width: 46ch; font-size: clamp(16px, 1.45vw, 19px); margin: 0 0 24px; }
.hero-photo { position: absolute; inset: 0 0 0 39%; margin: 0; overflow: hidden; background: #d8e7e7; }
.hero-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #edf5f4 0%, #edf5f4e8 9%, #edf5f456 29%, transparent 54%); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.hero-photo figcaption { position: absolute; z-index: 1; right: clamp(20px, 4vw, 60px); bottom: 24px; background: #fff; color: var(--deep); padding: 9px 13px; border-radius: 7px; font-size: 13px; font-weight: 650; box-shadow: var(--shadow); }

.finder { background: white; border: 1px solid #cfdedb; border-radius: 10px; color: var(--ink); box-shadow: 0 14px 34px #173b3d17; }
.finder-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #d9e6e1; background: #f3f8f7; border-radius: 9px 9px 0 0; }
.finder-tabs button { border: 0; padding: 9px 5px; min-height: 46px; background: transparent; font-size: 13px; line-height: 1.2; font-weight: 700; color: var(--deep); }
.finder-tabs button:first-child { border-top-left-radius: 9px; }
.finder-tabs button:last-child { border-top-right-radius: 9px; }
.finder-tabs button:hover { background: #e0efeb; }
.finder-tabs button[aria-selected="true"] { background: var(--deep); color: #fff; }
.finder-panel { padding: 10px 12px 7px; }
.finder-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.finder-search input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #afc3bc; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.finder-links, .finder-choices { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.finder-links a, .finder-choices a { padding-block: 7px; font-size: 13px; font-weight: 650; color: #10544b; text-underline-offset: 3px; }
.finder-choices a { padding-inline: 10px; background: var(--soft); border-radius: 5px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 56ch; }
.text-action { color: var(--primary); font-weight: 700; text-underline-offset: 5px; }
.destination-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.destination-card { position: relative; display: block; overflow: hidden; color: white; border: 1px solid #dfebe6; border-radius: 12px; background: var(--deep); text-decoration: none; box-shadow: var(--shadow); }
.destination-photo { position: relative; background-color: #3d615d; }
.destination-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, #092722f5 0%, #092722ab 24%, transparent 67%); }
.destination-flag {
    position: absolute;
    inset: 13px 13px auto auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid #e1e9e5;
    background: #fff;
    box-shadow: 0 3px 10px #142b2a30;
}
.destination-flag img { width: 28px; height: 20px; object-fit: contain; }
.destination-copy { position: absolute; inset: auto 0 0; padding: 14px 17px; }
.destination-copy h3 { margin-bottom: 4px; }
.destination-copy span { color: #e7f0e9; font-size: 13px; }
.destination-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.country-directory { margin-top: 20px; border: 1px solid var(--outline); border-radius: 10px; padding: 0 15px; }
.country-directory summary { padding: 12px 0; font-weight: 700; }
.country-directory summary span { font-size: 13px; color: var(--muted); margin-left: 6px; }
.country-directory ul { list-style: none; margin: 0 0 15px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.country-directory a { display: block; text-decoration: none; border-radius: 6px; padding: 8px; }
.country-directory a:hover { background: var(--soft); text-decoration: underline; }
.country-status { color: var(--muted); }
.tinted { background: var(--soft); }

.type-grid, .faq-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.guide-card, .contact-panel, .contact-details, .article-aside { min-width: 0; border: 1px solid var(--outline); border-radius: 13px; padding: clamp(18px, 3vw, 30px); background: white; }
.type-grid { grid-template-columns: 1fr; }
.type-card { min-width: 0; }
.type-card ul, .schengen-card ul { list-style: none; padding: 0; margin: 0; }
.type-card ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.type-card li a { display: block; height: 100%; padding: 16px; border: 1px solid var(--outline); border-radius: 10px; background: white; text-decoration: none; }
.type-card li a:hover { border-color: var(--primary); }
.type-card li a:hover strong { text-decoration: underline; }
.type-card li a strong { color: var(--primary); }
.type-card li a span { display: block; color: var(--muted); font-size: 14px; }
.guide-card p { color: var(--muted); margin-bottom: 0; }
.schengen-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px 45px; align-items: center; padding: clamp(22px, 4vw, 48px); border-radius: 17px; background: var(--deep); color: white; }
.schengen-card p { color: #dfede7; }
.schengen-card li + li { border-top: 1px solid #68928a; }
.schengen-card li a { display: block; padding-block: 10px; text-underline-offset: 4px; }
.guide-card h2, .guide-card h3 { font-size: 22px; }
.guide-card a, .prose a { color: var(--primary); text-underline-offset: 4px; }
.faq-list details { padding: 14px 0; border-top: 1px solid #bdcfc7; }
.faq-list summary { font-weight: 700; }
.faq-list details p { margin-top: 10px; margin-bottom: 0; }
.contact-band { background: var(--cream); }

.page-heading { padding-block: 28px 34px; background: var(--cream); }
.page-heading h1 { font-size: clamp(33px, 4.7vw, 60px); margin: 10px 0 0; }
.breadcrumb { font-size: 13px; color: var(--primary); }
.contact-grid { align-items: start; gap: clamp(20px, 5vw, 60px); }
.contact-panel { box-shadow: var(--shadow); }
.contact-panel h2, .contact-details h2, .article-aside h2 { font-size: clamp(22px, 2.6vw, 32px); }
.contact-details address { font-style: normal; margin-bottom: 15px; }
.contact-details address a { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.form-fields label { display: block; font-size: 13px; font-weight: 650; }
.form-fields input:not([type="hidden"], [type="submit"], [type="checkbox"], [type="radio"]), .form-fields select, .form-fields textarea {
    display: block;
    width: 100%;
    min-height: 45px;
    margin-top: 5px;
    padding: 8px 10px;
    border: 1px solid #a9bfb5;
    border-radius: 7px;
    background: white;
    color: var(--ink);
    font-size: 16px;
}
.form-fields input[type="submit"] { cursor: pointer; min-height: 46px; border: 0; border-radius: 8px; background: var(--primary); color: white; font-weight: 700; padding: 10px 18px; width: 100%; }
.form-fields form.submitting input[type="submit"] { opacity: .65; pointer-events: none; }
.form-notice, .form-fields .small { font-size: 12px; color: var(--muted); }
.form-notice a { color: var(--primary); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: clamp(22px, 4vw, 65px); align-items: start; }
.prose { min-width: 0; max-width: 88ch; overflow-wrap: anywhere; }
.prose h2 { margin-top: 34px; font-size: clamp(24px, 3vw, 34px); }
.prose h3 { margin-top: 21px; }
.prose img, .prose iframe { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 10px; border: 1px solid var(--outline); }
.prose figure { margin-inline: 0; }
.guide-heading { background: linear-gradient(105deg, #edf5ef, #f6f3e9); padding-block: clamp(24px, 5vw, 65px); }
.guide-heading h1 { max-width: 24ch; overflow-wrap: anywhere; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 11px; font-size: 14px; color: var(--primary); }
.guide-deck { max-width: 62ch; color: var(--muted); margin: 14px 0 0; font-size: clamp(16px, 1.5vw, 20px); }
.guide-reading { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: clamp(24px, 5vw, 76px); align-items: start; }
.guide-rail { display: grid; gap: 14px; min-width: 0; }
.guide-contents, .guide-support { border: 1px solid var(--outline); border-radius: 14px; }
.guide-contents { background: var(--white); padding: 14px 18px; }
.guide-contents summary { cursor: pointer; font-weight: 750; color: var(--deep); }
.guide-contents ol { margin: 10px 0 0; padding-inline-start: 21px; font-size: 14px; }
.guide-contents li + li { margin-top: 7px; }
.guide-contents a { color: var(--primary); overflow-wrap: anywhere; }
.guide-support { padding: 18px; background: var(--deep); color: var(--white); }
.guide-support h2 { font-size: 19px; margin: 0 0 7px; }
.guide-support p { margin: 0 0 12px; font-size: 14px; color: #e4f3ec; }
.guide-article { width: 100%; max-width: 78ch; }
.guide-article > :first-child { margin-top: 0; }
.catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 640px; padding: 0; margin-top: 22px; }
.catalog-group { margin-top: 22px; }
.catalog-group + .catalog-group { margin-top: 42px; }
.catalog-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; list-style: none; padding: 0; }
.catalog-links a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--outline); border-radius: 8px; color: var(--primary); font-weight: 650; overflow-wrap: anywhere; }
.catalog-links a:hover { background: var(--soft); }
.guide-heading .actions { margin-top: 20px; }
.purpose-section + .purpose-section { padding-top: 0; }
.purpose-end { padding-bottom: clamp(42px, 6vw, 84px); }
.library-card .library-card-title { font-size: clamp(19px, 2vw, 24px); }
.visual-planlama { background-image: url("basvuru-planlama.webp"); }
.contact-details { background: var(--soft); }
@media (min-width: 901px) {
    .guide-rail { position: sticky; top: 132px; }
    .admin-bar .guide-rail { top: 164px; }
    .guide-contents ol { max-height: min(35vh, 340px); overflow-y: auto; padding-bottom: 4px; }
}
@media (max-width: 900px) {
    .guide-reading { grid-template-columns: minmax(0, 1fr); }
}
.navigation.pagination { grid-column: 1 / -1; }

.site-footer { color: #ecf2ed; background: #122f33; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer-grid h2 { font-size: 17px; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: 9px; font-size: 14px; }
.footer-grid .footer-brand { font-weight: 700; font-size: 22px; text-decoration: none; }
.footer-bottom { margin-top: 25px; padding-block: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #53716d; font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 15px; }

@media (min-width: 901px) and (max-width: 1050px) {
    .masthead { gap: 14px; }
    .main-navigation { gap: 11px; }
}
@media (max-width: 900px) {
    html { scroll-padding-top: 94px; }
    html:has(body.admin-bar) { scroll-padding-top: 122px; }
    .container { width: calc(100% - 42px); }
    .hero-grid { min-height: 420px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
    .brand { flex-basis: 150px; }
    .masthead { min-height: 76px; flex-wrap: wrap; gap: 0 15px; }
    .menu-toggle { display: block; }
    .menu-toggle[aria-expanded="false"]:not([hidden]) + .main-navigation { display: none; }
    .main-navigation { display: grid; flex: 0 0 100%; gap: 2px; padding: 0 0 15px; }
    .main-navigation .button { justify-self: start; }
}
@media (max-width: 782px) {
    html:has(body.admin-bar) { scroll-padding-top: 137px; }
    .admin-bar .site-header { inset-block-start: 46px; }
}
@media (max-width: 760px) {
    .hero-grid, .article-layout, .schengen-card { grid-template-columns: 1fr; }
    .hero-grid { min-height: 0; }
    .hero-content { padding-block: 28px 18px; }
    .hero h1 { font-size: clamp(40px, 9vw, 59px); }
    .hero-photo { position: relative; inset: auto; aspect-ratio: 1.85; margin-inline: -21px; }
    .hero-photo::after { background: linear-gradient(180deg, #edf5f4 0%, #edf5f4a3 9%, transparent 34%); }
    .hero-photo figcaption { right: 15px; bottom: 13px; }
    .destination-grid, .guide-grid, .country-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
    html:has(body.admin-bar) { scroll-padding-top: 94px; }
    .admin-bar .site-header { inset-block-start: 0; }
    .contact-grid, .faq-grid, .type-grid, .footer-grid { grid-template-columns: 1fr; }
    .type-card ul { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 390px) {
    .container { width: calc(100% - 30px); }
    .hero-photo { margin-inline: -15px; }
    .finder-search { grid-template-columns: 1fr; }
    .destination-copy { padding-inline: 10px; }
    .destination-copy h3 { font-size: 18px; }
    .destination-copy span { font-size: 11px; }
}
@media (max-height: 560px) and (max-width: 900px) {
    .main-navigation { max-height: 65dvh; overflow-y: auto; }
}

/* Six aligned photographs share a single compressed image. */
.destination-photo {
    aspect-ratio: 1.26;
    background-image: url("destinations.webp");
    background-size: 300% 200%;
}
.photo-fransa-vizesi { background-position: 0 0; }
.photo-almanya-vizesi { background-position: 50% 0; }
.photo-italya-vizesi { background-position: 100% 0; }
.photo-ispanya-vizesi { background-position: 0 100%; }
.photo-amerika-vizesi { background-position: 50% 100%; }
.photo-ingiltere-vizesi { background-position: 100% 100%; }

/* Photography for each journey type and selected editorial cards. */
.type-grid { gap: 27px; }
.type-card h3 { margin-bottom: 12px; }
.type-card ul { gap: 16px; }
.type-card li a {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 5px 16px #173b3d0a;
}
.type-copy { flex: 1; padding: 17px 18px; }
.type-copy strong { font-size: 17px; }
.type-copy span { margin-top: 4px; }
.type-photo { aspect-ratio: 2.45; }
.story-photo, .library-photo { background-color: #d9e7e0; }
.story-photo, .library-photo[class*="visual-"] { background-size: cover; background-position: center 35%; }
.type-photo.story-photo { background-position: center 12%; }
.visual-turistik { background-image: url("vize-turistik.webp"); }
.visual-ticari { background-image: url("vize-ticari.webp"); }
.visual-ziyaret { background-image: url("vize-ziyaret.webp"); }
.visual-egitim { background-image: url("vize-egitim.webp"); }
.visual-calisma { background-image: url("vize-calisma.webp"); }
.visual-oturum { background-image: url("vize-oturum.webp"); }
.visual-schengen { background-image: url("varenna-640.webp"); }

/* Application steps grouped with a visual introduction. */
.journey-section { background: #f2f6f1; padding-block: clamp(38px, 4.3vw, 62px); }
.journey-section + .schengen-section { margin-top: clamp(26px, 3vw, 42px); }
.journey-layout {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.25fr);
    gap: clamp(18px, 3.5vw, 46px);
}
.journey-intro {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: var(--deep);
    color: #fff;
}
.journey-intro-copy { padding: clamp(24px, 3.2vw, 42px); }
.journey-intro h2 { margin-bottom: 14px; }
.journey-intro p { color: #deede6; max-width: 36ch; margin-bottom: 21px; }
.journey-photo { width: 100%; flex: 1; height: 0; min-height: 198px; object-fit: cover; object-position: center 55%; }
.journey-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 4px 24px;
    list-style: none;
    border: 1px solid var(--outline);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.journey-step {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding-block: 18px;
}
.journey-step + .journey-step { border-top: 1px solid #e2ebe4; }
.journey-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 60px;
    bottom: -18px;
    border-inline-start: 1px solid #b2d1c6;
}
.journey-number {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #c9e2d6;
    border-radius: 10px;
    background: #e8f4ed;
    color: #125a51;
    font-size: 15px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}
.journey-step:first-child .journey-number { background: var(--deep); border-color: var(--deep); color: #fff; }
.journey-step h3 { margin: 0 0 5px; font-size: clamp(18px, 2vw, 23px); letter-spacing: -.027em; }
.journey-step p { max-width: 58ch; margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.journey-step a { color: var(--primary); font-weight: 700; font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.journey-step a span { margin-inline-start: 2px; text-decoration: none; display: inline-block; }

@media (max-width: 850px) {
    .journey-layout { grid-template-columns: 1fr; }
    .journey-photo { flex: none; height: clamp(140px, 28vw, 225px); min-height: 0; }
}
@media (max-width: 600px) {
    .journey-steps { padding-inline: 13px; }
    .journey-step { gap: 10px; padding-block: 15px; }
    .journey-step:not(:last-child)::before { top: 57px; bottom: -15px; }
    .destination-flag { inset-block-start: 8px; inset-inline-end: 8px; width: 35px; height: 27px; }
    .destination-flag img { width: 24px; height: 16px; }
}

.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.library-card { min-width: 0; overflow: hidden; border-radius: 11px; border: 1px solid var(--outline); box-shadow: var(--shadow); }
.library-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.library-card > a:focus-visible { outline-offset: -4px; }
.library-photo { aspect-ratio: 1.9; }
.library-photo img { width: 100%; height: 100%; object-fit: cover; }
.library-photo[class*="photo-"] { background-image: url("destinations.webp"); background-size: 300% 200%; }
.library-copy { display: flex; flex-direction: column; flex: 1; align-items: start; padding: 15px 16px; }
.library-topic { background: var(--soft); color: var(--primary); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.library-copy h3 { font-size: 19px; letter-spacing: -.025em; margin: 9px 0 6px; }
.library-copy p { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
.library-read { margin-top: auto; color: var(--primary); font-size: 13px; font-weight: 700; }
.library-card a:hover .library-read { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
    .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .type-card ul { grid-template-columns: 1fr; gap: 10px; }
    .type-card li a { display: grid; grid-template-columns: minmax(0, 1fr) 38%; }
    .type-copy { padding: 11px; }
    .type-copy strong { font-size: 15px; }
    .type-copy span { font-size: 12px; line-height: 1.45; }
    .type-photo { min-height: 86px; aspect-ratio: auto; }
    .library-grid { gap: 10px; }
    .library-copy { padding: 11px; }
    .library-copy h3 { font-size: 16px; }
    .library-photo { aspect-ratio: 1.45; }
}
