/*
Theme Name: Dr. Mányoki Bernadett - Elegáns SEO ügyvédi sablon
Theme URI: https://www.drmanyoki.hu
Author: OpenAI
Description: Modern, elegáns, mobilra optimalizált, SEO-barát egyoldalas WordPress sablon ügyvédi honlaphoz.
Version: 4.5
Text Domain: drmanyoki
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.2
*/

:root{
  --bg:#f6f3ee;
  --paper:#fffdfa;
  --ink:#1f252b;
  --muted:#676d73;
  --line:#e7ded2;
  --accent:#9b7a4f;
  --accent-dark:#6f5433;
  --soft:#efe7dc;
  --white:#ffffff;
  --shadow:0 18px 50px rgba(31,37,43,.08);
  --radius:24px;
  --font-main:"Segoe UI", Roboto, Arial, sans-serif;
  --font-display:Georgia, "Times New Roman", serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:linear-gradient(180deg,#fbf8f3 0%,var(--bg) 100%);
  color:var(--ink);
  font-family:var(--font-main);
  font-size:17px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%; height:auto}
a{color:var(--accent-dark); text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid rgba(155,122,79,.45); outline-offset:4px}
.container{width:min(1120px,92%); margin:0 auto}
.skip-link{
  position:absolute; left:-999px; top:12px; z-index:1000;
  background:var(--ink); color:#fff; padding:10px 14px; border-radius:10px;
}
.skip-link:focus{left:12px}

.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(255,253,250,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:78px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{
  font-weight:800; letter-spacing:.02em; color:var(--ink);
  font-size:18px; white-space:nowrap;
}
.nav{
  display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 16px;
  font-size:13px; text-transform:uppercase; letter-spacing:.08em;
}
.nav a{
  color:var(--muted);
  padding:8px 0;
}
.nav a:hover{color:var(--accent-dark); text-decoration:none}

.hero{padding:74px 0 44px}
.hero-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:32px;
  box-shadow:var(--shadow);
  padding:42px;
  display:grid;
  grid-template-columns:230px 1fr;
  gap:30px;
  align-items:center;
}
.profile{
  width:200px;
  height:200px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid var(--soft);
  box-shadow:0 10px 28px rgba(31,37,43,.12);
}
.eyebrow{
  margin:0 0 12px;
  color:var(--accent-dark);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:13px;
  font-weight:800;
}
h1,h2,h3{
  color:var(--ink);
  overflow-wrap:break-word;
}
h1{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(35px,5vw,62px);
  line-height:1.05;
  font-weight:500;
}
.credentials{
  margin:18px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
}
.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:28px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--accent);
  font-weight:800;
  line-height:1.2;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.primary{background:var(--accent-dark); color:#fff}
.btn.secondary{color:var(--accent-dark); background:#fff}
.btn:hover{text-decoration:none; transform:translateY(-1px); box-shadow:0 10px 24px rgba(31,37,43,.08)}

.section{padding:34px 0; scroll-margin-top:100px}
.panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 14px 40px rgba(31,37,43,.055);
  padding:36px;
}
.section-title{
  margin:0 0 22px;
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(28px,3vw,42px);
  line-height:1.15;
}
.kicker{
  margin:0 0 8px;
  color:var(--accent-dark);
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
p{margin:0 0 16px}
ul{margin:0 0 24px; padding:0; list-style:none}
li{
  position:relative;
  padding-left:24px;
  margin:8px 0;
}
li:before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--accent);
  position:absolute; left:2px; top:.78em;
}
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.subcard{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
}
h3{
  margin:0 0 14px;
  font-family:var(--font-display);
  font-weight:500;
  font-size:24px;
  line-height:1.25;
}
.legal-text{
  font-size:15.5px;
  line-height:1.72;
  color:#2c3338;
}
.legal-text h3{font-size:24px; margin-top:30px}
.contact-box{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
}
.contact-list p{
  padding:12px 0;
  border-bottom:1px solid var(--line);
  margin:0;
}
.contact-list p:last-child{border-bottom:0}
.site-footer{
  margin-top:50px;
  padding:34px 0;
  background:#1f252b;
  color:#f7f1e8;
  font-size:14px;
}
.site-footer a{color:#f7f1e8}

@media(max-width:900px){
  body{font-size:16px}
  .header-inner{align-items:flex-start; flex-direction:column; padding:16px 0; gap:10px}
  .brand{white-space:normal}
  .nav{
    justify-content:flex-start;
    gap:6px 12px;
    font-size:12px;
    line-height:1.3;
  }
  .hero{padding:42px 0 24px}
  .hero-card{
    grid-template-columns:1fr;
    text-align:left;
    padding:28px;
    border-radius:26px;
  }
  .profile{width:150px; height:150px}
  .grid,.contact-box{grid-template-columns:1fr}
  .panel{padding:26px}
  .section{padding:22px 0; scroll-margin-top:138px}
  .credentials{font-size:16px}
}

@media(max-width:520px){
  .container{width:min(100% - 28px,1120px)}
  .hero-card{padding:22px}
  .panel{padding:22px}
  .btn{width:100%}
  .nav a{padding:5px 0}
  h1{font-size:34px}
  .section-title{font-size:28px}
  .subcard{padding:20px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}


/* V3 finomhangolás: sorkizárt tartalom, nagyobb profilkép, helyi SEO kiemelés */
.panel p,
.panel li,
.legal-text p,
.legal-text li {
  text-align: justify;
  text-justify: inter-word;
}

.hero p,
.credentials,
.contact-list p,
.site-footer p,
.kicker,
.local-seo-intro {
  text-align: left;
}

.profile {
  filter: brightness(1.04);
}

.local-seo-intro {
  background: linear-gradient(135deg, rgba(155,122,79,.11), rgba(239,231,220,.55));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 22px 0 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

@media(max-width:900px){
  .hero-card{
    grid-template-columns:1fr;
  }
  .profile{
    width:160px;
    height:160px;
  }
}

@media(max-width:520px){
  .profile{
    width:145px;
    height:145px;
  }
  .panel p,
  .panel li,
  .legal-text p,
  .legal-text li {
    text-align: left;
  }
}


.seo-highlight{
    margin: 40px auto 10px auto;
    padding: 28px 36px;
    max-width: 900px;
    background: linear-gradient(135deg,#f5f1ea 0%,#ece5da 100%);
    border-left: 6px solid #9a7748;
    border-radius: 18px;
    font-size: 1.35rem;
    line-height: 1.8;
    font-weight: 600;
    color:#2d2d2d;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

@media(max-width:768px){
    .seo-highlight{
        font-size:1.05rem;
        padding:22px;
        margin:25px 15px;
    }
}
