/* ==========================================================
   Little Silver Of York — Silver/White (Encore-like)
   Clean + Non-duplicated + Fit-to-image sliders
   NOTE: Post hero (.heroimg) and index covers are NOT modified
   ========================================================== */

/* ---------- Tokens / Reset ---------- */
:root{
  --text:#0f1115;
  --muted:#6b7280;
  --line:rgba(15,17,21,.12);
  --silver2:#f4f5f7;
  --glass:rgba(255,255,255,.68);
  --shadow:0 16px 40px rgba(15,17,21,.10);
  --shadow2:0 10px 24px rgba(15,17,21,.08);
  --radius2:26px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  background:
    radial-gradient(1200px 700px at 20% -10%,var(--silver2),transparent 55%),
    radial-gradient(900px 600px at 80% -5%,#f7f7f8,transparent 50%),
    linear-gradient(180deg,#fff,#fff);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{ max-width:1140px; margin:0 auto; padding:0 20px; }
.muted{ color:var(--muted); }
.small{ font-size:.92rem; }
.hero-slides video{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* banner jelleg */
  display: block;
}
/* ---------- Topbar / Header ---------- */
.topbar{
  border-bottom:0px solid var(--line);
  background:#ebe5e0;
  backdrop-filter:blur(10px);
}

.topbar-inner{
  padding:30px 0 30px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:0px solid var(--line);
  border-radius:999px;
  font-weight:600;
}

.top-cta{
  font-weight:600;
  padding:8px 12px;
  border-radius:999px;
  border:0;
  background-color:#5b7d84;
  color:#fffbeb;
  font-size: clamp(.5rem, 3vw, .7rem); /* smaller max everywhere */
}

.site-header{ position:sticky; top:0; z-index:60; }

.navwrap{
  background: #ebe5e0dc;
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.logo{ width:44px; height:44px; }

.brand-name{
  font-family:"Playfair Display",serif;
  font-weight:700;
  letter-spacing:.3px;
  line-height:1.05;
  font-size: clamp(.68rem, 3vw, .78rem); /* smaller max everywhere */

}

.brand-sub{ font-size:.85rem; color:var(--muted); margin-top:2px; }

.nav{ display:flex; align-items:center; gap:18px; }

.nav-link{
  font-weight:600;
  font-size:.96rem;
  padding:10px 10px;
  border-radius:12px;
}

.nav-link:hover{ background:rgba(15,17,21,.05); }
.nav-link.active{ background:rgba(15,17,21,.06); }

.nav-btn{
  border:0;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.chev{ font-size:.8rem; color:var(--muted); }

.nav-drop{ position:relative; }

.dropmenu{
  position:absolute;
  top:44px;
  left:-6px;
  min-width:200px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow2);
  padding:8px;
  display:none;
}

.nav-drop:hover .dropmenu{ display:block; }

.dropitem{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  font-weight:600;
}

.dropitem:hover{ background:rgba(15,17,21,.05); }
.dropitem.active{ background:rgba(15,17,21,.06); }

.nav-toggle{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#ebe5e0;
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#111;
  margin:2px 0;
  border-radius:2px;
}

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:72vh; display:grid; }
.hero-media{ position:absolute; inset:0; }
.hero-slides{ position:absolute; inset:0; }

.hero-slides .hs{
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .7s ease,transform 1.2s ease;
}

.hero-slides .hs.active{ opacity:1; transform:scale(1); }

.hero-slides img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* banner jelleg */
  display: block;
}

.hero-overlay{ position:absolute; inset:0; }

.hero-content{
  position:relative;
  display:hidden;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
  margin-top: 5px;
}

.hero-content2{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
}

.hero-kicker{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(8px);
  font-weight:600;
}

.hero-title{
  font-family:"Playfair Display",serif;
  font-weight:700;
  letter-spacing:.2px;
  margin:0;
  font-size:clamp(2.2rem,4.2vw,3.3rem);
  line-height:1.05;
  color: #fff;
  text-shadow: #000000 0 5px 10px;
}

.hero-title .thin{ font-weight:500; }

.hero-lead{
  margin:0;
  max-width:60ch;
  color:rgb(255, 255, 255);
  font-size:1.5rem;
  font-weight: bolder;
  border-radius: 20px;
  padding: 5px;
    text-shadow: #000000 0 5px 10px;

}

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }

.hero-dots{ display:flex; gap:8px; margin-top:10px; }

.hero-dots button{
  width:9px;
  height:9px;
  border-radius:999px;
  border:1px solid rgba(15,17,21,.25);
  background:rgba(255,255,255,.6);
  cursor:pointer;
}

.hero-dots button.active{ background:rgba(15,17,21,.75); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,var(--silver2));
  font-weight:700;
}

