/*
Theme Name: Nefis Lokanta
Theme URI: https://example.com/
Author: OpenAI
Description: Nefis Lokanta için dinamik, responsive kurumsal catering ve günlük yemek WordPress teması. Tema bağımsız admin ayarları ve Menü Öğeleri içerir.
Version: 2.2.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nefis-lokanta
*/

:root{
  --nl-bg:#fbf8f2;
  --nl-card:#fffdf9;
  --nl-text:#181713;
  --nl-muted:#746f65;
  --nl-gold:#b87918;
  --nl-gold-2:#d99528;
  --nl-line:#e9e2d7;
  --nl-radius:18px;
  --nl-shadow:0 18px 50px rgba(44,35,18,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--nl-bg);color:var(--nl-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.5);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:0!important;box-shadow:none;transition:box-shadow .25s ease,background .25s ease}
.header-inner{height:160px;display:flex;align-items:center;justify-content:space-between;gap:24px;transition:height .25s ease}
.site-header.is-scrolled{background:rgba(255,255,255,.5)!important;box-shadow:none!important;border:0!important}
.brand{display:flex;align-items:center;gap:14px;font-weight:800}
.brand img{width:140px;height:140px;object-fit:contain;background:transparent;border-radius:0;padding:0;box-shadow:none;border:0;transition:width .25s ease,height .25s ease,padding .25s ease,box-shadow .25s ease}
.site-header.is-scrolled .brand img{width:50px;height:50px;padding:0;box-shadow:none}
.site-header.is-scrolled .header-inner{height:68px}
.brand-name{display:none;font-family:Georgia,"Times New Roman",serif;font-size:19px}
.main-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}
.main-nav a{font-size:14px;color:#5f5a51}
.main-nav a:hover{color:var(--nl-gold)}
.header-actions{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:11px 18px;font-weight:700;font-size:13px;cursor:pointer;transition:.2s ease}
.btn-primary{background:var(--nl-gold);color:#fff}
.btn-primary:hover{background:#9e6511;transform:translateY(-1px)}
.btn-light{background:#fff;border-color:var(--nl-line)}
.mobile-toggle{display:none;background:none;border:0;font-size:26px}

.hero{padding:70px 0 38px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:7px;border:1px solid #ead9bd;background:#fff8ea;color:#a36a14;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hero h1{font:700 clamp(48px,5.4vw,76px)/.98 Georgia,"Times New Roman",serif;letter-spacing:-.05em;margin:18px 0;max-width:650px;color:var(--nl-text)}
.hero h1 em{font-weight:400;color:var(--nl-gold);font-style:italic;white-space:nowrap}
.hero p{max-width:600px;color:var(--nl-muted);font-size:16px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.hero-media{position:relative}
.hero-media img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:30px;box-shadow:var(--nl-shadow)}
.hero-badge{position:absolute;left:-20px;bottom:-20px;background:#fff;border:1px solid var(--nl-line);border-radius:16px;padding:14px 17px;box-shadow:var(--nl-shadow);min-width:145px}
.hero-badge small{display:block;color:var(--nl-muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.hero-badge strong{font-family:Georgia,serif;font-size:18px}

.stats{display:flex;gap:30px;margin-top:30px;flex-wrap:wrap}
.stat strong{font-family:Georgia,serif;font-size:20px}
.stat span{display:block;color:var(--nl-muted);font-size:12px}

.section{padding:20px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-title{font:700 36px/1.1 Georgia,"Times New Roman",serif;margin:0}
.section-subtitle{color:var(--nl-muted);max-width:650px}
.day-picker{display:flex;gap:8px;overflow:auto;padding:4px 2px 10px;scrollbar-width:thin}
.day-chip{appearance:none;cursor:pointer;font:inherit;line-height:1.35;flex:0 0 auto;background:#fff;border:1px solid var(--nl-line);border-radius:13px;padding:10px 24px;text-align:center;min-width:68px;color:var(--nl-ink);transition:background .2s,color .2s,border-color .2s,transform .2s}.day-chip:hover{border-color:var(--nl-gold);transform:translateY(-1px)}.day-chip:focus-visible{outline:3px solid rgba(218,137,30,.35);outline-offset:2px}.selected-menu-date{font-size:13px;color:var(--nl-muted);margin:10px 0 14px}
.day-chip small{display:block;color:var(--nl-muted);font-size:10px}
.day-chip.active{background:var(--nl-gold);color:#fff;border-color:var(--nl-gold)}
.day-chip.active small{color:#fff}

.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.menu-card{background:var(--nl-card);border:1px solid var(--nl-line);border-radius:16px;padding:0 0 18px;min-height:150px;overflow:hidden;text-align:center}.menu-card-image{display:block;width:100%;height:150px;object-fit:cover;margin:0}.menu-card h3,.menu-card ul{margin-left:18px;margin-right:18px}
.menu-card-icon{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin:-27px auto 10px;border:3px solid var(--nl-card);border-radius:50%;background:#5a2a16;color:#fff;font-size:26px;line-height:1;box-shadow:0 3px 12px rgba(40,20,10,.14)}.menu-card-icon span{display:block;transform:translateY(-1px)}
.menu-card h3{font-size:18px;color:var(--nl-heading);font-weight:700;letter-spacing:0;text-transform:none;text-align:center;margin:0 12px 12px}
.menu-card ul{list-style:none;padding:0;margin:0 18px;text-align:center}
.menu-card li{font-size:14px;font-weight:400;color:var(--nl-text);padding:5px 0;border-top:0;line-height:1.5}
.menu-card li:first-child{border-top:0}
.price-strip{margin:14px auto 0;max-width:360px;background:#eeeee8;border-radius:16px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}
.price-strip span{color:var(--nl-muted);font-size:12px}
.price-strip strong{font-family:Georgia,serif;font-size:20px;color:#3d4c3b}

.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.feature{background:#fff;border:1px solid var(--nl-line);border-radius:16px;padding:22px}
.feature-icon{width:34px;height:34px;border-radius:10px;background:#fff0da;color:var(--nl-gold);display:grid;place-items:center;margin-bottom:16px}
.feature h3{margin:0 0 7px;font-size:15px}
.feature p{margin:0;color:var(--nl-muted);font-size:12px}

.cta{background:#fff;border:1px solid var(--nl-line);border-radius:24px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:var(--nl-shadow)}
.cta h2{font:700 32px/1.05 Georgia,serif;margin:0 0 10px}
.cta p{margin:0;color:var(--nl-muted);font-size:13px}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}

.menu-archive{padding:55px 0}
.menu-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.menu-item{background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}
.menu-item-thumb{aspect-ratio:16/10;background:#f2ede4;overflow:hidden}
.menu-item-thumb img{width:100%;height:100%;object-fit:cover}
.menu-item-body{padding:20px}
.menu-item h2{font:700 25px Georgia,serif;margin:0 0 8px}
.menu-item .excerpt{color:var(--nl-muted);font-size:13px}
.meta{font-size:11px;color:var(--nl-gold);text-transform:uppercase;letter-spacing:.08em}

.site-footer{margin-top:80px;border-top:1px solid var(--nl-line);background:#fff}
.footer-grid{padding:45px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}
.footer-brand img{width:48px}
.footer-brand p,.footer-col p,.footer-col li{font-size:12px;color:var(--nl-muted)}
.footer-col h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--nl-gold)}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:8px 0}
.footer-bottom{border-top:1px solid var(--nl-line);padding:15px 0;font-size:11px;color:var(--nl-muted);display:flex;justify-content:space-between;gap:20px}

.page-content{padding:65px 0}
.page-content .entry-content{max-width:800px}
.entry-content h1,.entry-content h2,.entry-content h3{font-family:Georgia,serif}
.entry-content p,.entry-content li{color:#5f5a51}

@media(max-width:900px){
  .main-nav{display:none;position:absolute;left:0;right:0;top:160px;background:var(--nl-bg);border-bottom:1px solid var(--nl-line);padding:20px}
  .main-nav.is-open{display:block}
  .main-nav ul{display:flex;flex-direction:column;gap:12px}
  .mobile-toggle{display:block}
  .header-actions .btn-light{display:none}
  .hero-grid{grid-template-columns:1fr;gap:35px}
  .hero{padding-top:45px}
  .hero-media{max-width:600px}
  .menu-grid,.feature-grid{grid-template-columns:repeat(2,1fr)}
  .menu-list{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .container{width:min(100% - 26px,1180px)}
  .header-inner{height:96px}
  .site-header.is-scrolled .header-inner{height:68px}
  .main-nav{top:96px}
  .site-header.is-scrolled .main-nav{top:68px}
  .brand img{width:80px;height:80px;padding:5px}
  .site-header.is-scrolled .brand img{width:50px;height:50px;padding:4px}
  .hero h1{font-size:48px}
  .hero-badge{left:12px}
  .menu-grid,.feature-grid,.menu-list{grid-template-columns:1fr}
  .section-head{display:block}
  .section-title{font-size:30px}
  .cta{padding:25px;display:block}
  .cta-actions{margin-top:20px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
}

/* Menü arşivi ve tarihli günlük menü ekranları */
.archive-hero{padding:64px 0 58px;background-color:#fbf8f2;background-image:radial-gradient(#eadfce 1px,transparent 1px);background-size:14px 14px;border-bottom:1px solid var(--nl-line)}
.archive-hero-inner{text-align:center;max-width:760px}
.archive-hero h1,.daily-menu-hero h1{font:700 clamp(42px,5vw,64px)/1 Georgia,"Times New Roman",serif;letter-spacing:-.04em;margin:12px 0 8px}
.archive-hero p{color:var(--nl-muted);margin:0 auto;max-width:650px}
.archive-content{padding-top:48px}
.month-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:34px}
.month-tab{background:#fff;border:1px solid var(--nl-line);border-radius:999px;padding:11px 19px;font-size:13px;font-weight:700;transition:.2s ease}
.month-tab:hover,.month-tab.active{background:var(--nl-gold);border-color:var(--nl-gold);color:#fff}
.archive-month{scroll-margin-top:100px;margin-bottom:42px}
.archive-date-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.archive-date-card{position:relative;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--nl-line);border-radius:18px;padding:14px 17px;min-height:108px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.archive-date-card:hover{transform:translateY(-2px);box-shadow:var(--nl-shadow);border-color:#dcc9ad}
.date-badge{width:58px;height:64px;flex:0 0 58px;border-radius:14px;background:#fff0dc;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a7680d}
.date-badge strong{font:700 24px/1 Georgia,serif}
.date-badge span{font-size:9px;font-weight:800;margin-top:5px}
.archive-date-info{min-width:0;padding-right:20px}
.archive-date-info h2{font-size:14px;margin:0 0 4px}
.archive-date-info p{font-size:11px;color:var(--nl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px}
.archive-price{font-size:11px;font-weight:700;color:#5b6856}
.archive-arrow{position:absolute;right:16px;color:var(--nl-gold);font-size:20px}
.archive-empty{text-align:center;background:#fff;border:1px solid var(--nl-line);border-radius:22px;padding:70px 30px;max-width:760px;margin:0 auto}
.archive-empty h2{font:700 32px Georgia,serif;margin:10px 0}
.archive-empty p{color:var(--nl-muted);max-width:540px;margin:0 auto 22px}
.daily-menu-hero{text-align:center;padding:62px 0 38px;background-color:#fbf8f2;background-image:radial-gradient(#eadfce 1px,transparent 1px);background-size:14px 14px}
.daily-menu-hero p{margin:0;color:var(--nl-muted);font-size:14px}
.daily-menu-content{padding-top:24px}
.date-navigator{max-width:800px;margin:0 auto 34px;background:#fff;border:1px solid var(--nl-line);border-radius:22px;padding:10px;display:flex;align-items:center;gap:8px}
.nav-day{width:42px;height:42px;flex:0 0 42px;border:1px solid var(--nl-line);border-radius:50%;display:grid;place-items:center;font-size:22px;color:#5f5a51}
.nav-day[aria-disabled="true"]{opacity:.35;pointer-events:none}
.date-strip{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;overflow:auto}
.date-chip{min-width:68px;padding:7px 8px;border-radius:12px;text-align:center;display:flex;flex-direction:column;gap:1px;color:#6d675e}
.date-chip small{font-size:9px;font-weight:800}
.date-chip strong{font-size:16px}
a.date-chip:hover{background:#fff5e8;color:var(--nl-gold)}
.date-chip.active{background:var(--nl-gold);color:#fff}
.daily-menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.daily-menu-card{background:#fff;border:1px solid var(--nl-line);border-radius:18px;padding:21px;min-height:205px}
.daily-menu-card h2{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--nl-gold);padding-bottom:12px;border-bottom:1px solid var(--nl-line);margin:0 0 9px}
.daily-menu-card ul{list-style:none;padding:0;margin:0}
.daily-menu-card li{position:relative;padding:7px 0 7px 13px;color:#69635a;font-size:13px}
.daily-menu-card li:before{content:"";width:5px;height:5px;border-radius:50%;background:#e4a04d;position:absolute;left:0;top:14px}
.daily-price-strip{max-width:350px;margin:20px auto 0;background:#e8e9e3;border-radius:17px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between}
.daily-price-strip span{font-size:12px;color:#777268}.daily-price-strip strong{font:700 22px Georgia,serif;color:#40503e}
.daily-menu-cta{margin:62px 0 0;background:#fff;border:1px solid var(--nl-line);border-radius:24px;padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:25px;box-shadow:var(--nl-shadow)}
.daily-menu-cta h2{font:700 28px/1.1 Georgia,serif;margin:0 0 8px}.daily-menu-cta p{margin:0;color:var(--nl-muted);font-size:13px}

@media(max-width:900px){
  .archive-date-grid,.daily-menu-grid{grid-template-columns:repeat(2,1fr)}
  .daily-menu-cta{display:block}.daily-menu-cta .cta-actions{margin-top:20px}
}
@media(max-width:600px){
  .archive-date-grid,.daily-menu-grid{grid-template-columns:1fr}
  .archive-hero{padding:48px 0}.archive-hero h1,.daily-menu-hero h1{font-size:42px}
  .date-navigator{padding:7px}.date-chip{min-width:55px}.nav-day{width:36px;height:36px;flex-basis:36px}
  .daily-menu-cta{padding:25px}
}
.archive-back{display:inline-block;margin-bottom:20px;color:var(--nl-gold);font-size:13px;text-decoration:none}
.archive-back:hover{text-decoration:underline}

/* v1.6: menu item cards are independent from page-card styling; logo uses the configured URL without a circular background. */
.menu-item, article.menu-item, .archive .menu-item, .single-menu_item .menu-item{border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}
.brand img{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}


/* v1.7: Header and homepage slogan refinement */
.site-header,.site-header.is-scrolled{background:rgba(255,255,255,.5)!important;border:0!important;box-shadow:none!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.site-header .main-nav,.site-header .main-nav ul,.site-header .main-nav li,.site-header .main-nav a{border:0!important;box-shadow:none!important;background:transparent}
.site-header .brand-name,.site-header .site-title{display:none!important}
.site-header .brand img,.site-header .custom-logo,.site-header .custom-logo-link{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.hero{padding:50px 0 38px}
.hero-grid{grid-template-columns:1.05fr .95fr;gap:56px}
.hero .eyebrow{background:rgba(255,255,255,.82)}
.hero p{line-height:1.7}
@media(max-width:900px){.hero{padding-top:38px}.hero-grid{gap:32px}}


/* v1.8 — Homepage hero tuned to the supplied visual reference */
@media (min-width: 901px) {
  .hero {
    padding: 54px 0 112px !important;
  }
  .hero .container {
    width: min(940px, calc(100% - 40px)) !important;
    margin-inline: auto !important;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 448px) !important;
    gap: 54px !important;
    align-items: center !important;
  }
  .hero h1 {
    font-size: clamp(56px, 4vw, 64px) !important;
    line-height: .99 !important;
    letter-spacing: -.052em !important;
    max-width: 470px !important;
    margin: 20px 0 18px !important;
    color: #211c17 !important;
  }
  .hero h1 em {
    color: #ad6816 !important;
    font-weight: 400 !important;
    font-style: italic !important;
  }
  .hero p {
    max-width: 460px !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #777066 !important;
    margin: 0 !important;
  }
  .hero .eyebrow {
    padding: 7px 12px !important;
    font-size: 10px !important;
    letter-spacing: .13em !important;
    color: #a96817 !important;
    background: rgba(255,255,255,.82) !important;
    border-color: #eee1cf !important;
  }
  .hero-actions {
    gap: 10px !important;
    margin-top: 28px !important;
  }
  .hero .btn {
    min-height: 44px;
    padding: 0 21px !important;
    font-size: 12px !important;
  }
  .hero .stats {
    gap: 0 !important;
    margin-top: 34px !important;
    align-items: center !important;
  }
  .hero .stat {
    padding: 0 18px !important;
    border-right: 1px solid #e7dfd4;
  }
  .hero .stat:first-child {
    padding-left: 0 !important;
  }
  .hero .stat:last-child {
    border-right: 0 !important;
  }
  .hero-media {
    width: 100% !important;
    max-width: 448px !important;
    justify-self: end !important;
  }
  .hero-media img {
    width: 100% !important;
    aspect-ratio: .95 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }
  .hero-badge {
    left: -22px !important;
    bottom: -22px !important;
    padding: 14px 17px !important;
    min-width: 132px !important;
    border-radius: 17px !important;
    box-shadow: 0 6px 22px rgba(44,35,18,.06) !important;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 38px 0 70px !important;
  }
  .hero .container {
    width: min(680px, calc(100% - 32px)) !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
  .hero h1 {
    font-size: clamp(43px, 8vw, 58px) !important;
    line-height: 1 !important;
  }
  .hero-media {
    max-width: 100% !important;
  }
  .hero-media img {
    aspect-ratio: 1 / .92 !important;
    border-radius: 18px !important;
  }
  .hero-badge {
    left: 12px !important;
    bottom: -16px !important;
  }
}

/* v1.9 — Keep slogan lines together; emphasize Nefis on line two */
.hero-title .hero-title-line { display:block; white-space:nowrap; }
.hero-title .hero-title-line em { color:#ad6816; font-style:italic; font-weight:400; white-space:nowrap; }
@media (min-width:901px) {
  .hero h1.hero-title { font-size:clamp(46px,3.8vw,58px)!important; line-height:.99!important; max-width:none!important; letter-spacing:-.052em!important; }
}
@media (max-width:900px) {
  .hero h1.hero-title { font-size:clamp(38px,8vw,54px)!important; line-height:1!important; max-width:100%!important; }
}
@media (max-width:380px) {
  .hero h1.hero-title { font-size:clamp(34px,8vw,42px)!important; }
}


/* v2.0 — Header fixed at 100px; logo fills the header height */
.site-header,
header.site-header,
.site-header .header-inner,
.site-header .container,
.site-header .nav-inner,
.site-header .header-wrap {
  min-height: 100px !important;
}
.site-header {
  height: 100px !important;
  box-sizing: border-box !important;
}
.site-header .container,
.site-header .header-inner,
.site-header .nav-inner,
.site-header .header-wrap {
  height: 100px !important;
  display: flex !important;
  align-items: center !important;
}
.site-header .custom-logo,
.site-header .custom-logo-link img,
.site-header .site-logo img,
.site-header .logo img,
.site-header .brand img,
.site-header img.custom-logo {
  height: 100px !important;
  max-height: 100px !important;
  width: auto !important;
  max-width: min(260px, 28vw) !important;
  object-fit: contain !important;
}
.site-header .custom-logo-link,
.site-header .site-logo,
.site-header .logo,
.site-header .brand {
  height: 100px !important;
  display: flex !important;
  align-items: center !important;
}
@media (max-width: 900px) {
  .site-header,
  header.site-header,
  .site-header .header-inner,
  .site-header .container,
  .site-header .nav-inner,
  .site-header .header-wrap {
    min-height: 100px !important;
    height: 100px !important;
  }
  .site-header .custom-logo,
  .site-header .custom-logo-link img,
  .site-header .site-logo img,
  .site-header .logo img,
  .site-header .brand img,
  .site-header img.custom-logo {
    height: 100px !important;
    max-height: 100px !important;
    max-width: 42vw !important;
  }
}


/* v2.1 — Hero image slider */
.hero-media .hero-slides{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:30px;box-shadow:var(--nl-shadow);isolation:isolate}
.hero-media .hero-slides .hero-slide{position:absolute!important;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:inherit!important;box-shadow:none!important;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.hero-media .hero-slides .hero-slide.is-active{opacity:1;visibility:visible}
.hero-slider-dots{position:absolute;z-index:3;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.76);backdrop-filter:blur(8px)}
.hero-slider-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#c7bba8;cursor:pointer;transition:width .2s ease,background .2s ease}
.hero-slider-dot.is-active{width:22px;border-radius:8px;background:var(--nl-gold)}
.hero-slider-dot:focus-visible{outline:2px solid var(--nl-gold);outline-offset:3px}
@media(max-width:900px){.hero-media .hero-slides{aspect-ratio:1/.92;border-radius:18px}}
@media(max-width:600px){.hero-media .hero-slides{aspect-ratio:.95/1;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.hero-media .hero-slides .hero-slide,.hero-slider-dot{transition:none}}


/* ==========================================
   FOOTER + ORDER CTA REFINEMENT (v2.1.1)
   Scoped overrides: keeps the existing theme markup intact.
   ========================================== */

/* Order call-to-action: centered card matching the reference */
main .section .container > .cta {
  width: 100%;
  max-width: 936px;
  min-height: 205px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #ebe4dc;
  border-radius: 25px;
  background: radial-gradient(circle at 96% 12%, rgba(215,137,35,.10), transparent 34%), #fffdfb;
  box-shadow: none;
}
main .section .container > .cta > div:first-child { flex: 1 1 0; min-width: 0; }
main .section .container > .cta h2 {
  margin: 0 0 12px;
  color: #2e261f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.1px;
}
main .section .container > .cta p {
  max-width: 380px;
  margin: 0;
  color: #786d62;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
main .section .container > .cta .cta-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
}
main .section .container > .cta .cta-actions .btn {
  min-height: 64px;
  padding: 0 21px;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
main .section .container > .cta .cta-actions .btn-primary {
  min-width: 238px;
  background: #d78923;
  border-color: #d78923;
  color: #fff;
}
main .section .container > .cta .cta-actions .btn-light {
  min-width: 165px;
  background: #fff;
  border-color: #ebe4dc;
  color: #2e261f;
}

/* Footer layout: constrain width and tune type without changing PHP structure */
.site-footer {
  margin-top: 0;
  border-top: 1px solid #eee7df;
  background: #fffdfb;
  color: #786d62;
  font-family: Arial, Helvetica, sans-serif;
}
.site-footer > .container.footer-grid {
  width: min(936px, calc(100% - 48px));
  margin-inline: auto;
  padding: 42px 0 35px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr 1.15fr;
  column-gap: 34px;
  row-gap: 28px;
  align-items: start;
}
.site-footer .footer-brand,
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-brand img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 42px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 12px;
}
.site-footer .footer-brand p,
.site-footer .footer-col p,
.site-footer .footer-col li,
.site-footer .footer-col a {
  color: #766b60;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.site-footer .footer-brand p { max-width: 220px; margin: 0; }
.site-footer .footer-col h3 {
  margin: 0 0 14px;
  color: #b87320;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.site-footer .footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-col li { margin: 0 0 8px; padding: 0; }
.site-footer .footer-col a { text-decoration: none; transition: color .2s ease; }
.site-footer .footer-col a:hover { color: #b87320; }
.site-footer .footer-col p { margin: 0 0 10px; }
.site-footer > .container.footer-bottom {
  width: min(936px, calc(100% - 48px));
  margin-inline: auto;
  padding: 17px 0;
  border-top: 1px solid #eee7df;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  color: #8b8075;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
.site-footer .footer-bottom span { color: #8b8075; font-size: 10px; }

@media (max-width: 1000px) {
  .site-footer > .container.footer-grid {
    column-gap: 24px;
  }
  main .section .container > .cta { padding: 32px; gap: 22px; }
  main .section .container > .cta h2 { font-size: 29px; }
  main .section .container > .cta .cta-actions { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  main .section .container > .cta {
    min-height: 0;
    padding: 25px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }
  main .section .container > .cta h2 { font-size: 29px; line-height: 1.1; }
  main .section .container > .cta .cta-actions { width: 100%; align-items: stretch; flex-direction: column; }
  main .section .container > .cta .cta-actions .btn,
  main .section .container > .cta .cta-actions .btn-primary,
  main .section .container > .cta .cta-actions .btn-light { width: 100%; min-width: 0; }
  .site-footer > .container.footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
    padding: 34px 0;
  }
  .site-footer > .container.footer-bottom { width: calc(100% - 40px); flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .site-footer > .container.footer-grid { grid-template-columns: 1fr; row-gap: 24px; }
}


/* v2.1.2 — CTA phone content and footer resilience */
main .section .container > .cta .cta-actions .cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 238px;
  padding: 0 22px;
}
main .section .container > .cta .cta-phone-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  color: #fff;
  font-size: 17px;
}
main .section .container > .cta .cta-phone-copy {
  display: block;
  text-align: left;
}
main .section .container > .cta .cta-phone-copy small,
main .section .container > .cta .cta-phone-copy strong {
  display: block;
  color: #fff;
  white-space: nowrap;
}
main .section .container > .cta .cta-phone-copy small {
  margin-bottom: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
main .section .container > .cta .cta-phone-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}
.site-footer .footer-brand img {
  width: auto;
  max-width: 228px;
  max-height: 90px;
  height: auto;
}
.site-footer .footer-brand p {
  display: block;
  margin-top: 10px;
}
.site-footer .footer-col p {
  display: block;
  white-space: normal;
}
.site-footer .footer-col p a {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  main .section .container > .cta .cta-phone { width: 100%; }
  main .section .container > .cta .cta-phone-copy { text-align: left; }
}


/* v2.1.3 — Admin-controlled logo height after scrolling. */
.site-header.is-scrolled .brand img,
.site-header.is-scrolled .custom-logo,
.site-header.is-scrolled .custom-logo-link img,
.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .logo img,
.site-header.is-scrolled img.custom-logo {
  height: var(--nefis-scrolled-logo-height, 50px) !important;
  max-height: var(--nefis-scrolled-logo-height, 50px) !important;
  width: auto !important;
  object-fit: contain !important;
}


/* v2.1.4 — Header height follows logo size with 10px top/bottom breathing room. */
.site-header,
header.site-header {
  height: 100px !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
.site-header .header-inner,
.site-header .container.header-inner,
.site-header .nav-inner,
.site-header .header-wrap {
  height: 100px !important;
  min-height: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}
.site-header .brand,
.site-header .custom-logo-link,
.site-header .site-logo,
.site-header .logo {
  height: 80px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.site-header .brand img,
.site-header .custom-logo,
.site-header .custom-logo-link img,
.site-header .site-logo img,
.site-header .logo img,
.site-header img.custom-logo {
  height: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: min(260px, 28vw) !important;
  object-fit: contain !important;
}
.site-header.is-scrolled,
.site-header.is-scrolled .header-inner,
.site-header.is-scrolled .container.header-inner,
.site-header.is-scrolled .nav-inner,
.site-header.is-scrolled .header-wrap {
  height: var(--nl-scrolled-header-height, 70px) !important;
  min-height: 0 !important;
}
.site-header.is-scrolled .header-inner,
.site-header.is-scrolled .container.header-inner,
.site-header.is-scrolled .nav-inner,
.site-header.is-scrolled .header-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .custom-logo-link,
.site-header.is-scrolled .site-logo,
.site-header.is-scrolled .logo {
  height: var(--nl-scrolled-logo-height, 50px) !important;
}
.site-header.is-scrolled .brand img,
.site-header.is-scrolled .custom-logo,
.site-header.is-scrolled .custom-logo-link img,
.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .logo img,
.site-header.is-scrolled img.custom-logo {
  height: var(--nl-scrolled-logo-height, 50px) !important;
  max-height: var(--nl-scrolled-logo-height, 50px) !important;
  width: auto !important;
  max-width: min(260px, 28vw) !important;
  padding: 0 !important;
  object-fit: contain !important;
}
@media (max-width: 900px) {
  .main-nav { top: 100px; }
  .site-header.is-scrolled .main-nav { top: var(--nl-scrolled-header-height, 70px); }
}
@media (max-width: 600px) {
  .site-header .brand img, .site-header .custom-logo,
  .site-header .custom-logo-link img, .site-header .site-logo img,
  .site-header .logo img, .site-header img.custom-logo {
    max-width: 42vw !important;
  }
}


/* v2.1.7 — Homepage hero refined to match the supplied visual reference. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');
.hero{position:relative;overflow:hidden;background-color:#fcf9f4;background-image:radial-gradient(#e8dfd2 .7px,transparent .7px);background-size:22px 22px;color:#28211c;padding:35px 0 70px}
.hero .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:54px}
.hero-copy{min-width:0}
.hero .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 14px;border:1px solid #eadfd0;border-radius:30px;background:rgba(255,255,255,.75);color:#a85e0b;font:600 11px/1.4 "DM Sans",sans-serif;letter-spacing:1.8px;text-transform:uppercase}
.hero .eyebrow:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#d98620}
.hero h1.hero-title{margin:24px 0 18px;color:#28211c;font-family:"Playfair Display",Georgia,serif;font-size:clamp(42px,4.7vw,68px)!important;font-weight:700;line-height:1.08!important;letter-spacing:-2.4px!important;max-width:none!important}
.hero .hero-title .hero-title-line{display:block;white-space:nowrap}
.hero .hero-title .hero-title-line em{color:#ad650f;font-weight:600;font-style:italic;white-space:nowrap}
.hero .hero-description{max-width:540px;margin:0 0 30px;color:#655b52;font:400 16px/1.8 "DM Sans",sans-serif}
.hero .hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:0}
.hero .hero-actions .btn{min-height:49px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;border-radius:28px;text-decoration:none;font:700 13px "DM Sans",sans-serif;transition:transform .2s ease,background .2s ease}
.hero .hero-actions .btn:hover{transform:translateY(-2px)}
.hero .hero-actions .btn-primary{background:#d98720;color:#fff;border:1px solid #d98720}
.hero .hero-actions .btn-light{background:rgba(255,255,255,.8);color:#302820;border:1px solid #e9e1d8}
.hero .stats{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin-top:35px}
.hero .stat{padding:5px 22px;border-right:1px solid #e9e0d6}
.hero .stat:first-child{padding-left:0}
.hero .stat:last-child{border-right:0}
.hero .stat strong{color:#28211c;font:600 20px "Playfair Display",Georgia,serif;white-space:nowrap}
.hero .stat span{display:inline;color:#655b52;font:400 12px "DM Sans",sans-serif}
.hero .hero-media{position:relative;min-width:0}
.hero .hero-slides{height:545px;overflow:hidden;border-radius:24px;background:#eee5d9}
.hero .hero-slides .hero-slide{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:24px;box-shadow:none}
.hero .hero-badge{left:-24px;bottom:-24px;display:flex;flex-direction:column;gap:7px;min-width:155px;padding:20px;border:1px solid #e9e0d7;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(40,33,28,.04)}
.hero .hero-badge small:first-child{color:#ad650f;font:600 11px "DM Sans",sans-serif;letter-spacing:1.5px;text-transform:uppercase}
.hero .hero-badge strong{color:#302820;font:700 16px "Playfair Display",Georgia,serif}
.hero .hero-badge small:last-child{color:#756b62;font:400 13px "DM Sans",sans-serif;text-transform:none;letter-spacing:0}
@media(min-width:901px){
.hero .container{width:min(var(--nefis-hero-width,1110px),calc(100% - 48px))!important;max-width:none!important;margin-inline:auto!important}
.hero .hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:44px!important}
.hero .hero-copy{position:relative;z-index:3;min-width:0;overflow:visible}
.hero h1.hero-title{font-size:clamp(42px,3.7vw,58px)!important;letter-spacing:-1.8px!important;line-height:1.08!important;max-width:100%!important;overflow-wrap:normal!important}
.hero .hero-title .hero-title-line{white-space:normal!important;max-width:100%}
.hero .hero-media{z-index:1;min-width:0}
.hero .hero-slides{height:545px!important}
.hero .stats{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:0!important}
.hero .stat{white-space:nowrap;padding:5px 12px!important}
.hero .stat:first-child{padding-left:0!important}
.hero .stat:last-child{border-right:0!important}
.hero .stat strong{font-size:18px!important}
.hero .stat small{font:400 12px "DM Sans",sans-serif!important;color:#655b52}
}
@media(max-width:1100px) and (min-width:901px){.hero .hero-grid{gap:30px!important;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important}.hero h1.hero-title{font-size:clamp(38px,3.8vw,48px)!important;letter-spacing:-1.4px!important}.hero .hero-slides{height:470px!important}.hero .stat{padding-inline:8px!important}.hero .stat strong{font-size:16px!important}}
@media(max-width:900px){.hero{padding:42px 0 60px}.hero .hero-grid{width:min(720px,calc(100% - 40px))!important;grid-template-columns:minmax(0,1fr);gap:38px}.hero h1.hero-title{font-size:clamp(40px,8vw,60px)!important;letter-spacing:-1.5px!important}.hero .hero-title .hero-title-line{white-space:normal!important;max-width:100%}.hero .hero-slides{height:clamp(300px,70vw,500px)!important}.hero .hero-badge{left:12px;bottom:-18px}.hero .stats{flex-wrap:wrap!important}.hero .stat{padding-inline:10px!important}}
@media(max-width:480px){.hero .hero-grid{width:calc(100% - 32px)}.hero h1.hero-title{font-size:42px!important}.hero .stat{padding-inline:10px}.hero .stat strong{font-size:16px}}


/* v2.2.9: keep the homepage hero slider visible; admin height setting is applied by functions.php. */
.hero .hero-media .hero-slides{display:block!important;position:relative!important;min-height:300px;background:#eee5d9;}
.hero .hero-media .hero-slides .hero-slide{display:block!important;}
.hero .hero-media .hero-slides .hero-slide.is-active{opacity:1!important;visibility:visible!important;z-index:1!important;}
.hero .hero-media .hero-slides .hero-slide:not(.is-active){opacity:0!important;visibility:hidden!important;z-index:0!important;}
@media(max-width:900px){.hero .hero-media .hero-slides{min-height:clamp(300px,70vw,500px);}}


/* Admin-authored homepage content section: inherit the theme's typography and spacing. */
.nefis-homepage-extra-content .nefis-rich-content > :first-child{margin-top:0;}
.nefis-homepage-extra-content .nefis-rich-content > :last-child{margin-bottom:0;}
.nefis-homepage-extra-content .nefis-rich-content img{max-width:100%;height:auto;border-radius:12px;}
.nefis-homepage-extra-content .nefis-rich-content figure{max-width:100%;}
.nefis-homepage-extra-content .nefis-rich-content iframe{max-width:100%;}
.nefis-homepage-extra-content .nefis-rich-content table{width:100%;border-collapse:collapse;}


/* v2.2.15-fix — Mobile navigation: opaque dropdown panel with downward motion. */
@media (max-width: 900px) {
  .site-header { isolation: isolate; }
  .site-header .main-nav {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 10px 18px 18px !important;
    margin: 0 !important;
    background: #fffdf9 !important;
    background-color: #fffdf9 !important;
    border-top: 1px solid #eee4d5 !important;
    border-bottom: 1px solid #e9e2d7 !important;
    box-shadow: 0 16px 32px rgba(35, 26, 15, .16) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .24s ease, transform .28s ease, visibility .28s ease;
    z-index: 1001;
  }
  .site-header .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header .main-nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fffdf9 !important;
  }
  .site-header .main-nav li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #fffdf9 !important;
    border-bottom: 1px solid #eee8df !important;
  }
  .site-header .main-nav li:last-child { border-bottom: 0 !important; }
  .site-header .main-nav a {
    display: block !important;
    width: 100%;
    padding: 13px 8px !important;
    color: #302820 !important;
    background: #fffdf9 !important;
    font-size: 15px !important;
    line-height: 1.45;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible {
    color: #9e6511 !important;
    background: #f8f0e4 !important;
    outline-offset: -2px;
  }
  .site-header .mobile-toggle {
    position: relative;
    z-index: 1002;
    cursor: pointer;
    color: #302820;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .site-header .mobile-toggle:focus-visible {
    outline: 2px solid #b87918;
    outline-offset: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .main-nav { transition: none !important; transform: none;}
}
