/*
Theme Name: Pomėgiai Studio
Description: Šiltas Dainoros tinklaraščio dizainas: rankdarbiai, receptai ir mažas kasdienybės džiaugsmas.
Version: 1.0.12
Requires at least: 6.4
Requires PHP: 7.4
Author: Pomėgiai.lt
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pomegiai-studio
*/

:root{--bg:#faf7ef;--paper:#fffefa;--ink:#263b32;--muted:#738176;--orange:#e96c37;--sage:#e5eadc;--line:#e5e9dc;--shadow:0 20px 55px #29443314}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}
.concept{background:#294538;color:#eaf2e6;text-align:center;padding:10px;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.concept span{color:#edaa83}
header{position:relative;z-index:5}.header-content{display:flex;align-items:center;justify-content:space-between;min-height:116px;gap:25px}.logo img{width:205px;height:auto}.nav{display:flex;align-items:center;gap:32px;font-size:13px;font-weight:700}.nav a:not(.nav-button):hover{color:var(--orange)}.nav-button{background:var(--ink);color:white;border-radius:50px;padding:15px 21px;white-space:nowrap}.nav-button:hover{background:#42624d}.menu-toggle{display:none;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink);width:45px;height:45px;font-size:25px}
.hero{padding:39px 0 78px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1.04fr;align-items:center;gap:46px}.eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:#c35129;font-weight:800;display:flex;align-items:center;gap:11px}.eyebrow:before,.eyebrow:after{content:"";flex:0 0 28px;width:28px;height:2px;background:var(--orange)}h1,h2,h3,p{margin-top:0}.hero h1{font:normal clamp(49px,5.2vw,76px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:20px 0 25px}.hero h1 em{color:var(--orange);font-weight:normal}.hero p{font-size:16px;line-height:1.8;color:#6b786e;max-width:440px;margin-bottom:30px}.actions{display:flex;gap:23px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;gap:12px;justify-content:center;background:var(--orange);color:white;border-radius:60px;padding:18px 25px;font-weight:750;font-size:13px;box-shadow:0 10px 24px #e96c3730;transition:transform .2s}.button:hover{transform:translateY(-3px)}.text-button{font-size:13px;font-weight:750;border-bottom:1px solid #aebbaa;padding-bottom:9px}.stamp{display:flex;align-items:center;gap:12px;margin-top:51px;font-size:12px;color:#8d9a8e}.stamp strong{font-size:26px;color:var(--orange)}
.hero-art{min-height:525px;position:relative;isolation:isolate}.hero-art:before{content:"";position:absolute;right:0;top:24px;width:82%;height:88%;background:#e4e9dc;border-radius:47% 53% 50% 50%;transform:rotate(7deg);z-index:-1}.hero-img{position:absolute;inset:14px 35px 30px 60px;width:calc(100% - 95px);height:calc(100% - 44px);object-fit:cover;border-radius:190px 190px 27px 27px;box-shadow:0 28px 55px #263b3240}.polaroid{position:absolute;left:0;bottom:3px;width:39%;background:#fffefa;padding:10px 10px 35px;transform:rotate(-10deg);box-shadow:0 15px 37px #263b323d}.polaroid img{width:100%;height:144px;object-fit:cover}.polaroid span{position:absolute;bottom:10px;left:0;right:0;text-align:center;font:italic 14px Georgia,serif;color:#8b8174}.note{position:absolute;right:-9px;bottom:40px;width:145px;height:145px;border-radius:50%;background:#f1d29a;color:#84552b;display:grid;place-items:center;text-align:center;font:italic 20px/1.2 Georgia,serif;transform:rotate(10deg);box-shadow:0 12px 24px #987c4733}.spark{position:absolute;top:0;left:20px;color:var(--orange);font-size:44px}
.section{padding:79px 0}.heading-row{display:block;margin-bottom:35px}.heading-row h2,.recipes h2,.about h2{font:normal clamp(36px,4.5vw,54px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:15px 0 0}.heading-row p{color:var(--muted);font-size:14px;line-height:1.65;max-width:700px;margin:15px 0 0}
.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}a.category{display:flex;flex-direction:column;justify-content:space-between;min-height:194px;border-radius:17px;padding:27px;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}a.category:hover{transform:translateY(-5px);box-shadow:var(--shadow)}a.category h3{font:normal 30px Georgia,serif;margin:0 0 7px}a.category p{color:#657567;font-size:13px;line-height:1.6;max-width:195px}a.category .arrow{display:grid;place-items:center;border:1px solid #899c89;width:38px;height:38px;border-radius:50%;font-size:19px}a.category .symbol{position:absolute;right:25px;bottom:23px;font-size:72px;transform:rotate(-12deg)}.cat-a{background:#e7ecdf}.cat-b{background:#fae5d7}.cat-c{background:#f5ead0}
.featured{background:#fffdfa;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}form.search{display:flex;align-items:center;gap:14px;background:#f1f4ea;border:1px solid #e1e7da;border-radius:14px;padding:15px 19px;margin:3px 0 20px}form.search svg{width:19px;height:19px;color:#849486}form.search input{border:0;outline:0;background:none;flex:1;width:100%;padding:4px;color:var(--ink);font-size:14px}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:25px 0 30px}.filter{border:0;border-radius:35px;padding:11px 16px;font-size:12px;font-weight:700;color:#647467;background:#f1f0e9}.filter[aria-pressed=true]{background:var(--ink);color:white}.count{margin-left:auto;font-size:12px;color:#8b988c}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.card{background:white;border:1px solid #eaece5;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px #223b3110;transition:transform .2s}.card:hover{transform:translateY(-5px)}.card img{width:100%;height:260px;object-fit:cover}.card-body{padding:25px 25px 28px}div.tag{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#c45d33}.card h3{font:normal 26px/1.18 Georgia,serif;letter-spacing:-.028em;margin:12px 0}.card p{font-size:13px;line-height:1.7;color:#738075;min-height:47px;margin-bottom:19px}.underlink{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;border-bottom:1px solid #bac6b8;padding-bottom:7px}.underlink:hover{color:var(--orange)}.after-note{text-align:center;color:#98a496;font:italic 19px Georgia,serif;margin:43px 0 0}.empty{display:none;padding:37px;text-align:center;border-radius:15px;background:#f5f2eb;color:#718173}
.recipes{display:grid;grid-template-columns:.84fr 1.16fr;gap:60px;align-items:center}.recipes h2{margin:19px 0 22px}.recipes p{font-size:15px;color:#6d7b6f;line-height:1.8;max-width:425px;margin-bottom:31px}.recipe-photos{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:16px}.recipe-photos a{position:relative;display:block;overflow:hidden;border-radius:165px 165px 18px 18px;box-shadow:var(--shadow)}.recipe-photos a:nth-child(2){margin-top:72px}.recipe-photos img{width:100%;height:350px;object-fit:cover}.recipe-photos a:nth-child(2) img{height:290px}.recipe-photos span{position:absolute;bottom:0;left:0;right:0;padding:34px 14px 17px;background:linear-gradient(transparent,#1d3229dc);color:white;font-size:13px;font-weight:750}
.about{background:var(--sage)}.about-grid{display:grid;grid-template-columns:.67fr 1.33fr;align-items:center;gap:70px}.about-art{height:320px;border-radius:170px 170px 28px 28px;background:#f8f2e4;border:12px solid #fffaf0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;transform:rotate(-3deg);box-shadow:0 16px 32px #3b5b3929}.about-art .cat{font-size:105px}.about-art span:last-child{font:italic 20px Georgia,serif;color:#bf7957}.about h2{margin:15px 0 19px}.about p{font-size:15px;line-height:1.85;color:#647567;max-width:620px;margin-bottom:27px}
footer{background:#263f32;color:#eef4e9;padding:51px 0 25px}.footer-top,.footer-bottom{display:flex;justify-content:space-between;gap:30px}.footer-top{padding-bottom:37px}.footer-top h2{font:normal 32px Georgia,serif;margin:0 0 9px}.footer-top p{max-width:445px;color:#bfcebf;font-size:13px;line-height:1.75}.footer-links{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap;font-size:13px;font-weight:700}.footer-links a:hover{color:#f4b394}.footer-bottom{border-top:1px solid #5c7462;padding-top:22px;color:#acb9ae;font-size:11px}
:focus-visible{outline:3px solid #f4a57e;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:930px){.hero-grid{gap:25px}.hero-art{min-height:440px}.hero-img{inset:10px 28px 28px 40px;width:calc(100% - 68px);height:calc(100% - 38px)}.note{width:110px;height:110px;font-size:16px;right:-4px}.polaroid img{height:107px}.nav{gap:16px}.logo img{width:176px}.card img{height:213px}.card-body{padding:20px}.card h3{font-size:23px}.recipes{gap:35px}}
@media(max-width:680px){.wrap{width:min(calc(100% - 34px),490px)}.concept{font-size:9px}.header-content{min-height:90px}.logo img{width:155px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fffdf8;padding:20px 22px 27px;box-shadow:0 20px 30px #1c3b2b22;flex-direction:column;align-items:stretch;gap:8px}.nav.open{display:flex}.nav a{padding:13px!important}.nav .nav-button{text-align:center}.hero{padding:34px 0 58px}.hero-grid,.recipes,.about-grid{grid-template-columns:1fr}.hero h1{font-size:48px}.hero p{font-size:15px}.stamp{margin-top:34px}.hero-art{margin-top:23px;min-height:445px}.hero-img{inset:12px 35px 29px 49px;width:calc(100% - 84px);height:calc(100% - 41px)}.note{bottom:20px}.section{padding:62px 0}.heading-row h2{font-size:39px}.categories,.cards{grid-template-columns:1fr}a.category{min-height:174px}.card img{height:272px}.card h3{font-size:28px}.card p{min-height:0}.count{width:100%;margin-left:0}.recipe-photos img{height:270px}.recipe-photos a:nth-child(2) img{height:225px}.about-art{max-width:280px;width:80%;height:250px;margin:auto}.about-art .cat{font-size:80px}.footer-top,.footer-bottom{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* WordPress integration and accessible controls. */
.logo img{height:auto;object-fit:contain;max-height:140px;width:205px}.menu-links{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}.menu-links li{position:relative}.menu-links .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:200px;background:var(--paper);padding:16px;list-style:none;box-shadow:var(--shadow)}.menu-links li:hover>.sub-menu,.menu-links li:focus-within>.sub-menu{display:grid;gap:12px}.skip-link,.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{width:auto;height:auto;clip-path:none;top:8px;left:8px;background:white;padding:15px;z-index:1000}.nav .current-menu-item>a{color:#a34220}form.search button{border:0;background:var(--ink);color:white;border-radius:9px;padding:10px 15px}.filter.active{background:var(--ink);color:white}.image-placeholder{display:grid;place-items:center;background:var(--sage);color:#b5633f;font-size:70px;min-height:260px}.hero-img.image-placeholder{min-height:0}.card-image{display:block}.card img{height:260px}.card-body h3 a:hover{color:#a34220}.card p{color:#58675b}.card div.tag{color:#a44725}.stamp{color:#637464}.count{color:#5c6b60}.after-note{color:#657462}a.category p,.hero p,.recipes p,.about p,.heading-row p{color:#59695e}.page-title{font:normal clamp(38px,5vw,65px)/1.13 Georgia,serif;letter-spacing:-.035em;margin:22px 0 28px;overflow-wrap:anywhere}.narrow{max-width:850px}.archive .cards{margin-top:35px}.archive-description{max-width:700px;color:#59695e;line-height:1.8}.navigation.pagination{margin-top:45px}.navigation.pagination .nav-links{justify-content:center;gap:8px}.nav-links{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}.page-numbers{display:inline-block;padding:12px 17px;border-radius:12px;border:1px solid var(--line)}.page-numbers.current{background:var(--ink);color:white}.back-link{display:inline-block;margin-bottom:35px;color:#59695e}.entry-meta{font-size:13px;color:#59695e}.entry-cover{margin:32px 0 42px}.entry-cover img{width:100%;height:auto;max-height:560px;object-fit:cover;border-radius:24px}.entry-content{font-size:17px;line-height:1.85;color:#35463b;overflow-wrap:anywhere}.entry-content::after{content:'';display:table;clear:both}.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.25;margin-top:1.5em}.entry-content a{color:#a34220;text-decoration:underline;text-underline-offset:3px}.entry-content img{height:auto;max-width:100%;border-radius:10px}.entry-content figure{max-width:100%}.entry-content .alignleft{float:left;margin:0 24px 20px 0}.entry-content .alignright{float:right;margin:0 0 20px 24px}.entry-content .aligncenter{margin-left:auto;margin-right:auto}.entry-content iframe{max-width:100%}.entry-content table{display:block;overflow-x:auto;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}.entry-content blockquote{border-left:3px solid var(--orange);margin-left:0;padding-left:24px;font:italic 24px/1.6 Georgia,serif}.wp-caption-text{font-size:13px;color:#59695e}.entry-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.entry-tags a{background:var(--sage);padding:7px 12px;border-radius:20px;font-size:13px}.post-navigation{border-top:1px solid var(--line);margin-top:40px;padding-top:25px}.nav-previous,.nav-next{max-width:47%}.comments-area{margin-top:65px;border-top:1px solid var(--line);padding-top:35px}.comments-area h2,.comments-area h3{font-family:Georgia,serif}.comment-list{padding-left:0;list-style:none}.comment-body{margin-bottom:30px}.comment-author img{display:inline-block;vertical-align:middle;border-radius:50%;margin-right:10px}.comment-metadata{font-size:12px;color:#59695e}.comment-form label{display:block;margin-bottom:6px}.comment-form input:not([type=checkbox]),.comment-form textarea,.post-password-form input{max-width:100%;padding:12px;border:1px solid #aab5a8;border-radius:8px;background:var(--paper)}.comment-form textarea{width:100%}.comment-form input[type=submit]{background:var(--ink);color:white;cursor:pointer}.comment-form-cookies-consent label{display:inline}.empty-state{padding:45px 0;text-align:center;min-height:35vh}.footer-links .menu-links{flex-wrap:wrap}.about-art img{width:180px;height:auto;mix-blend-mode:multiply}.menu-toggle{display:none}.entry-content .inpost_single_image{display:inline-block;max-width:100%}.entry-content .gallery{display:flex;flex-wrap:wrap;gap:15px}.entry-content .gallery-item{max-width:100%;flex:1 1 180px;margin:0}
@media(min-width:681px){.nav{display:flex!important}.menu-links a{white-space:nowrap}}
@media(max-width:930px){.nav{gap:15px}.menu-links{gap:15px}.logo img{width:176px}}
@media(max-width:680px){.logo img{width:155px}.menu-toggle{display:block;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink);width:45px;height:45px;font-size:25px}.menu-links{flex-direction:column;align-items:stretch;gap:0}.menu-links .sub-menu{position:static;display:grid;box-shadow:none;padding:0 16px}.menu-links a{display:block}.nav{display:flex;position:static;width:100%;box-shadow:none}.header-content{flex-wrap:wrap}.js-nav .nav{display:none;position:absolute;top:100%;box-shadow:0 20px 30px #1c3b2b22}.js-nav .nav.open{display:flex}.card img{height:272px}.page-title{font-size:40px}.entry-content{font-size:16px}.entry-cover img{max-height:360px}.entry-content .alignleft,.entry-content .alignright{float:none;margin:20px auto}form.search{padding:10px;gap:7px}form.search input{font-size:13px}form.search button{padding:10px}.hero-art{min-height:445px}.footer-links .menu-links{flex-direction:row;gap:20px}}

/* Facebook invitation: local artwork and a direct page link. */
.pomegiai-facebook{padding:42px 0 50px;background:#dfe5d3;overflow:hidden}
.pomegiai-facebook-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:48px;align-items:center}
.pomegiai-facebook-copy{position:relative;z-index:1;padding:22px 0}
.pomegiai-facebook-copy .eyebrow{font-size:13px;letter-spacing:.18em;color:#c65330}
.pomegiai-facebook-copy h2{font:normal clamp(34px,4vw,52px)/1.14 Georgia,serif;letter-spacing:-.025em;margin:20px 0 24px;color:#193f35}
.pomegiai-facebook-copy p{max-width:570px;color:#455f52;font-size:17px;line-height:1.6;margin:0 0 32px}
.pomegiai-facebook-link{gap:12px;background:#d8552e;padding:19px 28px;font-size:16px;box-shadow:0 14px 26px #c65b3026}
.pomegiai-facebook-link:hover{background:#be4523}
.pomegiai-facebook-link:focus-visible{outline:3px solid #193f35;outline-offset:5px}
.pomegiai-facebook-art{position:relative;min-width:0}
.pomegiai-facebook-art img{width:100%;height:350px;object-fit:cover;border-radius:43% 26% 24% 43% / 43% 35% 27% 49%;transform:rotate(-2deg)}
.pomegiai-facebook-doodles{position:absolute;width:210px;left:-160px;bottom:-13px;color:#8c9f79;pointer-events:none}
.pomegiai-facebook-rays{position:absolute;width:48px;right:-24px;top:5px;color:#8c9f79}
@media(max-width:930px){.pomegiai-facebook-layout{gap:30px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.pomegiai-facebook-copy h2{font-size:38px}.pomegiai-facebook-art img{height:330px}.pomegiai-facebook-doodles{width:130px;left:-75px;bottom:-38px}}
@media(max-width:680px){.pomegiai-facebook{padding:40px 0 45px}.pomegiai-facebook-layout{grid-template-columns:minmax(0,1fr);gap:30px}.pomegiai-facebook-copy{padding:0}.pomegiai-facebook-copy h2{font-size:clamp(32px,8.5vw,44px);margin:16px 0 20px}.pomegiai-facebook-copy p{font-size:16px;margin-bottom:26px}.pomegiai-facebook-link{font-size:15px;padding:18px 24px}.pomegiai-facebook-art{width:90%;justify-self:end}.pomegiai-facebook-art img{height:auto;aspect-ratio:1.5;object-fit:cover}.pomegiai-facebook-doodles{width:100px;left:-40px;bottom:-16px}.pomegiai-facebook-rays{width:36px;right:-17px}}
@media(prefers-reduced-motion:reduce){.pomegiai-facebook-link{transition:none}.pomegiai-facebook-link:hover{transform:none}}

.pomegiai-related{margin-top:48px;padding-top:32px;border-top:1px solid var(--line)}
.pomegiai-related>h2{font:normal 32px/1.2 Georgia,serif;margin-bottom:24px}
.pomegiai-related .card img{height:190px}
.pomegiai-related .card-body{padding:18px}
.pomegiai-related .card h3{font-size:23px;margin:0}
.pomegiai-footer-info{display:flex;flex-wrap:wrap;gap:16px 28px;padding-bottom:26px;font-size:14px}
.pomegiai-footer-info a{text-decoration:underline;text-underline-offset:4px}
.pomegiai-footer-info a:hover{color:#f4b394}
@media(max-width:680px){.pomegiai-related .card img{height:230px}}

/* Photo galleries: preserve the photographer's composition. */
.entry-content .pomegiai-photo-link{cursor:zoom-in}
.entry-content .pomegiai-photo-link[aria-busy=true]{cursor:progress}
.entry-content .gallery-item img{width:100%;height:auto}
.entry-content .gallery-caption{font-size:13px;line-height:1.5;margin-top:8px}
.pswp{--pswp-bg:#121512;--pswp-icon-color:#fff;--pswp-icon-color-secondary:#121512}
.pswp button:focus-visible{outline:2px solid #fff;outline-offset:-5px}