.btn-primary{
  color:#fff;
  border-color:#0f1115;
  background:linear-gradient(180deg,#0f1115,#2b2f38);
}

.btn-ghost{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
}

.textlink{ font-weight:700; }
.textlink:hover{ text-decoration:underline; }

/* ---------- Sections / Cards / Grids ---------- */
.section{ padding:54px 0; }

.section.alt{
  background:linear-gradient(180deg,rgba(231,232,236,.55),rgba(255,255,255,0));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-puppy{ padding:20px; background: #cfc1b4;}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.h2{
  font-family:"Playfair Display",serif;
  font-weight:700;
  margin:0;
  font-size:2rem;
}

.h3{
  font-family:"Playfair Display",serif;
  font-weight:700;
  margin:0;
  font-size:1.3rem;
}

.split{ display:grid; grid-template-columns:1.1fr .9fr; gap:18px; align-items:stretch; }

.card{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.glass{ background:var(--glass); backdrop-filter:blur(12px); }
.card.glass{ padding:22px; }

/* Important: don't distort generic media images */
.media-card img{
  width:100%;
  height:auto;
  object-fit:contain;
}

.media-caption{
  padding:12px 16px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.7);
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.eyebrow{
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.82rem;
  color:rgba(15,17,21,.65);
  margin-bottom:8px;
}

.mini-points{ display:grid; gap:10px; margin:16px 0; }
.mini{ display:flex; align-items:center; gap:10px; font-weight:600; }
.dot{ width:10px; height:10px; border-radius:999px; background:linear-gradient(180deg,#111,#444); }

.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.grid2{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }

.tile,.post{
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow2);
}

/* NOTE: Dogs index cover (.tile-img img) is intentionally not modified */
.tile-body,.post-body{ padding:14px 14px 16px; }

.tile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.badge{
  font-weight:700;
  font-size:.86rem;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,var(--silver2));
}

.badge.ok{ border-color:rgba(16,185,129,.35); background:#ecfdf5; }

.section-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

.cta-band{
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(231,232,236,.55));
  box-shadow:var(--shadow2);
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* ---------- Home Gallery: Pinterest-style Masonry (NO CROP) ---------- */
.mosaic{
  display:block;
  column-count:3;
  column-gap:14px;
}

.mosaic-item{
  display:inline-block;
  width:100%;
  margin:0 0 14px;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow2);
  background:#fff;
}

.mosaic-item img{
  width:100%;
  height:auto;
  object-fit:contain; /* full image visible */
  transition:transform .45s ease;
}

.mosaic-item:hover img{ transform:scale(1.03); }

/* ---------- Page hero / Typography ---------- */
.page-hero{
  padding:46px 0 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,rgba(231,232,236,.55),rgba(255,255,255,0));
}

.page-title{
  font-family:"Playfair Display",serif;
  font-weight:700;
  margin:0;
  font-size:clamp(2.2rem,4vw,3rem);
}

.page-lead{ margin:8px 0 0; color:rgba(15,17,21,.7); max-width:70ch; }
.page-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }

.prose{ line-height:1.75; }

.callout{
  margin-top:16px;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
}
.callout.ok{ border-color:rgba(16,185,129,.35); background:#ecfdf5; }
.callout.warn{ border-color:rgba(245,158,11,.4); background:#fffbeb; }

/* ---------- Dog layout ---------- */
.dog-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  align-items:start;
}
.media{ background:#fff; }

.kv{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.kv>div{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.kv span{ color:var(--muted); font-weight:600; }

/* ---------- Premium Slideshow (FIT TO IMAGE, NO CROP) ---------- */
.slider,
.blog-slider{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow2);
  background:#fff;
}

.slides{
  display:flex;
  transition:transform .35s ease;
  will-change:transform;
}

.slide{ min-width:100%; }

/* Fit-to-image: height follows photo ratio, no crop */
.slider .slide img,
.blog-slider .slide img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}

/* overlay gradient (does not force height) */
.slider::after,
.blog-slider::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(15,17,21,.18), rgba(15,17,21,0) 32%),
    linear-gradient(0deg, rgba(15,17,21,.20), rgba(15,17,21,0) 34%);
  opacity:.85;
}

/* slider arrows */
.sbtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.22);
  color:#fff;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 14px 28px rgba(15,17,21,.20);
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, opacity .18s ease;
  opacity:.92;
}

