/*
Theme Name: Siivoushuolto
Description: Vammalan Siivoushuolto Oy – teema, mukailee vanhaa Joomla-sivustoa.
Version: 0.1.0
Text Domain: siivoushuolto
*/

@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(assets/fonts/nunito-400.ttf) format('truetype'); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(assets/fonts/nunito-700.ttf) format('truetype'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(assets/fonts/nunito-800.ttf) format('truetype'); }

:root {
  --orange: #f97800;
  --blue: #63caf8;
  --yellow: #ffee00;
  --text: #444;
  --grey: #e9e9e9;
  --max: 1100px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.8 Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: #c25d00; }
h1, h2, h3 { line-height: 1.25; color: var(--text); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 100; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.site-logo img { display: block; width: 320px; }
.main-nav ul { display: flex; gap: 8px; list-style: none; margin: 8px 8px 0 0; padding: 0; }
.main-nav a {
  display: flex; align-items: center; justify-content: center;
  min-width: 210px; height: 96px; padding: 0 16px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: bold;
  text-decoration: none; color: var(--text);
}
.main-nav li:nth-child(3n+1) a { background: var(--orange); }
.main-nav li:nth-child(3n+2) a { background: var(--blue); }
.main-nav li:nth-child(3n) a { background: var(--yellow); }
.main-nav a:hover, .main-nav .current-menu-item a { filter: brightness(.93); }
.nav-toggle { display: none; }

.hero { position: relative; overflow: hidden; height: 407px; background: linear-gradient(180deg, #5fa8cc 0%, #7dbcd9 55%, #a9d6e8 100%); }
.hero-stage { position: absolute; left: 50%; top: 0; width: 1500px; height: 407px; margin-left: -750px; transform-origin: 50% 0; }
.hero-rope { position: absolute; left: 0; top: 0; width: 1500px; height: 200px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)); }
.hero-clouds i { position: absolute; background: #fff; border-radius: 100px; opacity: .8; filter: blur(3px); animation: drift 90s linear infinite; }
.hero-clouds i::before, .hero-clouds i::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.hero-clouds i:nth-child(1) { width: 300px; height: 70px; top: 260px; left: -320px; animation-duration: 100s; animation-delay: -20s; }
.hero-clouds i:nth-child(2) { width: 220px; height: 54px; top: 40px; left: -240px; animation-duration: 130s; animation-delay: -80s; opacity: .55; }
.hero-clouds i:nth-child(3) { width: 340px; height: 80px; top: 330px; left: -360px; animation-duration: 160s; animation-delay: -120s; opacity: .7; }
.hero-clouds i:nth-child(4) { width: 180px; height: 44px; top: 210px; left: -200px; animation-duration: 110s; animation-delay: -50s; opacity: .5; }
.hero-clouds i::before { width: 45%; height: 150%; top: -75%; left: 15%; }
.hero-clouds i::after { width: 35%; height: 120%; top: -50%; left: 50%; }
.hero-clouds { animation: none; }
@keyframes hero-drift { to { transform: translateX(1900px); } }
.hero-clouds i { animation-name: hero-drift; }
.pol { position: absolute; margin: 0; padding: 14px; background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.28); transform-origin: 50% -10px; animation: sway 5.5s ease-in-out infinite alternate, pol-in 1.4s cubic-bezier(.2,.7,.3,1) backwards; }
.pol img { display: block; width: 268px; height: 180px; }
.pin { position: absolute; left: 50%; top: -34px; width: 14px; height: 46px; margin-left: -7px; border-radius: 3px 3px 5px 5px; background: linear-gradient(90deg, #d9a766, #b98446 55%, #8f5f2c); box-shadow: 1px 2px 3px rgba(0,0,0,.35); }
.pin::after { content: ""; position: absolute; left: -2px; right: -2px; top: 17px; height: 3px; background: #7d7d7d; border-radius: 2px; }
.pol-1 { animation-duration: 5.2s, 1.4s; animation-delay: -1s, 0s; }
.pol-2 { animation-duration: 6.4s, 1.4s; animation-delay: -3s, .15s; }
.pol-3 { animation-duration: 5.8s, 1.4s; animation-delay: -2s, .3s; }
.pol-4 { animation-duration: 6.9s, 1.4s; animation-delay: -4s, .45s; }
.pol:hover { animation-duration: 1.2s, 1.4s; }
@keyframes sway { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
@keyframes pol-in { from { opacity: 0; transform: rotate(18deg) translateY(-30px); } }
@media (max-width: 1100px) { .hero { height: 305px; } .hero-stage { transform: scale(.75); } }
@media (max-width: 800px) { .hero { height: 224px; } .hero-stage { transform: scale(.55); } }
@media (max-width: 560px) { .hero { height: 163px; } .hero-stage { transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) { .pol, .hero-clouds i { animation: none; } }

.entry { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.entry ul { list-style: square; }
.entry-with-aside { display: grid; grid-template-columns: 1fr 260px; gap: 40px; max-width: var(--max); }

.intro { text-align: center; max-width: 800px; margin: 60px auto 20px; padding: 0 20px; }
.intro h1 { font-size: 40px; margin-bottom: 10px; }
.intro h2 { font-size: 22px; margin: 0 0 8px; }
.notes { display: flex; justify-content: center; gap: 100px; text-align: center; margin: 30px 0 60px; flex-wrap: wrap; }
.notes svg { width: 48px; height: 48px; fill: var(--blue); display: block; margin: 0 auto 8px; }

.news { position: relative; overflow: hidden; padding: 80px 0 70px; background: linear-gradient(180deg, #8fd3f5 0%, #c9e8f7 45%, #eef7fb 100%); }
.news-clouds i { position: absolute; background: #fff; border-radius: 100px; opacity: .55; filter: blur(2px); animation: drift 60s linear infinite; }
.news-clouds i::before, .news-clouds i::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.news-clouds i:nth-child(1) { width: 220px; height: 50px; top: 40px; left: -240px; }
.news-clouds i:nth-child(1)::before { width: 90px; height: 90px; top: -45px; left: 30px; }
.news-clouds i:nth-child(1)::after { width: 70px; height: 70px; top: -30px; left: 110px; }
.news-clouds i:nth-child(2) { width: 160px; height: 40px; top: 150px; left: -200px; animation-duration: 85s; animation-delay: -30s; opacity: .4; }
.news-clouds i:nth-child(2)::before { width: 70px; height: 70px; top: -35px; left: 25px; }
.news-clouds i:nth-child(2)::after { width: 55px; height: 55px; top: -22px; left: 85px; }
.news-clouds i:nth-child(3) { width: 260px; height: 56px; bottom: 40px; left: -300px; animation-duration: 110s; animation-delay: -70s; opacity: .45; }
.news-clouds i:nth-child(3)::before { width: 100px; height: 100px; top: -50px; left: 40px; }
.news-clouds i:nth-child(3)::after { width: 80px; height: 80px; top: -34px; left: 135px; }
@keyframes drift { to { transform: translateX(calc(100vw + 400px)); } }

.news .wrap { position: relative; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.news-eyebrow { display: inline-block; font: 800 13px/1 Nunito, Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 6px 12px; border-radius: 20px; }
.news h2 { font: 800 clamp(30px, 4vw, 44px)/1.1 Nunito, Arial, sans-serif; margin: 10px 0 0; color: #1f3a4d; text-align: left; }
.news-controls { display: flex; gap: 10px; }
.news-controls[hidden] { display: none; }
.news-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .15s; }
.news-btn svg { width: 22px; height: 22px; fill: none; stroke: #1f3a4d; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.news-btn:hover:not(:disabled) { background: var(--yellow); transform: scale(1.08); }
.news-btn:focus-visible, .news-track:focus-visible { outline: 3px solid #1d86b8; outline-offset: 3px; }
.news-btn:disabled { opacity: .4; cursor: default; }

.news-viewport { margin: 0 -20px; }
.news-track { display: flex; gap: 28px; list-style: none; margin: 0; padding: 20px 20px 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.news-track::-webkit-scrollbar { display: none; }
.js .news-card { opacity: 0; transform: translateY(24px); }
.news-card { position: relative; flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,58,77,.15); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.js .news-card.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease, box-shadow .25s; }
.news-card:hover, .js .news-card.in:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(31,58,77,.25); transition: transform .25s, box-shadow .25s; }
.news-card-top { position: relative; height: 130px; padding: 20px 24px; color: #1f3a4d; }
.news-card.c0 .news-card-top { background: linear-gradient(135deg, #ff9a2e, var(--orange)); color: #fff; }
.news-card.c1 .news-card-top { background: linear-gradient(135deg, #8fd9ff, #3fb4ec); color: #fff; }
.news-card.c2 .news-card-top { background: linear-gradient(135deg, #fff35c, #ffd900); }
.news-card-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; background: #fff; -webkit-mask: radial-gradient(circle at 50% 0, transparent 21px, #000 22px) 0 0/44px 28px repeat-x; mask: radial-gradient(circle at 50% 0, transparent 21px, #000 22px) 0 0/44px 28px repeat-x; }
.news-date { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; font-family: Nunito, Arial, sans-serif; }
.news-date strong { font-size: 56px; font-weight: 800; line-height: 1; grid-row: span 2; }
.news-date span { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.news-date em { font-style: normal; font-size: 14px; font-weight: 700; opacity: .9; }
.news-card-body { padding: 14px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font: 800 22px/1.25 Nunito, Arial, sans-serif; margin: 0 0 10px; }
.news-card h3 a { color: #1f3a4d; text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card h3 a:focus-visible::after { outline: 3px solid #1d86b8; outline-offset: -3px; border-radius: 20px; }
.news-card p { margin: 0 0 18px; color: #555; flex: 1; }
.news-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 800 15px Nunito, Arial, sans-serif; color: #a14800; text-decoration: none; padding: 8px 16px; border-radius: 30px; background: #fff1e0; transition: background .2s, gap .2s; }
.news-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.news-card:hover .news-more { background: var(--orange); color: #fff; gap: 12px; }

.news-dots { display: flex; justify-content: center; gap: 8px; }
.news-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 12px; background: rgba(31,58,77,.3); cursor: pointer; transition: width .25s, background .25s; }
.news-dots button[aria-current="true"] { width: 32px; background: var(--orange); }
.news-dots button:focus-visible { outline: 3px solid #1d86b8; outline-offset: 2px; }

@media (max-width: 1000px) { .news-card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .news-card { flex-basis: 85%; } .news-head { align-items: center; } }
@media (prefers-reduced-motion: reduce) {
  .news-clouds i { animation: none; }
  .news-card { opacity: 1 !important; transform: none !important; transition: none; }
  .news-track { scroll-behavior: auto; }
}

/* Sisältösivut */
.page-sky { padding: 56px 0 30px; background: linear-gradient(180deg, #eef6fa 0%, #fff 320px); }
.page-sky .wrap { max-width: 960px; }
.page-card { background: transparent; }
.page-head { margin-bottom: 8px; }
.page-head h1 { position: relative; margin: 0; padding-bottom: 18px; text-align: left; color: #1f3a4d; font: 800 clamp(34px, 5vw, 52px)/1.1 Nunito, Arial, sans-serif; }
.page-head h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 110px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--orange) 0 33%, #3fb4ec 33% 66%, #ffd900 66%); transform-origin: left; animation: bar-in .9s .2s cubic-bezier(.2,.7,.3,1) backwards; }
@keyframes bar-in { from { transform: scaleX(0); } }
.page-body { padding: 0; font-size: 18px; line-height: 1.7; color: #444; }
.page-body h2 { position: relative; font: 800 clamp(24px, 3vw, 30px)/1.2 Nunito, Arial, sans-serif; color: #1f3a4d; text-align: left; margin: 2em 0 .6em; }
.page-body h2:first-child { margin-top: .8em; }
.page-body h3.hinnasto-title { font: 800 clamp(21px, 2.4vw, 24px)/1.25 Nunito, Arial, sans-serif; color: #1f3a4d; text-align: left; margin: 1.8em 0 .6em; }
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
.page-body h3 { font: 800 22px Nunito, Arial, sans-serif; color: #1f3a4d; text-align: left; }
.page-body a { color: #1d86b8; }
.page-body ul { list-style: none; padding: 0; margin: 1em 0; border-top: 1px solid #e3edf2; }
.page-body ul li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid #e3edf2; transition: background .2s, padding-left .2s; }
.page-body ul li::before { content: ""; position: absolute; left: 6px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: #3fb4ec; }
.page-body ul li:hover { background: #f4fafd; padding-left: 32px; }
.page-body li strong { color: #a14800; white-space: nowrap; }
.page-body .more-link a { display: inline-block; padding: 8px 18px; border-radius: 30px; background: #e8f5fc; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.page-body .more-link a:hover { background: var(--yellow); color: #1f3a4d; transform: translateX(4px); }
.page-body .cert { margin: 24px 0; text-align: center; }
.page-body .cert img { width: 150px; height: auto; transition: transform .6s ease; }
.page-body .cert:hover img { transform: rotate(360deg); }
.steps { position: relative; list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 54px; border-top: 2px dashed #b9d9ea; }
.page-body .steps li { position: relative; padding: 28px 20px 8px; border: 0; background: none; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 700; line-height: 1.4; }
.page-body .steps li::before { display: none; }
.page-body .steps li:hover { background: none; padding-left: 20px; }
.steps-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; font: 800 26px Nunito, Arial, sans-serif; background: #1d86b8; box-shadow: 0 0 0 8px #fff; transition: transform .3s; }
.steps li:hover .steps-n { transform: scale(1.15) rotate(-6deg); background: var(--orange); }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 20px 0; }
.example { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e3edf2; font-size: 15px; line-height: 1.55; transition: transform .25s, box-shadow .25s; }
.example:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(31,58,77,.16); }
.example h3 { order: 2; margin: 0; padding: 16px 20px 0; color: #1f3a4d; font-size: 19px; }
.example .ex-img { order: 1; overflow: hidden; }
.example img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .5s; }
.example { position: relative; }
.example:hover img { transform: scale(1.05); }
.example p { order: 3; margin: 0; padding: 8px 20px 0; }
.example .hinta { order: 4; margin: auto 0 0; padding: 14px 20px 18px; text-align: center; background: #f4fafd; border-top: 1px solid #e3edf2; display: flex; flex-direction: column; justify-content: center; }
.example p:last-of-type { padding-bottom: 16px; }
.example .hinta p { padding: 0; }
.example .hinta strong, .example .hinta > :first-child { color: #a14800; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 0 20px; }
.contact-card { padding: 26px 28px; border-radius: 14px; background: #fff; text-align: center; border: 1px solid #e3edf2; border-top: 5px solid var(--orange); box-shadow: 0 10px 30px rgba(31,58,77,.12); transition: transform .25s, box-shadow .25s; }
.contact-card:nth-child(2) { border-top-color: #3fb4ec; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(31,58,77,.18); }
.contact-card h2 { margin: 0 0 10px; padding: 0; border: 0; text-align: center; font-size: 24px; }
.hero-map { height: 407px; }
.page-banner { display: grid; grid-template-columns: repeat(4, 1fr); height: 230px; gap: 6px; background: #fff; overflow: hidden; }
.page-banner .bt { overflow: hidden; position: relative; animation: bt-in .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .12s); }
.page-banner .bt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(244,250,253,.9)); }
.page-banner .bt:nth-child(odd)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--orange); z-index: 1; }
.page-banner .bt:nth-child(even)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--blue); z-index: 1; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.2); transform-origin: 50% 100%; transition: transform 1.2s ease; }
.page-banner .bt:hover img { transform: scale(1.28); }
@keyframes bt-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-banner .bt { animation: none; } }
@media (max-width: 800px) { .page-banner { height: 130px; grid-template-columns: repeat(2, 1fr); } .page-banner .bt:nth-child(n+3) { display: none; } }
.hero-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-map-link { position: absolute; right: 16px; bottom: 56px; padding: 8px 16px; border-radius: 30px; background: #fff; color: #1f3a4d; font: 800 15px Nunito, Arial, sans-serif; text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .15s, background .15s; }
.hero-map-link:hover, .hero-map-link:focus-visible { background: var(--yellow); transform: translateY(-2px); }
.page-card .cta { margin: 30px 0 40px; }
.map-consent { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.map-consent[hidden] { display: none; }
.map-consent-box { max-width: 460px; padding: 26px 28px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 14px 40px rgba(31,58,77,.3); font-family: Nunito, Arial, sans-serif; color: #1f3a4d; }
.map-consent-box svg { width: 38px; height: 38px; fill: var(--orange); }
.map-consent-box p { margin: 6px 0 16px; line-height: 1.5; }
.map-consent-alt { display: block; margin-top: 12px; font-size: 14px; color: #1f6f98; }
.btn-consent, .cc-btn { cursor: pointer; border: 2px solid #1d86b8; border-radius: 30px; padding: 11px 22px; font: 800 16px Nunito, Arial, sans-serif; background: #1d86b8; color: #fff; transition: transform .15s, background .15s; }
.btn-consent:hover, .cc-btn:hover, .btn-consent:focus-visible, .cc-btn:focus-visible { background: #166b95; transform: translateY(-2px); }
.cc-btn.cc-alt { background: #fff; color: #1d86b8; }
.cc-btn.cc-alt:hover { background: #eef8fd; }
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 760px; margin: 0 auto; padding: 20px 24px; border-radius: 20px; background: #fff; border-top: 5px solid var(--orange); box-shadow: 0 12px 40px rgba(31,58,77,.35); font-family: Nunito, Arial, sans-serif; color: #1f3a4d; animation: cc-in .5s cubic-bezier(.2,.8,.2,1) both; }
.cc-banner[hidden] { display: none; }
.cc-banner h2 { margin: 0 0 6px; font-size: 20px; }
.cc-banner p { margin: 0 0 14px; line-height: 1.5; font-size: 15px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@keyframes cc-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc-banner { animation: none; } }
@media (max-width: 800px) {
  .steps, .examples, .contact-cards { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .hero-map { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .page-head h1::after { animation: none; } }

/* Yksittäinen uutinen */
.post-sky { position: relative; overflow: hidden; padding: 50px 0 80px; background: linear-gradient(180deg, #8fd3f5 0%, #c9e8f7 45%, #eef7fb 100%); }
.post-sky .wrap { position: relative; max-width: 860px; }
.post-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; padding: 8px 16px 8px 10px; border-radius: 30px; background: #fff; color: #1f3a4d; font: 800 15px Nunito, Arial, sans-serif; text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.12); transition: transform .15s, background .15s; }
.post-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.post-back:hover, .post-back:focus-visible { background: var(--yellow); transform: translateX(-3px); }
.post-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(31,58,77,.22); animation: postin .7s ease both; }
@keyframes postin { from { opacity: 0; transform: translateY(30px); } }
.post-card .news-card-top { height: 200px; padding: 26px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.post-card.c0 .news-card-top { background: linear-gradient(135deg, #ff9a2e, var(--orange)); color: #fff; }
.post-card.c1 .news-card-top { background: linear-gradient(135deg, #8fd9ff, #3fb4ec); color: #fff; }
.post-card.c2 .news-card-top { background: linear-gradient(135deg, #fff35c, #ffd900); color: #1f3a4d; }
.post-card .news-card-top::after { height: 28px; }
.post-eyebrow { background: rgba(255,255,255,.28); color: inherit; }
.post-card.c2 .post-eyebrow { background: rgba(31,58,77,.12); }
.post-card .news-date strong { font-size: 72px; }
.post-card .news-date span { font-size: 22px; }
.post-body { padding: 10px 40px 44px; }
.post-body h1 { font: 800 clamp(30px, 5vw, 46px)/1.15 Nunito, Arial, sans-serif; color: #1f3a4d; text-align: left; margin: 0 0 22px; }
.post-content { font-size: 18px; line-height: 1.7; color: #444; }
.post-content > :first-child { margin-top: 0; }
.post-content h2, .post-content h3 { font-family: Nunito, Arial, sans-serif; font-weight: 800; color: #1f3a4d; text-align: left; margin: 1.6em 0 .5em; }
.post-content ul { list-style: none; padding: 0; }
.post-content li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px dashed #d6e6ee; }
.post-content li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #fff1e0; }
.post-content img { max-width: 100%; height: auto; border-radius: 14px; }
.post-content a { color: #1d86b8; }
.post-cta { margin-top: 36px; padding-top: 28px; border-top: 3px dotted #cfe6f2; display: flex; justify-content: center; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; }
.post-nav a { flex: 1; max-width: 49%; padding: 16px 22px; border-radius: 18px; background: #fff; color: #1f3a4d; font: 800 17px/1.3 Nunito, Arial, sans-serif; text-decoration: none; box-shadow: 0 6px 18px rgba(31,58,77,.15); transition: transform .2s, box-shadow .2s; }
.post-nav a small { display: block; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #a14800; margin-bottom: 4px; }
.post-nav-next { margin-left: auto; text-align: right; }
.post-nav a:hover, .post-nav a:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(31,58,77,.25); }
@media (max-width: 640px) {
  .post-card .news-card-top { padding: 22px 24px; }
  .post-body { padding: 8px 24px 32px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .post-card { animation: none; } }

.cta { display: flex; justify-content: center; gap: 40px; margin: 60px 0; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 280px; padding: 14px 28px; background: #1d86b8; color: #fff; font-size: 18px; border-radius: 40px; text-decoration: none; box-shadow: 0 3px 8px rgba(0,0,0,.15); transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn:hover, .btn:focus-visible { background: #166d96; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,.2); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.service-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; color: #666; margin-bottom: 60px; }

.site-footer { border-top: 1px solid #ddd; padding: 20px 0; text-align: center; font-size: 12px; color: #666; }

@media (max-width: 800px) {
  .site-header { flex-direction: column; }
  .main-nav ul { display: none; flex-direction: column; margin: 0; }
  .main-nav.open ul { display: flex; }
  .main-nav a { height: 56px; }
  .nav-toggle { display: block; width: 100%; padding: 12px; background: var(--orange); border: 0; font-weight: bold; }
  .news-grid, .service-links, .entry-with-aside { grid-template-columns: 1fr; }
  .notes { gap: 30px; }
  .intro h1 { font-size: 30px; }
}
