/*
Theme Name: Vidvuds Legal
Theme URI: https://vidvuds.lv/
Author: VIDVUDS.LV project
Description: Individuāla vienas lapas WordPress tēma juridiskajiem pakalpojumiem.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vidvuds-legal
*/
:root{--navy:#071827;--navy2:#0d2537;--gold:#c9953d;--gold2:#f1c46e;--cream:#f8f4ed;--ink:#101e2d;--muted:#56606b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:var(--cream);line-height:1.55}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand-name{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(2.3rem,4.5vw,4.4rem);line-height:1.08;letter-spacing:-.025em;margin-bottom:20px}h2{font-size:clamp(2rem,3vw,3rem);line-height:1.15;margin-bottom:22px}h3{font-size:1.3rem;line-height:1.25;margin-bottom:9px}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.hero{background:radial-gradient(ellipse at 75% 30%,#254053 0%,transparent 42%),linear-gradient(115deg,#061521,#0d2435 72%,#071521);color:#fff;position:relative;overflow:hidden}.hero-inner{min-height:495px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;position:relative}.brand{display:flex;gap:17px;align-items:center;padding:27px 0 30px}.brand-mark{font:italic 58px/1 Georgia,serif;color:var(--gold2);letter-spacing:-13px;padding-right:12px}.brand-name{font-size:27px;font-weight:700;letter-spacing:.03em;line-height:1.1}.brand-sub{font-size:11px;letter-spacing:.26em;text-transform:uppercase;margin-top:7px}.hero-copy{padding:0 0 62px;position:relative;z-index:2}.hero-copy>p{font-size:19px;max-width:490px;color:#e8e7e4}.gold-rule{width:58px;height:3px;background:var(--gold2);margin-bottom:22px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 24px;border-radius:7px;text-decoration:none;font-weight:700;transition:transform .2s,filter .2s}.btn:hover{transform:translateY(-2px);filter:brightness(1.07)}.btn-gold{color:#14202a;background:linear-gradient(110deg,#e5b85c,#c28a31)}.btn-outline{border:1px solid #d4a24e;color:#fff}.justice-art{width:100%;height:430px;opacity:.95;filter:drop-shadow(0 12px 30px #0009)}.section{padding:58px 0}.section-heading{text-align:center;margin-bottom:32px}.section-heading h2{display:inline-block;position:relative}.section-heading h2:before,.section-heading h2:after{content:"";position:absolute;top:50%;width:75px;height:1px;background:var(--gold)}.section-heading h2:before{right:calc(100% + 20px)}.section-heading h2:after{left:calc(100% + 20px)}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.service-card{background:#fffdf9;border:1px solid #ece6dd;box-shadow:0 6px 22px #18212b0d;border-radius:12px;padding:26px 22px;display:flex;gap:18px;min-height:143px}.service-card svg{flex:0 0 44px;width:44px;height:44px;color:#b47b24}.service-card p{font-size:14px;margin:0}.about{background:linear-gradient(100deg,#091c2b,#0d293d);color:#fff;overflow:hidden}.about-inner{display:grid;grid-template-columns:43% 57%;align-items:end;min-height:365px}.about-image{position:relative;min-height:365px;display:flex;align-items:end;justify-content:center}.about-image:before{content:"";position:absolute;inset:12% 8% 0;background:radial-gradient(ellipse at center,#415363 0%,transparent 66%)}.about-image img{position:relative;display:block;width:100%;max-height:380px;object-fit:contain;object-position:bottom}.about-copy{padding:46px 15px 48px 50px}.about-copy h2{margin-bottom:12px}.about-copy p{font-size:17px;max-width:650px;color:#e2e9ed}.qualities{display:flex;gap:10px;justify-content:space-between;margin-top:26px}.quality{flex:1;text-align:center;border-right:1px solid #8b9ca6;padding:0 10px}.quality:last-child{border:0}.quality svg{width:34px;height:34px;color:var(--gold2);display:block;margin:0 auto 7px}.quality span{font:18px Georgia,serif}.benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 45px}.benefit{display:flex;gap:20px;align-items:flex-start}.benefit svg{width:45px;height:45px;flex:0 0 45px;color:#b17a27}.benefit p{margin:0;font-size:15px}.benefit h3{margin-bottom:4px}.benefit a{color:#74511b;text-underline-offset:3px}.cta-banner{background:#081d2d;color:#fff;padding:30px 0;border-top:1px solid #b6873d}.cta-inner{display:flex;gap:26px;align-items:center}.cta-icon{font-size:52px;color:var(--gold2);line-height:1}.cta-inner h3{font-size:23px;margin-bottom:6px}.cta-inner p{margin:0;color:#e0e6e9}.contact{padding:58px 0 70px;background:linear-gradient(140deg,#faf7f2,#eee8df)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.contact h2{margin-bottom:13px}.contact-intro{color:var(--muted);margin-bottom:28px}.contact-item{display:flex;gap:16px;align-items:center;margin:18px 0;font-size:19px}.contact-item svg{color:#ad7727;width:25px;height:25px;flex:0 0 25px}.contact-value{font-weight:700;overflow-wrap:anywhere}.mobile-link{display:none}.contact-art{display:flex;align-items:center;justify-content:center;min-height:250px;border:1px solid #ded4c5;border-radius:18px;background:radial-gradient(circle at center,#fff 0%,#f0e9df 80%)}.contact-art svg{width:min(75%,320px);height:auto;color:#ad7727}.footer{background:#071827;color:#fff;padding:25px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer .brand{padding:0}.footer .brand-mark{font-size:42px}.footer .brand-name{font-size:18px}.footer .brand-sub{font-size:9px}.footer small{color:#c6d0d7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.hero-inner{grid-template-columns:1fr .6fr;min-height:430px}.justice-art{height:330px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-copy{padding-left:25px}.section-heading h2:before,.section-heading h2:after{width:35px}}@media(max-width:650px){.wrap{width:min(100% - 32px,520px)}.hero-inner{display:block;min-height:unset}.brand{padding:22px 0 26px}.brand-mark{font-size:45px}.brand-name{font-size:22px}.hero-copy{padding:0 0 38px}.hero-copy>p{font-size:16px}.hero-art{position:absolute;right:-65px;top:75px;opacity:.18;width:60%;pointer-events:none}.justice-art{height:290px}.actions{flex-direction:column;align-items:stretch}.btn{width:100%}.section{padding:42px 0}.section-heading{margin-bottom:22px}.section-heading h2:before,.section-heading h2:after{display:none}.services-grid,.benefits-grid,.contact-grid{grid-template-columns:1fr}.service-card{min-height:auto;padding:20px}.about-inner{grid-template-columns:1fr}.about-image{order:2;min-height:230px}.about-image img{max-height:300px;width:min(100%,420px)}.about-copy{order:1;padding:40px 0 10px}.qualities{margin-top:22px}.quality span{font-size:15px}.benefits-grid{gap:25px}.cta-inner{align-items:flex-start;gap:15px}.cta-icon{font-size:36px}.cta-inner h3{font-size:19px}.contact-grid{gap:24px}.contact-art{min-height:160px}.contact-art svg{max-height:140px}.desktop-value{display:none}.mobile-link{display:inline;color:var(--ink);text-decoration:underline;text-decoration-color:#c39a56;text-underline-offset:5px}.footer-inner{flex-direction:column;align-items:flex-start}.footer small{font-size:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* v1.1: editorial service grid, social links and Lady Justice */
.hero-art{height:100%;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;position:relative}
.justice-image{width:100%;height:465px;object-fit:cover;object-position:58% center;mix-blend-mode:screen;opacity:.94;mask-image:linear-gradient(to right,transparent 0%,#000 18%,#000 93%,transparent 100%)}
.services-grid{align-items:start;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.service-card{min-height:0;align-items:flex-start;padding:23px 20px 24px;gap:14px;break-inside:avoid}
.service-card h3{font-size:1.33rem;margin-bottom:13px;padding-bottom:12px;border-bottom:1px solid #d9b77b}
.service-card svg{width:34px;height:34px;flex-basis:34px}
.service-card>div{min-width:0}
.service-details{padding-left:17px;margin:0;font-size:14px;line-height:1.55}
.service-details li+li{margin-top:9px}
.service-details strong{color:#10273a}
.social{margin-top:28px}.social h3{font-size:1.22rem;margin-bottom:14px}
.social-links{display:flex;flex-wrap:wrap;gap:10px}
.social-links a{display:inline-flex;align-items:center;gap:8px;border:1px solid #cba467;border-radius:8px;background:#fffaf3;padding:9px 11px;text-decoration:none;font-size:13px;font-weight:700;transition:background .2s,transform .2s}
.social-links a:hover,.social-links a:focus-visible{background:#f4e5ca;transform:translateY(-2px)}
.social-links a>span:first-child{display:grid;place-items:center;width:23px;height:23px;border-radius:5px;background:#102c41;color:#fff;font-size:18px;font-weight:700}
.social-links .social-fb{font-family:Arial,sans-serif}.social-links .social-yt{font-size:13px!important;background:#b52121!important}
.social-links .social-tk{font-size:20px!important}
@media(min-width:851px){.service-card:last-child{grid-column:1/-1;display:flex}.service-card:last-child>div{width:100%}.service-card:last-child .service-details{columns:2;column-gap:50px}}
@media(max-width:850px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.justice-image{height:410px}}
@media(max-width:650px){.services-grid{grid-template-columns:1fr}.service-card{padding:20px 17px}.service-card h3{font-size:1.22rem}.service-details{font-size:14px}.hero-art{position:absolute;right:-60px;top:90px;opacity:.21;width:68%;height:350px;pointer-events:none}.justice-image{height:350px}.social-links a{font-size:12px}}

/* v1.2 — Lady Justice artwork integrates with the hero, without a rectangular image frame */
.hero-inner{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}
.hero-copy{z-index:3}
.hero-art{overflow:visible;align-self:stretch;min-width:0;pointer-events:none;isolation:isolate}
.hero-art .justice-image{position:absolute;right:-54px;bottom:0;width:min(660px,125%);max-width:none;height:calc(100% + 38px);object-fit:contain;object-position:center bottom;mix-blend-mode:normal;opacity:1;filter:drop-shadow(0 0 24px rgba(7,24,39,.2));-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 22%,#000 95%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 22%,#000 95%,transparent 100%)}
@media(max-width:850px){.hero-art .justice-image{right:-65px;width:135%;height:100%}}
@media(max-width:650px){.hero-art{overflow:hidden;right:-65px;top:85px;width:72%;height:360px;opacity:.20}.hero-art .justice-image{right:-18px;width:115%;height:100%;object-fit:contain}.hero-copy{position:relative;z-index:3}}

/* v1.3: True transparent Temida cutout, no rectangular image background. */
.hero{background:radial-gradient(ellipse at 82% 38%,#20394b 0%,transparent 49%),linear-gradient(115deg,#061521,#0d2435 72%,#071521)}
.hero-art{overflow:visible;align-self:stretch;position:relative;isolation:auto;pointer-events:none}
.hero-art .justice-image{position:absolute;right:-38px;bottom:0;width:auto;max-width:none;height:min(600px,100%);object-fit:contain;object-position:right bottom;opacity:1;mix-blend-mode:normal;filter:drop-shadow(-18px 8px 28px rgba(0,0,0,.2));-webkit-mask-image:none;mask-image:none}
@media(max-width:850px){.hero-art .justice-image{right:-45px;width:auto;height:100%}}
@media(max-width:650px){.hero-art{position:absolute;right:-55px;top:100px;width:74%;height:350px;opacity:.18;overflow:hidden}.hero-art .justice-image{right:-10px;height:100%;width:auto}.hero-copy{z-index:3}}

/* v1.4: one unified full-width hero background; no separate figure/image layer. */
.hero{background-color:#071827;background-image:linear-gradient(90deg,rgba(7,24,39,.36) 0%,rgba(7,24,39,.15) 49%,transparent 73%),url("assets/temida-hero-v14.webp");background-repeat:no-repeat;background-size:cover;background-position:right center}
.hero-inner{display:block;min-height:495px}
.hero-copy{max-width:690px;padding:0 0 62px;position:relative;z-index:2}
.hero-copy h1{max-width:690px}
@media(min-width:1100px){.hero{background-position:right center}}
@media(max-width:850px){.hero{background-position:65% center}.hero-inner{min-height:460px}.hero-copy{max-width:650px}.hero{background-image:linear-gradient(90deg,rgba(7,24,39,.92) 0%,rgba(7,24,39,.80) 45%,rgba(7,24,39,.36) 100%),url("assets/temida-hero-v14.webp")}}
@media(max-width:650px){.hero{background-position:68% center;background-image:linear-gradient(90deg,rgba(7,24,39,.92),rgba(7,24,39,.77)),url("assets/temida-hero-v14.webp")}.hero-inner{min-height:unset}.hero-copy{max-width:100%;padding-bottom:42px}}