.sbtn.prev{ left:14px; }
.sbtn.next{ right:14px; }

.sbtn:hover{
  transform:translateY(-50%) scale(1.03);
  background:rgba(255,255,255,.28);
  opacity:1;
}

/* dots container (optional, if JS adds it later) */
.slider .slider-dots,
.blog-slider .slider-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:5;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
}

.slider .slider-dots button,
.blog-slider .slider-dots button{
  width:8px;
  height:8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.30);
  padding:0;
  cursor:pointer;
}

.slider .slider-dots button.active,
.blog-slider .slider-dots button.active{
  background:rgba(255,255,255,.95);
}

/* ---------- Gallery page ---------- */
.gallery-stage{
  display:grid;
  grid-template-columns:56px 1fr 56px;
  gap:10px;
  align-items:center;
}

.gmain{
  width:100%;
  height:auto;
  object-fit:contain; /* no crop */
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow2);
  cursor:zoom-in;
}

.gbtn{
  height:52px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}

.gallery-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:12px 0;
  flex-wrap:wrap;
}

.pager{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.thumbs{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}

.thumbs img{
  width:100%;
  height:92px;
  object-fit:contain; /* no crop */
  border-radius:18px;
  border:1px solid var(--line);
  cursor:pointer;
  opacity:.9;
}

.thumbs img.active{
  outline:2px solid rgba(15,17,21,.75);
  opacity:1;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:80;
  background:rgba(0,0,0,.78);
  display:grid;
  place-items:center;
  padding:20px;
}
.lightbox[hidden]{ display:none !important; }
.lightbox img{ max-width:95vw; max-height:85vh; border-radius:18px; }
.lightbox-close{
  position:fixed;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:0;
  background:#fff;
  cursor:pointer;
}

/* ---------- Footer ---------- */
.site-footer{
  border-top:0px solid var(--line);
  background:#ebe5e0;
  backdrop-filter:blur(10px);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:18px;
  padding:34px 0;
}

.footer-brand{
  font-family:"Playfair Display",serif;
  font-weight:700;
  font-size:1.3rem;
}

.footer-title{ font-weight:800; margin-bottom:8px; }

.footer-links{ display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; }
.footer-links a{ font-weight:700; color:rgba(15,17,21,.72); }
.footer-links a:hover{ text-decoration:underline; }

.footer-bottom{
  padding:14px 0;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .split,.dog-layout{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr 1fr; }
  .thumbs{ grid-template-columns:repeat(4,1fr); }
  .footer-grid{ grid-template-columns:1fr; }

  .nav{ display:none; }
  .nav-toggle{ display:flex; }

  .nav.open{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    position:absolute;
    right:20px;
    top:76px;
    background:#ebe5e0;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow2);
    padding:10px;
    width:min(320px,calc(100vw - 40px));
  }

  .nav.open .dropmenu{
    position:static;
    display:block;
    border:0;
    box-shadow:none;
    padding:0;
  }

  .nav.open .dropitem{ padding-left:14px; }

  .mosaic{ column-count:2; }
}

@media(max-width:640px){
  .grid3,.grid2{ grid-template-columns:1fr; }
  .thumbs{ grid-template-columns:repeat(3,1fr); }
  .mosaic{ column-count:1; }

  /* Mobile text padding (global readability) */
  .container{ padding-left:14px; padding-right:14px; }
  .card,.glass,.section{ padding-left:12px; padding-right:12px; }
  .richtext{ padding-left:6px; padding-right:6px; }
  .page-hero-inner{ padding-left:10px; padding-right:10px; }

  .slider,.blog-slider{ border-radius:18px; }
  .sbtn{ width:44px; height:44px; border-radius:14px; }
  .hero-slides img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* banner jelleg */
  display: block;}
}


