/*
Theme Name: Çiftin Rotaları
Theme URI: https://ciftinrotalari.com
Author: Çiftin Rotaları
Description: Fotoğraf ağırlıklı, hızlı ve mobil uyumlu çift gezi blogu teması.
Version: 2.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: ciftin-rotalari
*/

:root {
  --paper: #f7f2e9;
  --paper-2: #fffdf8;
  --ink: #203029;
  --muted: #667069;
  --forest: #234c3c;
  --forest-dark: #17382d;
  --terracotta: #c96f4a;
  --sand: #e9dbc6;
  --line: rgba(32, 48, 41, 0.13);
  --shadow: 0 18px 50px rgba(30, 47, 39, 0.10);
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--terracotta); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: #0b0c0b;
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-wrap { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 850; letter-spacing: -0.03em; font-size: 20px; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; color: #0b0c0b; background: #efb82e; border-radius: 50%; font-size: 19px; }
.brand-tagline { padding-left: 18px; color: rgba(255,255,255,.68); border-left: 1px solid rgba(255,255,255,.2); font-size: 12px; }
.custom-logo { max-height: 48px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.main-nav a { display: block; padding: 26px 0 23px; color: #fff; font-size: 14px; font-weight: 750; }
.main-nav .current-menu-item > a, .main-nav a:hover { color: var(--terracotta); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; cursor: pointer; }

.hero { overflow: hidden; position: relative; display: flex; min-height: 600px; padding: 90px 0; align-items: center; color: #fff; background-color: #243b31; background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.35)), linear-gradient(0deg, rgba(0,0,0,.25), transparent 55%); }
.hero-inner { position: relative; display: block; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #f2d99d; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 900px; margin: 0 auto 23px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(56px, 8vw, 106px); font-style: italic; font-weight: 400; letter-spacing: -.055em; line-height: .95; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
.hero-copy { max-width: 690px; margin: 0 auto 27px; color: rgba(255,255,255,.88); font-size: 19px; }
.hero-search { display: flex; width: min(100%, 680px); min-width: 0; margin: 0 auto; padding: 7px; background: #fff; border-radius: 4px; box-shadow: 0 14px 45px rgba(0,0,0,.2); }
.hero-search input { min-width: 0; flex: 1; padding: 12px 15px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.hero-search button { flex: none; min-width: 96px; padding: 0 20px; color: #fff; background: #252525; border: 0; border-radius: 3px; font-size: 12px; font-weight: 850; cursor: pointer; }
.hero-search button:hover { background: var(--terracotta); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; color: #fff; background: var(--terracotta); border: 0; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { color: #fff; background: #b85e3d; transform: translateY(-2px); }
.button-light { color: var(--forest); background: #fff; }
.button-light:hover { color: var(--forest); background: var(--paper); }
.hero-visual { position: relative; min-height: 430px; }
.hero-photo, .hero-placeholder { overflow: hidden; position: absolute; inset: 0 38px 0 0; border-radius: 180px 180px 28px 28px; box-shadow: 0 25px 70px rgba(0,0,0,.24); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #dfb894, #b95f42 55%, #193d30); }
.hero-placeholder span { font-family: Georgia, serif; font-size: 82px; opacity: .9; }
.hero-note { position: absolute; right: 0; bottom: 32px; max-width: 190px; padding: 18px; color: var(--ink); background: var(--paper-2); border-radius: 16px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; line-height: 1.45; transform: rotate(2deg); }

.section { padding: 88px 0; }
.latest-section { background: #f3f3f3; }
.latest-section > .wrap { padding: 68px; background: #fff; }
.section-soft { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-kicker { margin: 0 0 7px; color: var(--terracotta); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.text-link { flex: none; padding-bottom: 4px; color: var(--forest); border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 800; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 28px; }
.post-card { display: block; align-self: start; min-width: 0; height: auto; }
.card-image { display: block; overflow: hidden; position: relative; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 19px; background: var(--sand); border-radius: var(--radius); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .card-image img { transform: scale(1.035); }
.card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.85); background: linear-gradient(135deg, #d99a72, #315c49); font-family: Georgia, serif; font-size: 44px; }
.post-card:nth-child(3n+2) .card-placeholder { background: linear-gradient(135deg, #315c49, #87a48f); }
.post-card:nth-child(3n+3) .card-placeholder { background: linear-gradient(135deg, #c96f4a, #e7bd8d); }
.card-placeholder small { display: block; font-family: Inter, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-align: center; text-transform: uppercase; }
.card-placeholder b { display: block; font-weight: 500; text-align: center; }
.card-category { display: inline-block; margin-bottom: 8px; color: var(--terracotta); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.card-title { margin: 0 0 10px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 25px; font-weight: 850; letter-spacing: -.035em; line-height: 1.16; }
.card-excerpt { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-meta { margin-top: 14px; color: var(--muted); font-size: 12px; font-weight: 700; }
.card-read-more { display: inline-block; margin-top: 15px; padding-bottom: 2px; color: var(--ink); border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 850; }
.card-read-more:hover { color: var(--terracotta); border-color: var(--terracotta); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { display: flex; align-items: center; justify-content: space-between; min-height: 126px; padding: 25px; color: #fff; background: var(--forest); border-radius: 18px; }
.category-card:nth-child(2) { background: var(--terracotta); }
.category-card:nth-child(3) { color: var(--forest); background: var(--sand); }
.category-card strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 600; }
.category-card span { font-size: 12px; opacity: .75; }
.category-card b { font-size: 24px; font-weight: 400; transition: transform .2s; }
.category-card:hover { color: #fff; }
.category-card:nth-child(3):hover { color: var(--forest); }
.category-card:hover b { transform: translateX(4px); }

.intro-band { padding: 74px 0; background: var(--forest); color: #fff; }
.intro-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.intro-monogram { display: grid; width: 230px; height: 230px; place-items: center; margin: auto; color: var(--forest); background: var(--paper); border-radius: 50%; font-family: Georgia, serif; font-size: 76px; box-shadow: inset 0 0 0 14px rgba(35,76,60,.08); }
.intro-band h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-weight: 500; line-height: 1.05; }
.intro-band p { max-width: 650px; color: rgba(255,255,255,.73); }
.instagram-band { padding: 28px 0; color: var(--forest); background: var(--sand); }
.instagram-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.instagram-copy { display: flex; align-items: center; gap: 14px; }
.instagram-icon { display: grid; width: 45px; height: 45px; flex: none; place-items: center; color: #fff; background: var(--terracotta); border-radius: 14px; font-size: 19px; font-weight: 800; }
.instagram-icon svg, .instagram-button svg, .footer-social-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.instagram-button svg { width: 17px; height: 17px; }
.footer-social-icon { display: inline-flex; align-items: center; gap: 7px; }
.footer-social-icon svg { width: 16px; height: 16px; }
.instagram-copy strong { display: block; font-family: Georgia, serif; font-size: 22px; line-height: 1.15; }
.instagram-copy span { color: var(--muted); font-size: 13px; }
.instagram-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; color: #fff; background: var(--forest); border-radius: 999px; font-size: 13px; font-weight: 800; }
.instagram-button:hover { color: #fff; background: var(--forest-dark); transform: translateY(-1px); }

.page-hero { padding: 76px 0 58px; text-align: center; background: var(--paper); }
.page-hero h1 { max-width: 850px; margin: 0 auto 14px; font-family: Georgia, serif; font-size: clamp(42px, 7vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.page-hero p { max-width: 650px; margin: auto; color: var(--muted); }
.article-shell { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 58px 0 90px; }
.article-cover { width: min(calc(100% - 40px), 1100px); margin: 48px auto 0; }
.article-cover img { width: 100%; max-height: 690px; object-fit: cover; border-radius: 28px; }
.article-meta { margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumbs { margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--terracotta); }
.entry-content { font-size: 18px; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; max-width: 100%; }
.entry-content pre { overflow-x: auto; max-width: 100%; }
.entry-content > * { margin-top: 0; margin-bottom: 1.45em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; margin-bottom: .55em; font-family: Georgia, serif; line-height: 1.14; letter-spacing: -.025em; }
.entry-content h2 { font-size: 38px; }
.entry-content h3 { font-size: 29px; }
.entry-content a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2em 0; padding: 12px 0 12px 27px; border-left: 4px solid var(--terracotta); font-family: Georgia, serif; font-size: 25px; line-height: 1.35; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img, .entry-content > img, .entry-content figure img { border-radius: 14px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { display: block; font-weight: 750; }
.post-nav .nav-next { text-align: right; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 36px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row strong { margin-right: 5px; font-size: 13px; }
.share-button { padding: 8px 13px; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 800; }
.share-button:hover { color: #fff; background: var(--forest); }
.author-box { display: grid; grid-template-columns: 74px 1fr; gap: 20px; margin-top: 34px; padding: 25px; background: var(--paper); border-radius: 18px; }
.author-mark { display: grid; width: 74px; height: 74px; place-items: center; color: #fff; background: var(--forest); border-radius: 50%; font-family: Georgia, serif; font-size: 25px; }
.author-box h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 25px; }
.author-box p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.author-box a { color: var(--terracotta); font-size: 13px; font-weight: 800; }
.related-posts { width: min(calc(100% - 40px), var(--wrap)); margin: 0 auto; padding: 0 0 88px; }
.related-posts .section-head { margin-bottom: 27px; }
.comments-area { margin-top: 58px; padding-top: 42px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { margin: 0 0 26px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: -.03em; }
.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-list .children { margin-left: 38px; list-style: none; }
.comment-body { margin-bottom: 18px; padding: 24px; background: var(--paper); border-radius: 16px; }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author .avatar { width: 38px; height: 38px; border-radius: 50%; }
.comment-metadata { color: var(--muted); font-size: 11px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply a { color: var(--terracotta); font-size: 12px; font-weight: 800; }
.comment-respond { margin-top: 38px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(201,111,74,.12); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; }
.comment-form-cookies-consent label { font-weight: 500; }
.form-submit .submit { min-height: 48px; padding: 0 22px; color: #fff; background: var(--terracotta); border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }
.form-submit .submit:hover { background: #b85e3d; }
.archive-wrap { padding: 70px 0 90px; }
.archive-description { max-width: 700px; color: var(--muted); }
.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers { display: inline-grid; min-width: 42px; height: 42px; margin: 3px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; }
.pagination .current { color: #fff; background: var(--forest); border-color: var(--forest); }
.empty-state { padding: 45px; text-align: center; background: var(--paper); border-radius: var(--radius); }
.empty-state h3 { margin-top: 0; font-family: Georgia, serif; font-size: 30px; }
.entry-content details { margin: 0 0 12px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.entry-content summary { cursor: pointer; color: var(--forest); font-weight: 800; }
.entry-content details p { margin: 12px 0 0; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.contact-card { padding: 22px; background: var(--paper); border-radius: 16px; }
.contact-card strong { display: block; margin-bottom: 5px; color: var(--forest); }
.contact-form { margin-top: 30px; padding: 28px; background: var(--paper); border-radius: 18px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { margin-bottom: 16px; }
.contact-field-full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(201,111,74,.12); }
.contact-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; }
.contact-alert { margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.contact-alert-success { color: #155f3e; background: #dbf2e5; }
.contact-alert-error { color: #8b302d; background: #f8dfdd; }
.ciftin-hp { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 64px 0 24px; color: rgba(255,255,255,.72); background: #142c23; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; padding-bottom: 54px; }
.footer-brand { color: #fff; font-family: Georgia, serif; font-size: 29px; }
.footer-copy { max-width: 420px; font-size: 14px; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin: 7px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 900px) {
  .site-header, .admin-bar .site-header { position: relative; top: auto; }
  .header-inner { position: relative; justify-content: center; }
  .menu-toggle { display: grid; position: absolute; left: 0; place-items: center; }
  .brand-tagline { display: none; }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 19px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .main-nav { display: none; overflow-y: auto; position: absolute; z-index: 1000; top: 100%; right: 0; left: 0; max-height: calc(100vh - 68px); padding: 12px 20px 28px; background: #0b0c0b; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; }
  .main-nav a { padding: 15px 5px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); font-family: Georgia, serif; font-size: 24px; line-height: 1.2; }
  .main-nav .sub-menu { padding-left: 16px; }
  .main-nav .sub-menu a { font-size: 19px; }
  .hero { min-height: 540px; padding: 70px 0; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-section > .wrap { padding: 45px; }
  .category-grid { grid-template-columns: 1fr; }
  .intro-inner { grid-template-columns: 1fr; text-align: center; }
  .intro-band p { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap, .article-shell, .article-cover { width: min(calc(100% - 28px), var(--wrap)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 490px; padding: 58px 0; }
  .hero h1 { font-size: clamp(47px, 14vw, 64px); overflow-wrap: anywhere; }
  .hero-copy { font-size: 16px; line-height: 1.62; }
  .hero-search { padding: 5px; }
  .hero-search input { padding: 10px; font-size: 12px; }
  .hero-search button { min-width: 68px; padding: 0 12px; }
  .section { padding: 65px 0; }
  .latest-section > .wrap { width: 100%; padding: 40px 20px; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .post-grid { display: block; }
  .post-card { width: 100%; margin-bottom: 42px; }
  .post-card:last-child { margin-bottom: 0; }
  .section-head .text-link { align-self: flex-start; }
  .card-title { font-size: 29px; }
  .intro-monogram { width: 170px; height: 170px; font-size: 58px; }
  .page-hero { padding: 56px 0 42px; }
  .page-hero h1 { overflow-wrap: anywhere; }
  .article-shell { padding-top: 40px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .nav-next { text-align: left; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-field-full { grid-column: auto; }
  .author-box { grid-template-columns: 1fr; }
  .instagram-inner { align-items: flex-start; flex-direction: column; }
  .instagram-button { width: 100%; justify-content: center; }
  .comment-list .children { margin-left: 14px; padding-left: 0; }
  .comment-meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .wrap, .article-shell, .article-cover, .related-posts { width: min(calc(100% - 22px), var(--wrap)); }
  .brand { max-width: calc(100vw - 86px); font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner { min-height: 62px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 15px; }
  .section-title { font-size: 35px; }
  .card-title { font-size: 26px; }
  .contact-form, .comment-body, .author-box { padding: 18px; }
  .share-row { align-items: stretch; flex-direction: column; }
  .share-button { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
