/*
Theme Name: Dancing Eye
Template: twentytwentyfive
Description: Child theme for Dancing Eye Gallery (plum and marigold, Fraunces headings).
Version: 2.0.0
Author: Savtech
*/
@font-face{font-family:"Fraunces";font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/fraunces-latin.woff2) format("woff2");}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/manrope-latin.woff2) format("woff2");}
.wp-block-button__link{border-radius:4px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--accent-2);color:#fff;}

/* Short marigold underline under headings */
.de-mark::after{content:"";display:block;width:3.5rem;height:3px;background:var(--wp--preset--color--accent-3);margin:.55rem 0 .9rem;}
.de-mark.has-text-align-center::after{margin-left:auto;margin-right:auto;}

/* Tile-dot divider (a strip of little ceramic tiles) */
.de-tiles{border:0!important;height:.7rem;width:auto;margin:1rem auto!important;position:relative;background:none!important;}
.de-tiles::before{content:"";position:absolute;left:50%;top:0;width:.7rem;height:.7rem;margin-left:-9.4rem;background:#B58AC4;
 box-shadow:1.05rem 0 #5C2268,2.1rem 0 #E0CCEA,3.15rem 0 #E0A420,4.2rem 0 #B58AC4,5.25rem 0 #5C2268,6.3rem 0 #E0CCEA,7.35rem 0 #E0A420,8.4rem 0 #B58AC4,9.45rem 0 #5C2268,10.5rem 0 #E0CCEA,11.55rem 0 #E0A420;}

/* Header */
.de-header{border-bottom:1px solid var(--wp--preset--color--accent-6);}
.de-header .wp-block-site-title a{font-family:var(--wp--preset--font-family--fraunces);font-weight:600;font-size:1.35rem;color:var(--wp--preset--color--accent-5);text-decoration:none;}
.de-header .wp-block-navigation a{font-weight:500;padding:.35rem 0;}
.de-header .wp-block-navigation .current-menu-item>a,.de-header .wp-block-navigation a:hover{color:var(--wp--preset--color--contrast);box-shadow:0 2px 0 var(--wp--preset--color--accent-3);}

/* Hero panel: leave the storefront sign uncovered */
.de-hero .wp-block-cover__inner-container{width:100%;}
.de-hero-panel{max-width:34rem;}

/* Hours table: no heavy borders, soft row rules */
.de-hours table{border-collapse:collapse;width:100%;border:0;}
.de-hours td,.de-hours th{border:0;border-bottom:1px solid var(--wp--preset--color--accent-6);padding:.55rem .2rem;}
.de-hours tr:last-child td{border-bottom:0;}
.de-hours{background:#fff;border-radius:6px;border-left:5px solid var(--wp--preset--color--accent-2);padding:.6rem 1.1rem;}
.de-hours tr.is-today{background:var(--wp--preset--color--accent-4);}
.de-hours tr.is-today td{font-weight:700;}
.de-hours tr.is-today td:first-child{box-shadow:inset 3px 0 0 var(--wp--preset--color--accent-3);padding-left:.55rem;}

/* Category cards on What We Carry */
.de-card{background:#fff;border-radius:6px;padding:1rem 1.25rem;border-left:5px solid var(--wp--preset--color--accent-2);height:100%;}
.de-card-2{border-left-color:var(--wp--preset--color--accent-3);}
.de-card-3{border-left-color:var(--wp--preset--color--accent-1);}
.de-card h3{margin-top:0;}

/* Photos with a soft mat */
.de-photo img{border-radius:6px;box-shadow:0 0 0 8px var(--wp--preset--color--accent-4);}

/* News cards (home band and News page) */
ul.wp-block-latest-posts.is-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-left:auto;margin-right:auto;padding:0;}
ul.wp-block-latest-posts.is-grid li{width:auto!important;margin:0!important;background:#fff;border-radius:6px;overflow:hidden;padding-bottom:.9rem;}
.wp-block-latest-posts__featured-image{margin:0 0 .6rem!important;}
.wp-block-latest-posts__featured-image img,.de-card-post .wp-block-post-featured-image img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;}
ul.wp-block-latest-posts.is-grid li a.wp-block-latest-posts__post-title,ul.wp-block-latest-posts.is-grid li .wp-block-latest-posts__post-date{display:block;padding:0 .95rem;}
a.wp-block-latest-posts__post-title{font-weight:600;font-size:1.05rem;text-decoration:none;}
.wp-block-latest-posts__post-date{font-size:.85rem;}
.de-card-post{background:#fff;border-radius:6px;overflow:hidden;height:100%;}
.de-card-post .de-card-body{padding:.2rem .95rem 1rem;}
.de-card-post .wp-block-post-title{font-family:var(--wp--preset--font-family--manrope);font-size:1.05rem;font-weight:600;margin:.6rem 0 .25rem;}
.de-card-post .wp-block-post-title a{text-decoration:none;}
.de-card-post .wp-block-post-date{font-size:.85rem;}
.de-news-grid.wp-block-post-template{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;padding:0;}
@media (max-width:959px){ul.wp-block-latest-posts.is-grid,.de-news-grid.wp-block-post-template{grid-template-columns:repeat(2,1fr);}}
@media (max-width:639px){ul.wp-block-latest-posts.is-grid,.de-news-grid.wp-block-post-template{grid-template-columns:1fr;}}

/* Pagination: big tap targets */
.wp-block-query-pagination{justify-content:center;gap:1rem;margin-top:2rem;}
.wp-block-query-pagination a{display:inline-flex;align-items:center;min-height:48px;padding:.7rem 1.25rem;border:2px solid var(--wp--preset--color--accent-2);border-radius:4px;text-decoration:none;font-weight:600;color:var(--wp--preset--color--accent-2);}

/* Footer */
.de-footer{background:var(--wp--preset--color--accent-5);color:#F3EAF7;}
.de-footer .wp-block-site-title a{font-family:var(--wp--preset--font-family--fraunces);font-weight:600;font-size:1.35rem;color:#F3EAF7;text-decoration:none;}
.de-footer p,.de-footer li{color:#F3EAF7;}
.de-footer a{color:#E8C56A;}
.de-footer .wp-block-navigation a{color:#E0CCEA;min-height:44px;display:inline-flex;align-items:center;}
.de-footer .wp-block-navigation a:hover{color:#fff;}

/* Cover blocks force white text; the hero panel is light, so set its text back */
.de-hero-panel,.de-hero-panel p{color:var(--wp--preset--color--contrast)!important;}
.de-hero-panel h1{color:var(--wp--preset--color--accent-2)!important;}
.de-hero-panel .wp-block-button.is-style-outline .wp-block-button__link{color:var(--wp--preset--color--accent-2);}
.de-hero-panel .wp-block-button.is-style-outline .wp-block-button__link:hover{color:#fff;}

/* Readable dates; left-aligned page titles */
.de-card-post .wp-block-post-date,.de-card-post .wp-block-post-date a{color:#5A3A5E!important;opacity:1;}
.wp-block-post-title.has-text-align-center,.wp-block-post-title{text-align:left;}

/* Phone: taller hero so the sign shows above the text panel */
@media (max-width:600px){
 .de-hero{min-height:700px!important;}
 .de-hero .wp-block-cover__image-background{object-position:17% 30%;}
 .de-hero-panel{padding:1rem 1.1rem 1.1rem!important;}
 .de-hero-panel h1{font-size:1.9rem!important;}
}

/* Links and titles: dark text with a gold underline (no brown) */
a{text-decoration-color:var(--wp--preset--color--accent-3);text-decoration-thickness:2px;text-underline-offset:3px;}
a.wp-block-latest-posts__post-title,.de-card-post .wp-block-post-title a{color:var(--wp--preset--color--contrast);}
a.wp-block-latest-posts__post-title:hover,.de-card-post .wp-block-post-title a:hover{color:var(--wp--preset--color--accent-2);text-decoration:underline;}
.de-header .wp-block-site-title a,.wp-block-site-title a{text-decoration:none;}
.de-news-grid.wp-block-post-template>li{margin:0!important;}

/* Hours: keep times on one line */
.de-hours td:last-child{white-space:nowrap;}
.de-hours td:first-child{padding-right:1rem;}

/* Home feed: the latest posts shown in full */
.de-feed{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem;}
.de-feed>li{margin:0!important;}
.de-feed-card{background:#fff;border-radius:6px;padding:1.5rem 1.5rem 1.2rem;}
.de-feed-card .wp-block-post-title{margin-top:0;}
.de-feed-card .wp-block-post-title a{color:var(--wp--preset--color--accent-2);text-decoration:none;}
.de-feed-card .wp-block-post-date{font-size:.85rem;color:#5A3A5E;margin-bottom:1rem;}
.de-feed-card img{max-width:100%;height:auto;border-radius:4px;}
.de-feed-card figure{margin-left:auto;margin-right:auto;}

/* Phone: show the whole banner (so the full sign name is readable), text panel under it */
@media (min-width:0px){
 .de-hero{display:block!important;min-height:0!important;padding:0!important;}
 .de-hero .wp-block-cover__image-background{position:static!important;width:100%!important;height:auto!important;object-fit:contain!important;}
 .de-hero .wp-block-cover__inner-container{padding:0 1rem 1.2rem;}
 .de-hero-panel{max-width:none;margin-top:-0.2rem;}
}

/* News page: month list along the side */
.de-news-cols{gap:2rem;}
.de-side-title{font-family:var(--wp--preset--font-family--manrope);text-transform:uppercase;letter-spacing:.08em;font-size:.85rem!important;color:#5A3A5E!important;margin:0 0 .6rem;}
.de-news-side .wp-block-archives{list-style:none;margin:0;padding:0;}
.de-news-side .wp-block-archives li{padding:.3rem 0;}
.de-news-side .wp-block-archives a{font-weight:700;text-decoration:none;color:var(--wp--preset--color--accent-2);}
.de-news-side .wp-block-archives a:hover{text-decoration:underline;}
@media (min-width:782px){.de-news-side{position:sticky;top:5rem;align-self:flex-start;}}
@media (max-width:781px){.de-news-side .wp-block-archives{columns:2;}}

/* Hero: whole banner on top, text panel underneath, at every width */
.de-hero{border-radius:0;}
.de-hero .wp-block-cover__inner-container{max-width:84rem;margin:0 auto;}
.de-hero-panel{max-width:none;display:block;text-align:left;}
.de-hero-panel .wp-block-buttons{margin:0;}

/* Old posts carry rust-red inline text from the old site: show it in plum instead (CSS only, content untouched) */
.has-inline-color[style*="ba3c25"],[style*="color:#ba3c25"]{color:#5C2268!important;}

/* What We Carry cards: one plum edge on all three */
.de-card,.de-card-2,.de-card-3{border-left-color:var(--wp--preset--color--accent-2);}
