/*
Theme Name: Kopácsi Krisztina – Könyvek és történetek
Author: Kopácsi Krisztina
Description: Egyedi éjkék–arany írónői honlap öt könyvvel, bloggal és WooCommerce támogatással.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kopacsi-konyvek
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--navy:#0b1725;--navy-light:#172a3f;--cream:#faf6ed;--gold:#dbb66f;--ink:#182331;--muted:#66645e;--line:#ddc9a7}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b98228;outline-offset:5px}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.15;margin:0 0 25px}h1{font-size:clamp(40px,5vw,76px)}h2{font-size:clamp(32px,3.3vw,49px)}h3{font-size:25px}p{margin:0 0 20px}.wrap{width:min(1380px,90%);margin:auto}.section{padding:90px 0}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.23em;color:#85612c;margin-bottom:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:14px 25px;border:1px solid var(--gold);background:linear-gradient(120deg,#f1d69c,#c89a4d);color:#17202a;border-radius:5px;font-size:15px;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0002}.button.outline{background:transparent;color:#79511b;border-color:#bb965c}.text-link{font-size:14px;color:#8b622a;border-bottom:1px solid #c4a673;padding-bottom:4px}.skip-link{position:absolute;left:20px;top:-100px;z-index:100;background:white;padding:10px}.skip-link:focus{top:10px}
.site-header{background:var(--navy);color:var(--cream);border-bottom:1px solid #ffffff12}.header-inner{width:min(1420px,92%);margin:auto;display:flex;align-items:center;gap:30px;min-height:105px}.brand{font-family:Georgia,serif;font-size:27px;letter-spacing:.08em;white-space:nowrap}.brand span{display:block;font:9px Arial,sans-serif;letter-spacing:.23em;margin-top:5px;color:var(--gold)}#main-navigation{margin-left:auto}#main-navigation .menu{list-style:none;display:flex;gap:27px;margin:0;padding:0}#main-navigation a{font-family:Georgia,serif;font-size:18px;padding:10px 0;display:block}#main-navigation a:hover{color:var(--gold)}.cart-link{color:var(--gold);display:flex;align-items:center;gap:8px;font-size:12px}.menu-toggle{display:none}
.hero{overflow:hidden;color:var(--cream);background:radial-gradient(ellipse at 86% 55%,#c28b3940,transparent 38%),radial-gradient(ellipse at 50% 15%,#30476180,transparent 55%),linear-gradient(130deg,#07111b,#102337 70%,#0a1521);position:relative}.hero:after{content:'';position:absolute;bottom:0;height:1px;width:100%;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.hero-grid{display:grid;grid-template-columns:38% 62%;align-items:center;min-height:590px;padding:65px 0}.hero-copy{position:relative;z-index:2}.hero .eyebrow{color:var(--gold)}.hero h1{font-size:clamp(44px,4.8vw,72px);letter-spacing:-.04em;line-height:1.04;margin-bottom:25px}.hero em{color:#eac780;font-style:normal;display:block}.hero-lead{font-family:Georgia,serif;font-size:22px;max-width:360px;color:#f3e8d6;margin-bottom:30px}.book-stage{height:410px;display:flex;align-items:flex-end;gap:16px;padding:0 0 25px 18px;position:relative;isolation:isolate}.book-stage:after{content:'';position:absolute;left:0;right:-70px;bottom:0;height:40px;border-top:1px solid #d4b47f60;background:linear-gradient(#263340,#080f18);box-shadow:0 25px 50px #0008;z-index:-1}.hero-book{flex:1;min-width:0;position:relative;transform:perspective(900px) rotateY(-12deg);filter:drop-shadow(12px 15px 12px #0009);transition:transform .5s}.hero-book:hover{transform:perspective(900px) rotateY(0) translateY(-12px)}.hero-book img{width:100%;border:1px solid #dbc59f70;border-radius:1px;aspect-ratio:2/3;object-fit:fill}.hero-book:after{content:'';position:absolute;top:2%;right:-7px;width:7px;height:97%;background:repeating-linear-gradient(#d7cfbf 0 1px,#f4efdf 1px 3px);transform:skewY(10deg);border-right:2px solid #392f23}.hero-book-1{margin-bottom:60px}.hero-book-2{margin-bottom:10px}.hero-book-3{margin-bottom:35px}.hero-book-4{margin-bottom:0}
.catalogue{background:radial-gradient(ellipse at 20% 30%,#ead8b526,transparent 40%),var(--cream)}.section-heading{text-align:center;margin-bottom:45px}.gold-rule{display:block;width:70px;height:1px;background:#ba9358;margin:25px auto}.book-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.book-card{text-align:center;padding:27px 14px 23px;border:1px solid #d4b78588;border-radius:7px;background:#fff8;display:flex;align-items:center;flex-direction:column}.cover{width:80%;height:255px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;perspective:900px}.cover img{max-height:100%;width:auto;max-width:100%;box-shadow:8px 10px 16px #30211428;transition:transform .4s}.book-card:hover .cover img{transform:rotateY(-10deg) translateY(-6px)}.book-card h3{font-size:23px;margin-bottom:15px}.book-card .button{margin-top:auto;width:100%;padding:10px 15px}.availability{font-size:12px;color:var(--muted);margin-top:auto;margin-bottom:0}.price{font-size:15px;margin-bottom:15px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:35px}.journal{background:#efe9df}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.post-card{border-radius:5px;overflow:hidden;background:#fff9;border:1px solid #ddcfba}.post-image{height:235px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#24374e,#0b1725);color:var(--gold)}.post-image img{width:100%;height:100%;object-fit:cover}.post-image span{font-size:60px}.post-copy{padding:27px}.post-copy time{font-size:12px;color:#817363}.post-copy h3{margin:15px 0}.post-copy p{color:var(--muted);font-size:14px}.empty-journal{grid-column:1/-1;text-align:center;padding:45px;border:1px solid #d6bd94;background:#fff6;border-radius:7px}.empty-journal>span{font-size:35px;color:#a17434}.empty-journal h3{margin:15px 0}.empty-journal p{margin:0;color:var(--muted)}.about-grid{display:grid;grid-template-columns:40% 1fr;gap:85px;align-items:center}.author-art{height:370px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle,#233950,#0a1829);border-radius:100% 100% 4px 4px;color:var(--gold);border:1px solid #b18d57}.author-art span{font-family:Georgia,serif;font-size:120px;font-style:italic}.author-art small{font-size:10px;letter-spacing:.28em}.portrait{width:100%;max-height:520px;object-fit:cover;border-radius:100% 100% 4px 4px}.about p:not(.eyebrow){max-width:650px}.site-footer{padding:60px 0 20px;background:var(--navy);color:var(--cream)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer .brand{font-size:24px}.site-footer p{color:#b8b8b9;font-size:14px;margin-top:15px}.site-footer h2{font-family:Arial,sans-serif;font-size:14px;color:var(--gold);margin-bottom:15px}.site-footer a:hover{color:var(--gold)}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer nav a{font-size:13px;display:block;margin-bottom:8px}.copyright{margin-top:35px;padding-top:20px;border-top:1px solid #ffffff19;color:#a9afb7;font-size:12px}.page-content{min-height:50vh}.article-content{max-width:850px}.article-content h1{font-size:clamp(38px,5vw,60px)}.article-content .eyebrow{margin-top:35px}.article-cover{width:100%;max-height:550px;object-fit:cover;margin-bottom:40px;border-radius:5px}.entry-content a{text-decoration:underline;color:#805315}.entry-content img{height:auto}.entry-content h2,.entry-content h3{margin-top:40px}.entry-content ul,.entry-content ol{padding-left:25px}.entry-content blockquote{border-left:3px solid var(--gold);padding:10px 25px;font:24px/1.6 Georgia,serif}.entry-content table{width:100%;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid #dcc9aa;padding:10px}.alignwide{max-width:100%}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:var(--muted)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.post-navigation,.pagination{margin-top:40px}.nav-links{display:flex;justify-content:space-between;gap:25px}.page-numbers{padding:7px 12px;display:inline-block}.page-numbers.current{background:var(--navy);color:white}.comments-area{margin-top:60px}.comment-list{padding:0;list-style:none}.comment{padding:20px;border-top:1px solid var(--line)}.bypostauthor{border-left:2px solid var(--gold)}textarea{max-width:100%;width:100%;padding:12px}input,select,textarea{border:1px solid #c8b99f;border-radius:4px;background:#fffc;padding:10px;color:var(--ink)}input[type=submit]{background:var(--navy);color:white;cursor:pointer;padding:12px 25px}
.woocommerce ul.products li.product{background:#fff8;border:1px solid #d7bd92;border-radius:5px;padding:20px;text-align:center}.woocommerce ul.products li.product a img{max-height:300px;object-fit:contain}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:24px Georgia,serif;color:var(--ink)}.woocommerce div.product .product_title{font-size:clamp(34px,4vw,54px)}.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce ul.products li.product .price{color:#876128}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--navy);color:white;border:1px solid var(--navy);border-radius:4px;padding:13px 22px}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#25405b;color:white}.woocommerce .quantity .qty{padding:10px}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#ede2cf;border-color:#d4be99}.woocommerce-message,.woocommerce-info{background:#eee8dc;border-top-color:#a47e3c}.woocommerce-message:before,.woocommerce-info:before{color:#8e6930}.woocommerce-error{background:#fff0ee}.woocommerce table.shop_table{border-color:#d2c0a2;background:#fff7}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px}.woocommerce div.product div.images img{max-height:700px;object-fit:contain}.wc-block-components-button:not(.is-link){background:var(--navy);color:white;border-radius:4px}.wc-block-components-title{font-family:Georgia,serif}.wc-block-components-text-input input{font:inherit}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:#d2c0a2}
@media(min-width:1550px){.book-stage{height:460px}.hero-grid{min-height:660px}.cover{height:290px}}
@media(max-width:1100px){.header-inner{gap:18px}.brand{font-size:23px}#main-navigation .menu{gap:17px}#main-navigation a{font-size:16px}.hero-grid{grid-template-columns:40% 60%;min-height:530px}.book-stage{gap:12px;height:340px}.hero h1{font-size:52px}.cover{height:205px}.book-card h3{font-size:20px}.book-grid{gap:12px}.about-grid{gap:45px}}
@media(max-width:900px){.header-inner{position:relative;min-height:90px;flex-wrap:wrap;padding:15px 0}.menu-toggle{display:block;margin-left:auto;border:1px solid #b7945b;background:transparent;color:var(--cream);padding:8px 12px;border-radius:4px}.cart-link span{display:none}#main-navigation{display:none;width:100%;margin-left:0;order:4}#main-navigation.is-open{display:block}#main-navigation .menu{flex-direction:column;gap:0;padding-top:15px}#main-navigation a{padding:10px;border-top:1px solid #ffffff15}.hero-grid{grid-template-columns:1fr;gap:35px;padding:50px 0}.hero-copy{max-width:600px}.hero h1{font-size:clamp(46px,8vw,65px)}.hero-lead{max-width:500px}.book-stage{padding-left:0;height:390px;max-width:720px;width:100%;margin:auto;gap:20px}.book-stage:after{right:0}.book-grid{grid-template-columns:repeat(3,1fr);gap:20px}.cover{height:250px}.section{padding:65px 0}.post-grid{grid-template-columns:repeat(2,1fr)}.about-grid{grid-template-columns:38% 1fr;gap:35px}.author-art{height:300px}.author-art span{font-size:90px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.wrap{width:90%}.brand{font-size:19px;letter-spacing:.025em}.brand span{font-size:7px}.header-inner{gap:12px}.menu-toggle{font-size:12px;padding:7px 10px}.cart-link svg{width:22px}.hero h1{font-size:45px}.hero-lead{font-size:20px}.hero-grid{padding:40px 0 35px;gap:25px}.book-stage{height:245px;gap:9px;padding-bottom:15px}.hero-book:after{width:4px;right:-4px}.hero-book-1{margin-bottom:40px}.hero-book-3{margin-bottom:20px}.hero .eyebrow{font-size:9px}.book-grid{grid-template-columns:repeat(2,1fr);gap:14px}.book-card{padding:22px 10px}.cover{width:90%;height:220px}.book-card h3{font-size:21px}.book-card:last-child{grid-column:1/-1;width:calc(50% - 7px);justify-self:center}.availability{font-size:11px}.section-heading h2{font-size:34px}.heading-row{display:block}.heading-row .text-link{display:inline-block;margin-top:0}.post-grid{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr}.author-art,.portrait{max-width:320px;width:100%;margin:auto}.about h2{font-size:37px}.footer-grid{grid-template-columns:1fr;gap:25px}.footer-grid>div:first-child{grid-column:auto}.section{padding:55px 0}.woocommerce table.shop_table{font-size:13px}.woocommerce ul.products li.product{padding:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px}.entry-content{overflow-wrap:anywhere}}
@media(max-width:360px){.brand{font-size:16px}.cover{height:180px}.hero h1{font-size:39px}.book-stage{height:220px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.hero-book:hover,.book-card:hover .cover img,.button:hover{transform:none}}

/* v1.1: individual illuminated stone plinths under each hero book */
.hero{background:radial-gradient(ellipse at 88% 52%,#d5a04c38,transparent 34%),radial-gradient(ellipse at 63% 32%,#e2b66318,transparent 21%),radial-gradient(ellipse at 50% 12%,#344e6880,transparent 55%),linear-gradient(130deg,#07111b,#102337 70%,#0a1521)}
.book-stage{padding-bottom:58px;gap:23px;align-items:flex-end}
.book-stage:after{height:36px;bottom:2px;left:-20px;right:-20px;border:0;background:radial-gradient(ellipse at 50% 0%,#d5a15b4a,transparent 72%);box-shadow:none;filter:blur(8px)}
.hero-book{isolation:isolate;filter:drop-shadow(9px 16px 10px #0009)}
.hero-book:before{content:'';position:absolute;left:-12%;width:126%;top:calc(100% + 2px);height:43px;z-index:-1;border-radius:2px;border-top:3px solid #b69864;border-bottom:2px solid #060c12;background:linear-gradient(174deg,#efd4a580 0%,transparent 17%),repeating-linear-gradient(122deg,transparent 0 15px,#d8bd9224 16px,transparent 18px 33px),repeating-linear-gradient(24deg,#111a24 0 11px,#33404b 12px,#131d29 14px 28px),linear-gradient(90deg,#0b121b,#35404c 58%,#0a111a);box-shadow:0 4px 1px #000b,0 18px 22px #0007,inset 0 1px 3px #ffe2ac60,inset -15px 0 15px #0005}
.hero-book-0{margin-bottom:0}.hero-book-1{margin-bottom:60px}.hero-book-2{margin-bottom:12px}.hero-book-3{margin-bottom:35px}.hero-book-4{margin-bottom:0}
@media(max-width:1100px){.book-stage{gap:18px;padding-bottom:55px}.hero-book:before{height:36px}}
@media(max-width:900px){.book-stage{gap:22px;height:420px;padding-bottom:58px}}
@media(max-width:560px){.book-stage{height:270px;gap:12px;padding-bottom:38px}.hero-book:before{height:27px;border-top-width:2px;left:-9%;width:122%;box-shadow:0 3px 1px #000b,0 10px 14px #0007,inset 0 1px 2px #ffe2ac60}.hero-book-1{margin-bottom:35px}.hero-book-2{margin-bottom:5px}.hero-book-3{margin-bottom:20px}.book-stage:after{height:24px}}
@media(max-width:360px){.book-stage{height:245px;gap:10px}.hero-book:before{height:23px}}

/* v1.2: cinematic scene matching the approved visual concept */
.hero{background:#0b1725}.hero-grid{grid-template-columns:35% 65%;min-height:620px;padding:45px 0;gap:0}.hero-copy{z-index:2}.book-scene{position:relative;margin-right:-5vw;margin-left:-20px;overflow:hidden}.book-scene img{width:100%;height:auto;display:block;mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 100%)}.book-scene:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,#0b1725 0%,transparent 13%,transparent 86%,#0b1725 100%)}
@media(max-width:1100px){.hero-grid{grid-template-columns:37% 63%;min-height:530px}.hero h1{font-size:48px}.book-scene{margin-left:-12px}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:20px;padding:40px 0 0}.hero h1{font-size:clamp(46px,8vw,65px)}.book-scene{margin:0 -5vw}.book-scene img{mask-image:none;-webkit-mask-image:none}}
@media(max-width:560px){.hero h1{font-size:45px}.hero-grid{gap:15px}.hero-copy{padding-bottom:15px}.book-scene:after{background:linear-gradient(to bottom,#0b1725 0%,transparent 12%,transparent 87%,#0b1725 100%)}}
@media(max-width:360px){.hero h1{font-size:39px}}

/* v1.3: one continuous scene behind navigation, heading and books */
@media(min-width:901px){
.home .site-header{position:relative;z-index:5;background:transparent;border-bottom:1px solid #ead0a51a}
.home .hero{margin-top:-106px;background-image:linear-gradient(90deg,#07111b44 0%,#07111b18 31%,transparent 43%),url('assets/konyvek-panorama.png');background-size:cover;background-position:center bottom;background-repeat:no-repeat}
.home .hero-grid{display:block;min-height:clamp(680px,42vw,940px);padding-top:170px;padding-bottom:80px;position:relative}
.home .hero-copy{width:34%;max-width:490px}.home .hero h1{font-size:clamp(44px,3.8vw,69px)}
.home .hero-lead{font-size:clamp(19px,1.45vw,24px);max-width:340px;text-shadow:0 2px 10px #000}
.home .hero-copy .eyebrow,.home .hero-copy h1{text-shadow:0 2px 18px #0007}
.home .book-scene{display:none}.home .hero:after{background:linear-gradient(90deg,#bd925b77,#eac780,#bd925b77)}
}
@media(min-width:901px) and (max-width:1100px){.home .hero-grid{min-height:590px;padding-top:155px;padding-bottom:50px}.home .hero h1{font-size:43px}.home .hero-lead{font-size:18px}.home .hero .button{font-size:13px;padding:12px 16px;gap:15px}.home .hero-copy{width:35%}}
@media(max-width:900px){.home .site-header{background:#0b1725}.home .hero{margin-top:0;background:#0b1725}.home .hero-copy{width:100%}.home .book-scene{display:block}}
