/*
Theme Name: Dragonfly Den Rabbitry
Theme URI: https://dragonflydenrabbitry.com
Author: Hermes Agent
Description: Custom warm family rabbitry marketing theme for Dragonfly Den Rabbitry.
Version: 1.0.0
*/
:root{--cream:#fbf6ef;--cream-2:#f3e9dc;--ink:#2f231c;--muted:#6b5a4b;--green:#6f8d5f;--sage:#dfe9df;--brown:#8b5e34;--gold:#c79a52;--white:#fffdf9;--shadow:0 24px 60px rgba(63,45,30,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--cream);line-height:1.65}a{color:var(--brown);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.wrap{width:min(1120px,calc(100% - 36px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(251,246,239,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(139,94,52,.15)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}.brand img{width:250px;display:block}.menu{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.menu a{font-weight:750;color:var(--ink);font-size:15px}.menu a.cta,.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;background:var(--brown);color:white;font-weight:800;box-shadow:0 10px 22px rgba(139,94,52,.22);border:0}.btn.secondary{background:var(--sage);color:#30432b;box-shadow:none}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,rgba(251,246,239,.96),rgba(223,233,223,.76)),url('assets/hero-rabbitry.webp') center/cover;min-height:680px;display:flex;align-items:center;border-bottom:1px solid rgba(139,94,52,.12)}.hero:after{content:"";position:absolute;inset:auto -120px -160px auto;width:430px;height:430px;border-radius:50%;background:rgba(199,154,82,.22)}.eyebrow{display:inline-flex;gap:8px;align-items:center;background:rgba(255,253,249,.8);border:1px solid rgba(139,94,52,.18);border-radius:999px;padding:8px 13px;color:var(--brown);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:12px}.hero-card{max-width:710px;background:rgba(255,253,249,.82);border:1px solid rgba(139,94,52,.18);box-shadow:var(--shadow);border-radius:34px;padding:40px;position:relative;z-index:1}.hero h1{font-family:Georgia,serif;font-size:clamp(42px,7vw,76px);line-height:.98;margin:18px 0;color:#362417}.lead{font-size:clamp(18px,2vw,23px);color:#554232;max-width:62ch}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.section{padding:86px 0}.section.alt{background:var(--white)}.section h2{font-family:Georgia,serif;font-size:clamp(32px,5vw,52px);line-height:1.05;margin:0 0 16px}.section-intro{font-size:19px;color:var(--muted);max-width:760px}.grid{display:grid;gap:22px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--white);border:1px solid rgba(139,94,52,.14);border-radius:28px;padding:28px;box-shadow:0 12px 30px rgba(63,45,30,.08)}.card h3{margin-top:0;font-family:Georgia,serif;font-size:25px}.card p{color:var(--muted)}.gallery{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px;margin-top:34px}.gallery figure{margin:0;position:relative;overflow:hidden;border-radius:28px;min-height:240px;background:#eadfd2}.gallery figure:first-child{grid-row:span 2}.gallery img{width:100%;height:100%;object-fit:cover;display:block}.badge-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.badge{padding:8px 12px;border-radius:999px;background:#efe1cf;color:#604228;font-weight:750}.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:center}.feature-img{border-radius:34px;box-shadow:var(--shadow);border:10px solid var(--white)}.notice{border-left:5px solid var(--green);background:#eef5ec;padding:18px 22px;border-radius:18px;color:#394c35}.page-hero{padding:70px 0 42px;background:linear-gradient(135deg,var(--cream),var(--sage))}.page-hero h1{font-family:Georgia,serif;font-size:clamp(42px,6vw,68px);line-height:1;margin:0}.content{padding:54px 0 90px}.content :where(h2,h3){font-family:Georgia,serif;color:#3c2a1e}.content p,.content li{font-size:18px;color:var(--muted)}.site-footer{background:#2f231c;color:#f5eadc;padding:48px 0}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px}.site-footer a{color:#f5eadc}.small{font-size:14px;color:#d5c3ae}.ribbon{background:var(--brown);color:white;text-align:center;padding:10px 16px;font-weight:800}.wp-block-button__link{border-radius:999px;background:var(--brown)}@media(max-width:800px){.header-inner{align-items:flex-start;flex-direction:column}.brand img{width:210px}.menu{gap:10px}.hero{min-height:620px}.hero-card{padding:28px}.grid.three,.grid.two,.split,.footer-grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery figure:first-child{grid-column:span 2}.section{padding:62px 0}}@media(max-width:520px){.gallery{grid-template-columns:1fr}.gallery figure:first-child{grid-column:auto}.actions .btn{width:100%}}
.menu li{list-style:none;display:inline-flex;margin:0;padding:0}.menu li::marker{content:""}.menu ul{display:flex;gap:18px;align-items:center;margin:0;padding:0;list-style:none}
/* Real Facebook brand asset pass */
.brand img{width:300px;max-width:52vw}.hero-card:before{content:"";display:block;width:88px;height:88px;background:url('assets/dragonfly-facebook-logo.webp') center/cover;border-radius:22px;box-shadow:0 10px 26px rgba(63,45,30,.14);margin-bottom:16px}.gallery figure{box-shadow:0 12px 28px rgba(63,45,30,.12)}@media(max-width:800px){.brand img{width:245px;max-width:80vw}.hero-card:before{width:72px;height:72px}}
/* Gallery + admin-controlled rabbit listings */
.photo-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.photo-strip img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:22px;box-shadow:0 12px 28px rgba(63,45,30,.12)}.full-gallery{columns:3 260px;column-gap:18px}.full-gallery figure{break-inside:avoid;margin:0 0 18px;background:var(--white);border-radius:24px;overflow:hidden;box-shadow:0 12px 28px rgba(63,45,30,.12)}.full-gallery img{display:block;width:100%;height:auto}.full-gallery figcaption{padding:10px 14px;color:var(--muted);font-size:14px}.rabbit-listings{display:grid;gap:24px}.rabbit-card{display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:26px;background:var(--white);border:1px solid rgba(139,94,52,.16);border-radius:30px;padding:18px;box-shadow:0 16px 38px rgba(63,45,30,.1)}.rabbit-photo{position:relative;min-height:280px;border-radius:24px;overflow:hidden;background:#eadfd2}.rabbit-photo img{width:100%;height:100%;object-fit:cover;display:block}.rabbit-status{position:absolute;top:14px;left:14px;background:var(--brown);color:white;font-weight:850;border-radius:999px;padding:8px 12px}.rabbit-info h2{font-family:Georgia,serif;font-size:34px;margin:6px 0 10px}.rabbit-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.rabbit-info dl div{background:#fbf6ef;border-radius:16px;padding:10px 12px}.rabbit-info dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--brown);font-weight:850}.rabbit-info dd{margin:2px 0 0;color:var(--ink);font-weight:750}.rabbit-notes{font-size:18px;color:var(--muted)}.rabbit-empty{text-align:center}.admin-note{background:#fff8e8;border:1px solid rgba(199,154,82,.38);border-radius:22px;padding:18px 22px;margin:22px 0;color:#5a432a}@media(max-width:800px){.photo-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.rabbit-card{grid-template-columns:1fr}.rabbit-info dl{grid-template-columns:1fr}.menu{font-size:14px}}
/* Blurry-photo cleanup: use only clear Facebook assets in public photo blocks. */
.clear-photos{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.clear-photos img{aspect-ratio:4/3;object-fit:cover}.clear-photos img[src*="dragonfly-facebook-logo"]{object-fit:contain;background:#fbf6ef;padding:18px}.clean-gallery{columns:2 320px}.clean-gallery figure img{max-height:none;object-fit:contain;background:#fbf6ef}.clean-gallery figure:has(img[src*="dragonfly-facebook-logo"]) img{padding:28px;box-sizing:border-box}.rabbit-empty.card p{max-width:680px;margin-left:auto;margin-right:auto}.section-intro{font-size:20px;line-height:1.7;color:var(--muted);max-width:820px}@media(max-width:800px){.clear-photos{grid-template-columns:1fr}.clean-gallery{columns:1}}
/* Keep Facebook post photos near/native size so 443px post images are not blown up. */
.clean-gallery{columns:3 260px;column-gap:16px}.clean-gallery figure img{width:100%;height:auto}.clean-gallery figure{max-width:420px}.photo-strip.clear-photos{max-width:980px}.photo-strip.clear-photos img{min-height:0}
/* Gallery correction: no duplicate cover/logo filler; actual Facebook post photos in an even grid. */
.rabbit-photo-gallery{columns:unset;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rabbit-photo-gallery figure{max-width:none;margin:0}.rabbit-photo-gallery figure img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.rabbit-photo-gallery figure:nth-child(1) img,.rabbit-photo-gallery figure:nth-child(6) img{aspect-ratio:4/3}.photo-strip.clear-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-strip.clear-photos img{width:100%;aspect-ratio:4/3;object-fit:cover}.photo-strip.clear-photos img[src*="dragonfly-facebook-logo"]{object-fit:contain;background:#fbf6ef;padding:18px}@media(max-width:900px){.rabbit-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.rabbit-photo-gallery,.photo-strip.clear-photos{grid-template-columns:1fr}}
/* Final gallery card fix: same image/card ratio, no big empty bottoms. */
.rabbit-photo-gallery figure{display:flex;flex-direction:column;overflow:hidden}.rabbit-photo-gallery figure img,.rabbit-photo-gallery figure:nth-child(1) img,.rabbit-photo-gallery figure:nth-child(6) img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.rabbit-photo-gallery figcaption{min-height:0;flex:0 0 auto}
/* Customer/privacy cleanup: gallery uses rabbit-only photos and generic captions only. */
.rabbit-photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.rabbit-photo-gallery figure:last-child:nth-child(3n+2){grid-column:auto}.rabbit-photo-gallery figcaption{font-size:13px;color:#6d5b4b}.photo-strip.clear-photos img{aspect-ratio:4/3;object-fit:cover}
@media(max-width:900px){.rabbit-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.rabbit-photo-gallery{grid-template-columns:1fr}}
/* User-directed gallery: all non-logo Facebook photos, no captions/descriptive text. */
.no-caption-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;align-items:start}.no-caption-gallery img{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 10px 24px rgba(63,45,30,.13);background:#fbf6ef}.no-caption-gallery img[src*="rabbit-04"],.no-caption-gallery img[src*="rabbit-05"],.no-caption-gallery img[src*="rabbit-06"],.no-caption-gallery img[src*="rabbit-07"],.no-caption-gallery img[src*="rabbit-08"]{image-rendering:auto}.no-caption-strip{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.no-caption-strip img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:#fbf6ef;border-radius:18px}.full-gallery figcaption,.rabbit-photo-gallery figcaption{display:none!important}.section-intro:empty{display:none}@media(max-width:560px){.no-caption-gallery,.no-caption-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
