/* Seyir Defteri - Phase 3: home page + story cards (2026-10-29) */

/* Home page: drop the white box so the hero can run full width */
html, body, .site { overflow-x: clip; }
body.home .content-area { margin-top: 0; margin-bottom: 72px; }
body.home .entry.single-entry { background: transparent; box-shadow: none; }
body.home .entry.single-entry .entry-content-wrap { padding: 0; }
body.home .entry-content > * { max-width: none; }

/* Hero */
.seyir-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: min(72vh, 620px); min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.seyir-hero .seyir-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 60%; }
.seyir-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,42,54,.55) 0%, rgba(31,42,54,.15) 55%, rgba(31,42,54,0) 100%), linear-gradient(180deg, rgba(31,42,54,0) 30%, rgba(31,42,54,.7) 100%); }
.seyir-hero h1, .seyir-hero p { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.seyir-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px 56px; }
.seyir-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 0 0 14px; max-width: 15ch; letter-spacing: -0.01em; }
.seyir-hero p { font-family: 'Seyir Lora', Georgia, serif; font-size: 19px; line-height: 1.6; color: #fff; max-width: 44ch; margin: 0 0 24px; }
.seyir-btn { display: inline-block; background: #1F5E6B; color: #fff !important; font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 8px; text-decoration: none !important; min-height: 44px; }
.seyir-btn:hover { background: #174A55; }

/* Sections */
.seyir-section { max-width: 1200px; margin: 72px auto 0; padding: 0 24px; }
.seyir-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px dotted #E4DCCF; padding-bottom: 12px; margin-bottom: 28px; }
.seyir-sec-head h2 { font-size: 28px; margin: 0; padding: 0; border: 0; }
.seyir-sec-head a { font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 14px; font-weight: 600; color: #1F5E6B; text-decoration: none; white-space: nowrap; }
.seyir-sec-head a:hover { color: #A24A28; }

/* Story cards */
.seyir-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.seyir-card { background: #fff; border: 1px solid #E4DCCF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.seyir-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #E4DCCF; }
.seyir-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.seyir-card:hover .seyir-card-img img { transform: scale(1.03); }
.seyir-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.seyir-stamp { align-self: flex-start; font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A24A28 !important; border: 1.5px solid #A24A28; border-radius: 4px; padding: 3px 8px; text-decoration: none !important; }
.seyir-card-title { font-size: 20px; line-height: 1.3; margin: 12px 0 8px; }
.seyir-card-title a { color: #1F2A36; text-decoration: none; }
.seyir-card-title a:hover { color: #1F5E6B; }
.seyir-card-excerpt { font-family: 'Seyir Lora', Georgia, serif; font-size: 16px; line-height: 1.6; color: #1F2A36; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seyir-card-log { margin: auto 0 0; font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #5B6670; }

/* Featured routes */
.seyir-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.seyir-route { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; text-decoration: none !important; background: #1F2A36; }
.seyir-route img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.seyir-route:hover img { transform: scale(1.04); }
.seyir-route::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,42,54,0) 45%, rgba(31,42,54,.78) 100%); }
.seyir-route-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; }
.seyir-route-name { display: block; font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1; color: #fff; }
.seyir-route-count { display: block; margin-top: 6px; font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .9; }

@media (max-width: 960px) {
  .seyir-cards { grid-template-columns: repeat(2, 1fr); }
  .seyir-routes { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .seyir-route-name { font-size: 22px; }
}
@media (max-width: 640px) {
  .seyir-hero { height: 78vh; min-height: 460px; }
  .seyir-hero-inner { padding: 0 20px 40px; }
  .seyir-hero p { font-size: 17px; }
  .seyir-section { margin-top: 56px; padding: 0 16px; }
  .seyir-sec-head h2 { font-size: 23px; }
  .seyir-cards { grid-template-columns: 1fr; gap: 20px; }
  .seyir-routes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 6px; }
  .seyir-route { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Blog page: same card language for the Kadence post list */
body.seyir-p3 .loop-entry .entry-meta .posted-by { display: none; }
body.seyir-p3 .loop-entry .entry-meta { font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #5B6670; }
body.seyir-p3 .loop-entry .entry-summary p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.seyir-p3 .loop-entry .post-thumbnail-inner img { transition: transform .4s ease; }
body.seyir-p3 .loop-entry:hover .post-thumbnail-inner img { transform: scale(1.03); }
/* Mobile header: keep the site name on one line */
@media (max-width: 640px) {
  .site-header .site-branding .site-title { font-size: 17px; line-height: 1.2; white-space: nowrap; }
  .site-header .site-branding .custom-logo { max-width: 48px; }
}
/* Seyir haritası (2026-10-30) */
.seyir-map-count { font-family: 'Seyir Montserrat', Montserrat, sans-serif; font-size: 14px; color: #5B6670; margin: -12px 0 18px; }
.seyir-map-wrap { background: #fff; border: 1px solid #E4DCCF; border-radius: 12px; padding: 16px; overflow: hidden; }
.seyir-map-svg { display: block; width: 100%; height: auto; }
.seyir-map-off { fill: #E4DCCF; stroke: #fff; stroke-width: .6; }
.seyir-map-on { fill: #A24A28; stroke: #fff; stroke-width: .6; transition: fill .2s ease; cursor: pointer; }
.seyir-map-svg a:hover .seyir-map-on, .seyir-map-svg a:focus .seyir-map-on { fill: #1F5E6B; }
.seyir-map-svg a:focus { outline: none; }
@media (max-width: 640px) { .seyir-map-wrap { padding: 8px; margin: 0 -8px; } }
/* Phase 5: 404 page extras (2026-10-30) */
.error .seyir-404-extra { margin-top: 48px; }
.error .seyir-404-countries { margin-top: 48px; }
.error .seyir-404-extra .seyir-sec-head h2 { font-size: 24px; }
/* About page (2026-10-30) */
.seyir-about-photo img { border-radius: 12px; }
.seyir-about-photo.alignleft { margin: 6px 28px 16px 0; }
.page .entry-content .seyir-map { padding: 0; margin-top: 56px; clear: both; }
@media (max-width: 640px) { .seyir-about-photo.alignleft { float: none; margin: 0 0 20px; } }