/* Dog single: Származás + Nem mobilon egymás alatt */
@media (max-width: 640px){
  .dog-layout .kv{
    grid-template-columns: 1fr; /* 2->1 oszlop */
  }
}


/* ==========================================================
   Requested adjustments (2026-02)
   - Dogs & Blog list covers: fixed size + cover
   - Sliders (dogs + blog): fit to image, no crop, JS controls height
   - Desktop sticky footer (bottom when page is short)
   ========================================================== */

/* Dogs listing covers (egységes, cover) */
.tile-img img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Blog listing covers (egységes, cover) */
.post-img img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Mobile tweaks for covers */
@media (max-width: 640px){
  .tile-img img{ height: 200px; }
  .post-img img{ height: 190px; }
  .hero-title{
  font-family:"Playfair Display",serif;
  font-weight:700;
  letter-spacing:.2px;
  margin:0;
  font-size:clamp(1.6rem,2.2vw,1.3rem);
  line-height:1.05;
  color: #fff;
  text-shadow: #000000 0 0px 10px;
}

.hero-lead{
  margin:0;
  max-width:60ch;
  color:rgb(255, 255, 255);
  font-size:1.0rem;
  font-weight: bolder;
  border-radius: 20px;
  padding: 5px;
    text-shadow: #000000 0 0px 10px;

}
.hero-content{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:14px;
}

.hero-content2{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
}
}


/* Slider images: show full photo, never crop.
   Height is controlled by JS based on natural image ratio. */
.card-media{ transition: height .25s ease; }
.slider, .blog-slider{ transition: height .25s ease; }

.slider .slide img,
.blog-slider .slide img{
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* Prevent accidental fixed heights from older rules */
.slider, .blog-slider,
.slider .slides, .blog-slider .slides,
.slider .slide, .blog-slider .slide{
  height: auto;
  min-height: 0;
}

/* Desktop sticky footer: footer stays at bottom if content is short */
@media (min-width: 981px){
  body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  main{ flex: 1 0 auto; }
  .site-footer{ margin-top: auto; }
  
}
/* ===== MOBILE: hero gombok egy sorban, stabil layout ===== */
@media (max-width: 640px){

  .hero-actions{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;          /* egy sorban maradjanak */
    gap: 8px !important;
    justify-content: space-between;
  }

  .hero-actions .btn{
    flex: 1 1 0;                /* mindhárom egyforma széles */
    min-width: 0;              /* engedi zsugorodni */
    white-space: nowrap;       /* ne törje több sorba */
    text-align: center;
    justify-content: center;
    padding: 10px 10px;        /* kicsit kompaktabb mobilon */
    font-size: clamp(.85rem, 3.2vw, .95rem); /* nagy betűméretnél se essen szét */
    line-height: 1.05;
  }
}
@media (max-width: 360px){
  .hero-actions .btn{
    font-size: .82rem !important;
  }
}

/* ===== MOBILE: kisebb MAX betűméret a hero gombokon ===== */
@media (max-width: 640px){

  .hero-actions{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;     /* maradjon egy sorban */
    gap: 8px !important;
    justify-content: space-between;
  }

  .hero-actions .btn{
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    justify-content: center;
    text-align: center;

    /* itt a lényeg: kisebb MAX érték */
    font-size: clamp(.6rem, 3vw, .7rem) !important;
    line-height: 1.05;
    padding: 10px 10px;
  }

  /* opcionális: a hero cím/lead se nőjön túl nagyra mobilon */
  .hero-title{
    font-size: clamp(1.2rem, 5.2vw, 1.4rem) !important;
  }

  .hero-lead{
    font-size: clamp(.5rem, 3.8vw, 0.7rem) !important;
  }
}