/*
Theme Name: FTN Tema V3
Theme URI: https://ftnmedya.com
Author: FTN Tema Web Tasarım Ajansı
Author URI: https://ftnmedya.com
Description: SEO ve HIZ odaklı özel olarak hazırlanmış Wordpress Teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elementor-onepage
Tags: one-column, custom-logo, block-styles, editor-style
*/

/* Theme tokens */
:root { --color-primary: #101010; --color-secondary: #e81c2e; --container: 1350px; --gap-mobile: 40px; --gap-desktop: 75px; }

/* Minimal reset to let Elementor control layout */
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: #000; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }

/* Keep wrappers unopinionated so Elementor can go full-width */
.site { min-height: 100vh; }
.site-main { display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: var(--container); margin: 0 auto; padding: 10px 16px; }
.header-btn { appearance: none; background: transparent; border: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.header-btn--left { justify-self: start; }
.header-btn--right { justify-self: end; }
.icon { display: inline-grid; place-items: center; color: var(--color-primary); }
.icon.icon--menu, .icon.icon--mapphone { }
.icon svg { width: 24px; height: 24px; display: block; }
.icon i { font-size: 24px; line-height: 1; }
.site-branding { display: flex; justify-content: center; align-items: center; }
.site-branding .custom-logo { max-height: 46px; height: 46px; width: auto; }
.site-title { font-weight: 700; text-decoration: none; color: var(--color-primary); font-size: 22px; }

/* Offcanvas */
.offcanvas-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 1199; }
.offcanvas-overlay.is-open { opacity: 1; visibility: visible; }
.offcanvas { position: fixed; top: 0; bottom: 0; width: min(320px, 85vw); background: #fff; box-shadow: none; transform: translateX(-100%); transition: transform .3s ease; z-index: 1200; padding: 0; overflow-y: auto; }
.offcanvas--left { left: 0; }
.offcanvas--right { right: 0; transform: translateX(100%); }
.offcanvas.is-open.offcanvas--left { transform: translateX(0); }
.offcanvas.is-open.offcanvas--right { transform: translateX(0); }
.offcanvas__close { background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.offcanvas-menu { list-style: none; margin: 12px 0 16px; padding: 0 16px; display: grid; gap: 10px; }
.offcanvas-menu li { margin: 0; }
.offcanvas-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; text-decoration: none; color: #000; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.offcanvas-menu a i { color: inherit; }
.offcanvas-menu a .menu-icon-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--color-secondary); color: #fff; }
.offcanvas-menu a:hover { background: color-mix(in srgb, var(--color-primary) 6%, transparent); }

@media (min-width: 1024px) {
  .site-branding .custom-logo { max-height: 54px; height: 54px; }
  .offcanvas__title .custom-logo { max-height: 54px; height: 54px; }
}

/* Mobile full-width offcanvas */
@media (max-width: 1023.98px) {
  .offcanvas--left { width: 100vw; }
}

/* Offcanvas left extras */
.offcanvas__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; min-height: 56px; position: sticky; top: 0; background: #fff; z-index: 1; border-bottom: 1px solid #eef2f7; }
.offcanvas__title { font-weight: 700; font-size: 16px; color: var(--color-primary); display: flex; align-items: center; gap: 8px; }
.offcanvas__title .custom-logo { max-height: 46px; height: 46px; width: auto; }
.offcanvas__divider { border: 0; border-top: 1px solid #eef2f7; margin: 0; }
.offcanvas__close { width: 44px; height: 44px; font-size: 24px; line-height: 1; display: grid; place-items: center; color: var(--color-primary); }
.offcanvas__placeholder { height: 60vh; }

/* Modal (right popup) */
.modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 1201; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog { width: min(420px, 92vw); background: #fff; border-radius: 14px; box-shadow: none; padding: 18px; transform: translateY(10px) scale(.98); transition: transform .25s ease; position: relative; }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__title { margin: 0 0 12px; font-size: 18px; color: var(--color-primary); text-align: center; }
.modal__close { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 26px; cursor: pointer; line-height: 1; color: var(--color-primary); }
.modal__actions { display: grid; gap: 10px; margin-top: 8px; }

/* Action buttons */
.btn-action { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; box-shadow: none; transform: translateY(0); transition: transform .15s ease; }
.btn-action:hover { transform: translateY(-2px); box-shadow: none; }
.btn-action__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.6); }
.btn-action__label { font-size: 16px; }
 
.btn-action--phone { background: color-mix(in srgb, var(--color-primary) 8%, transparent); color: var(--color-primary); }
.btn-action--wa { background: color-mix(in srgb, var(--color-secondary) 12%, #ffffff); color: var(--color-secondary); }

/* Location list buttons */
.loc-list { list-style: none; margin: 12px 0 16px; padding: 0 16px; display: grid; gap: 10px; }
.btn-loc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 12px; text-decoration: none; color: #000; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.btn-loc:hover { transform: translateY(-1px); box-shadow: none; border-color: color-mix(in srgb, var(--color-primary) 25%, transparent); }
.btn-loc__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, var(--color-secondary) 0%, var(--color-primary) 70%); color: #fff; }
.btn-loc__label { font-size: 15px; }

/* Footer */
.site-footer { background: var(--color-primary); color: #fff; }
.site-footer .footer-inner { max-width: var(--container); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
/* (Removed) Elementor boxed container width */
.site-footer .footer-text { text-align: center; font-size: 14px; font-weight: 600; color: #fff; display: none; }
.footer-brand { color: #fff; text-decoration: none; }
.footer-brand__stack { display: flex; flex-direction: column; line-height: 1; align-items: center; }
.footer-brand__title { font-weight: 800; letter-spacing: .5px; }
.footer-brand__sub { font-size: 10px; font-weight: 700; opacity: .85; }

/* Mobile modal side spacing */
@media (max-width: 767.98px) {
  .modal__dialog { width: 100%; max-width: calc(100vw - 20px); margin: 0 10px; box-sizing: border-box; }
}

@media (min-width: 768px) {
  .site-footer .footer-inner { justify-content: space-between; }
  .site-footer .footer-text { display: block; text-align: left; }
  .footer-brand__stack { align-items: flex-end; }
}

/* Hero */
.hero { position: relative; margin: 10px auto; border-radius: 10px; overflow: hidden; max-width: var(--container); min-height: 400px; }
.hero__bg { position: absolute; inset: 0; background: var(--color-primary); background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 65%, transparent) 0%, color-mix(in srgb, var(--color-primary) 65%, transparent) 100%); z-index: 1; }
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 48px 18px; color: #fff; min-height: 400px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.hero__title { margin: 0 0 12px; font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: .5px; }
.hero__desc { margin: 0 0 18px; font-size: clamp(14px, 2.4vw, 18px); line-height: 1.6; opacity: .95; }
.hero__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .1s ease; font-size: 13px; width: auto; white-space: nowrap; align-self: flex-start; }
.hero__cta:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); }
.hero__cta-icon i { font-size: 14px; }

@media (min-width: 768px) {
  .hero__inner { padding: 72px 24px; min-height: 400px; }
}

/* Desktop typography for hero */
@media (min-width: 1024px) {
  .hero__title { font-size: 30px; }
  .hero__desc { font-size: 15px; }
}

/* Mobile & tablet outer spacing for hero */
@media (max-width: 1023.98px) {
  .hero { margin: 10px; }
}

/* Features */
.features { max-width: var(--container); margin: var(--gap-mobile) auto; }
.features__inner { padding: 0 10px; }
.features__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.features__item { scroll-snap-align: start; flex: 0 0 100%; }
.fcard { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; padding: 12px; box-shadow: none; }
.fcard__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--color-secondary); color: #fff; }
.fcard__icon i { font-size: 22px; }
.fcard__title { font-weight: 700; color: #0f172a; }
.fcard__desc { color: #475569; font-size: 13px; }

@media (min-width: 768px) {
  .features__item { flex: 0 0 calc((100% - 24px) / 3); }
}

@media (min-width: 1024px) {
  .features__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: visible; }
  .features__item { flex: initial; }
}

/* Section title underline */
.section-title { position: relative; margin: 0 0 18px; font-size: 22px; color: #0f172a; }
.section-title span { position: relative; z-index: 1; }
.section-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #e5e7eb; }
.section-title::before { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 10%; background: var(--color-primary); z-index: 2; }

/* About section */
.about { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.about__inner { display: grid; grid-template-columns: 1fr; gap: 16px; }
.about__media img { width: 100%; height: auto; border-radius: 10px; display: block; }
@media (min-width: 1024px) { .about__inner { grid-template-columns: 1.15fr .85fr; } }

/* Services */
.services { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.services__grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service { background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; overflow: hidden; box-shadow: none; }
.service__media { position: relative; aspect-ratio: 16 / 9; background: #f3f4f6; }
.service__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service__badge { position: absolute; right: 10px; bottom: 10px; background: var(--color-secondary); color: #fff; font-size: 12px; padding: 6px 8px; border-radius: 999px; box-shadow: none; }
.service__body { padding: 14px; }
.service__title { margin: 0 0 6px; font-weight: 800; color: #0f172a; }
.service__desc { margin: 0 0 12px; color: #475569; font-size: 14px; }
.service__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #0f172a; }
.service__phone .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; display: inline-block; }

/* FAQ */
.faq { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.faq__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.faq__item { background: rgba(#f8fafc); background: color-mix(in srgb, var(--color-secondary) 120%, #ffffff); border: 1px solid color-mix(in srgb, var(--color-secondary) 25%, #f8fafc); border-radius: 12px; overflow: hidden; }
.faq__toggle { width: 100%; padding: 14px 16px; background: transparent; border: 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; color: #0f172a; }
.faq__chev { color: #f8fafc; transition: transform .2s ease; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 16px 14px; }
@media (max-width: 767.98px) {
  .faq__toggle { padding: 16px; }
  .faq__question { font-size: 15px; font-weight: 600; }
}

/* Ensure FAQ titles use the site's main font */
.faq__toggle, .faq__question { font-family: inherit; }

/* Contact */
.contact { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.contact__inner { display: block; max-width: var(--container); margin: 0 auto; padding: 0 10px; box-sizing: border-box; }
.contact__cards { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .contact__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact__cards { grid-template-columns: repeat(4, 1fr); } }
.ccard { background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; padding: 16px; text-align: center; box-shadow: none; }
.ccard__icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--color-secondary); }
.ccard__icon i { font-size: 24px; }
.ccard__title { font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.ccard__text { color: #475569; font-size: 14px; }
.contact__map { border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; overflow: hidden; margin-top: 12px; }
.contact__map iframe { display: block; width: 100%; height: 375px; }
.contact__extra { margin-top: 16px; }
.contact__extra > * { max-width: 100%; }
.contact { box-sizing: border-box; overflow-x: hidden; }
.contact__extra { box-sizing: border-box; }
.contact__extra img, .contact__extra iframe, .contact__extra table { max-width: 100%; height: auto; }
.contact__extra.rich-content h2, .contact__extra.rich-content h3, .contact__extra.rich-content h4 { position: relative; padding-bottom: 8px; margin: 10px 0; }
.contact__extra.rich-content h2::after, .contact__extra.rich-content h3::after, .contact__extra.rich-content h4::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e5e7eb; }
.contact__extra.rich-content h2::before, .contact__extra.rich-content h3::before, .contact__extra.rich-content h4::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 10%; background: var(--color-primary); z-index: 1; }
.contact__extra.rich-content ul, .contact__extra.rich-content ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact__extra.rich-content li { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
/* Ensure contact extra HTML follows the same rich-content styles */
.contact .rich-content h2, .contact .rich-content h3, .contact .rich-content h4 { position: relative; padding-bottom: 8px; margin: 10px 0; }
.contact .rich-content h2::after, .contact .rich-content h3::after, .contact .rich-content h4::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e5e7eb; }
.contact .rich-content h2::before, .contact .rich-content h3::before, .contact .rich-content h4::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 10%; background: var(--color-primary); z-index: 1; }
.contact .rich-content ul, .contact .rich-content ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact .rich-content li { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
.rich-content h2, .rich-content h3, .rich-content h4 { position: relative; padding-bottom: 8px; margin: 10px 0; }
.rich-content h2::after, .rich-content h3::after, .rich-content h4::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e5e7eb; }
.rich-content h2::before, .rich-content h3::before, .rich-content h4::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 10%; background: var(--color-primary); z-index: 1; }
/* Rich HTML list blocks - full width items */
.rich-content ul, .rich-content ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rich-content li { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }

/* Floating buttons */
.float-btn { position: fixed; bottom: 18px; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 8px 16px 8px 60px; border-radius: 28px; z-index: 2000; font-weight: 800; overflow: visible; }
.float-btn__icon { position: absolute; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.float-btn__content { display: grid; line-height: 1.05; }
.float-btn__top { font-size: 12px; opacity: .95; font-weight: 700; }
.float-btn__num { font-size: 18px; font-weight: 800; }
.float-btn--left { left: 12px; background: var(--color-secondary); box-shadow: none; }
.float-btn--left .float-btn__icon { background: color-mix(in srgb, var(--color-secondary) 85%, #000 15%); }
.float-btn--right { right: 12px; padding-left: 16px; padding-right: 60px; background: linear-gradient(90deg, #22c55e, #34d399); }
.float-btn--right .float-btn__icon { right: 0; left: auto; background: #16a34a; }
.float-btn--right .float-btn__content { text-align: right; }
.float-btn__pulse { position: absolute; left: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.25); animation: pulse 1.6s infinite; }
.float-btn--right .float-btn__pulse { left: auto; right: 0; background: rgba(255,255,255,.25); }
@keyframes pulse { 0% { transform: scale(1); opacity: .85; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 640px) { .float-btn { bottom: 12px; } .float-btn__num { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .float-btn__pulse { animation: none; display: none; }
}

/* Testimonials */
.testimonials { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.testimonials__inner { }
.tlist { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.tcard { background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; padding: 14px; text-align: center; flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 768px) { .tlist { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; } .tcard { flex: initial; } }
@media (min-width: 1024px) { .tlist { grid-template-columns: repeat(4, 1fr); } }
.tcard__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: var(--color-secondary); color: #fff; }
.tcard__icon i { font-size: 20px; }
.tcard__name { font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.tcard__stars { color: #f59e0b; margin-bottom: 8px; }
.tcard__stars i { margin: 0 1px; }
.tcard__text { color: #475569; font-size: 14px; }

/* Section global gap desktop */
@media (min-width: 1024px) {
  .features, .about, .services, .testimonials, .faq, .contact { margin: var(--gap-desktop) auto; }
}


/* Category archive grid */
.cat-hero { background: var(--color-primary); color: #fff; }
.cat-hero__inner { max-width: var(--container); margin: 0 auto; padding: 20px 10px; text-align: center; }
.cat-hero__title { margin: 0 0 6px; font-size: 25px; font-weight: 800; }
.cat-hero__crumbs { color: rgba(255,255,255,.9); font-weight: 600; font-size: 14px; }
.cat-hero__crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.cat-hero__crumbs a:hover { text-decoration: underline; }
.cat-hero__crumbs .sep { margin: 0 6px; opacity: .9; }
.cat-hero__crumbs .current { opacity: 1; }
.category-archive { max-width: var(--container); margin: var(--gap-mobile) auto; }
.category-archive__inner { padding: 0 10px; }
.catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catgrid { grid-template-columns: repeat(4, 1fr); } }
.catcard { }
.catcard__link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; color: #111827; box-shadow: none; min-height: 52px; }
.catcard__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 60% 40%, var(--color-secondary) 0%, var(--color-primary) 70%); }
.catcard__icon i { font-size: 16px; line-height: 1; }
.catcard__label { font-weight: 700; font-size: 15px; }

/* Posts grid when no child categories */
.postgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .postgrid { grid-template-columns: repeat(4, 1fr); } }
.postcard__link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; color: #111827; min-height: 52px; }
.postcard__icon { width: 28px; height: 28px; border-radius: 100%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 100% 0%, var(--color-secondary) 100%, var(--color-primary) 0%); }
.postcard__icon i { font-size: 14px; line-height: 1; }
.postcard__label { font-weight: 700; font-size: 15px; }

/* Single post layout */
.post-view__inner { max-width: var(--container); margin: var(--gap-mobile) auto; padding: 0 10px; }
.post-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: 70% 30%; } }
.post-content { background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 14px; padding: 16px; }
.post-hero { margin: 0 0 12px; }
.post-hero__img { width: 100%; height: auto; display: block; border-radius: 10px; }
.post-sidebar { }
@media (min-width: 1024px) {
  .post-sidebar { position: sticky; top: 20px; align-self: start; }
}
.widget { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.widget-title { margin: 0 0 8px; font-size: 16px; color: #0f172a; font-weight: 800; position: relative; padding-bottom: 8px; }
.widget-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e5e7eb; }
.widget-title::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 10%; background: var(--color-primary); z-index: 1; }

/* Table of contents */
.toc { }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc__list li { margin: 0; }
.toc__list a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #0f172a; font-weight: 700; font-size: 14px; }
.toc__list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); display: inline-block; }
.toc__list .is-active a { color: var(--color-primary); }
.entry-content h2, .entry-content h3, .entry-content h4 { scroll-margin-top: 90px; }

/* Sidebar related list */
.sidelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sidelist li a { display: block; text-decoration: none; color: #111827; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.sidelist li a:hover { border-color: color-mix(in srgb, var(--color-primary) 25%, transparent); }

/* Entry content typography */
.entry-content h2, .entry-content h3, .entry-content h4 { position: relative; padding-bottom: 8px; margin: 10px 0; }
.entry-content h2::after, .entry-content h3::after, .entry-content h4::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e5e7eb; }
.entry-content h2::before, .entry-content h3::before, .entry-content h4::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 10%; background: var(--color-primary); z-index: 1; }
.entry-content ul, .entry-content ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.entry-content li { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }


/* Single post bottom map: full-bleed under post area */
.contact.contact--single-map { max-width: none; margin: 0; padding: 0; }
.contact--single-map .contact__inner { max-width: none; padding: 0; }
.contact--single-map .contact__map { border: 0; border-radius: 0; margin-top: 0; }
.contact--single-map .contact__map iframe { width: 100%; height: 420px; }