/*
Theme Name: Free Bird
Theme URI: https://free-bird.nl
Author: Redactie
Author URI: https://free-bird.nl
Description: Luchtig, natuurlijk thema voor tuinvogels: saliegroen, mosgroen en roodborstoranje met bladvormige kaarten en grote, rustige letters.
Version: 1.0.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freebird
*/

:root{--fb-leaf:28px 6px 28px 6px;--fb-leaf-s:18px 5px 18px 5px}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
img,svg{max-width:100%;height:auto}
:where(a,button,input,summary,[tabindex]):focus-visible{outline:3px solid #1f5f86;outline-offset:3px;border-radius:4px}
.fb-dark :where(a,button,input,summary):focus-visible{outline-color:#f6c9a8}

/* header: light, airy, rounded underside */
.fb-header{background:#fff;padding-block:.5rem;border-bottom:1px solid #cbd7c0;position:relative}
.fb-header-inner{gap:.25rem 1rem!important;min-height:60px}
.fb-brand{gap:.6rem!important;align-items:center}
.fb-brand svg{display:block;flex:none}
.fb-brand .wp-block-site-title{margin:0;line-height:1}
.fb-brand a{display:inline-flex;align-items:center;min-height:44px}
.fb-header .wp-block-navigation-item__content{padding:.6rem .8rem;min-height:44px;display:flex;align-items:center;text-decoration:none;border-radius:999px}
.fb-header .wp-block-navigation-item__content:hover{background:#e3ebd9;color:#1b3025}
.fb-header .wp-block-search__button{min-width:44px;min-height:44px;color:#1b3025;fill:#1b3025;background:#e3ebd9;border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0}
.fb-header .wp-block-search__button:hover{background:#cbd7c0}
.fb-header .wp-block-navigation__responsive-container-open{color:#1b3025;min-width:44px;min-height:44px;align-items:center;justify-content:center}
@media (min-width:600px){.fb-header .wp-block-navigation__responsive-container-open{display:none!important}}
@media (max-width:599px){.fb-header .wp-block-navigation__responsive-container-open{display:inline-flex}.fb-header .wp-block-site-title{font-size:1.35rem!important}.fb-header-inner{flex-wrap:nowrap!important}}
.fb-header .wp-block-search__inside-wrapper{background:#fff;border:2px solid #2c4a37;border-radius:999px;padding:2px}
.fb-header .wp-block-search__input{border:0;background:transparent;color:#1f2a22;min-height:40px;padding:0 .9rem}

/* dark areas */
.fb-dark{background:#1b3025;color:#f3f6ee}
.fb-dark :where(h1,h2,h3,h4,p,li){color:#f3f6ee}
.fb-dark a{color:#f3f6ee}
.fb-dark a:hover{color:#f6c9a8}

/* hero */
.fb-hero{background:linear-gradient(180deg,#e3ebd9 0%,#f3f6ee 100%);padding-block:clamp(2.25rem,6vw,4.5rem) clamp(2.5rem,6vw,4.5rem);border-radius:0 0 56px 56px;overflow:hidden;position:relative}
.fb-hero h1{margin:0}
.fb-hero h1 em{font-style:italic;color:#b84a14}
.fb-eyebrow{font-size:.9375rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b84a14;margin:0}
.fb-hero-lead{font-size:1.3rem;max-width:34rem;color:#2d3b31}
.fb-hero-art{display:flex;justify-content:center}
.fb-hero-art svg{width:min(100%,400px);height:auto}
@media (max-width:781px){.fb-hero-art svg{width:min(76%,280px)}.fb-hero{border-radius:0 0 36px 36px}}
.fb-hero .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:#1b3025;border:2px solid #2c4a37}
.fb-hero .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#2c4a37;color:#fff}
@media (max-width:599px){
 .fb-hero .wp-block-buttons{flex-direction:column;align-items:stretch}
 .fb-hero .wp-block-button{width:100%}
 .fb-hero .wp-block-button__link{display:block;text-align:center;min-height:48px}
 .fb-hero-lead{font-size:1.1875rem}
}

/* sections */
.fb-section{padding-block:clamp(2.5rem,5vw,4rem)}
.fb-section-head{margin-bottom:1.25rem}
.fb-section-head h2{margin:0}
.fb-section-head p{margin:.4rem 0 0;color:#49584d;max-width:40rem}
.fb-band{padding-block:clamp(2.5rem,5vw,4rem)}
.fb-band-sky{background:#dcebf4}

/* leaf cards */
.fb-card{position:relative;box-sizing:border-box;background:#fff;border:1px solid #cbd7c0;border-radius:var(--fb-leaf);padding:1.35rem 1.4rem;box-shadow:0 1px 2px rgba(27,48,37,.08),0 12px 26px -18px rgba(27,48,37,.4);transition:transform .18s ease,box-shadow .18s ease}
.fb-card:hover,.fb-card:focus-within{transform:translateY(-3px);box-shadow:0 2px 4px rgba(27,48,37,.1),0 18px 30px -16px rgba(27,48,37,.45)}
.fb-card:focus-within{outline:3px solid #1f5f86;outline-offset:3px}
.fb-card h3{margin:0;font-size:clamp(1.25rem,1.1rem + .5vw,1.5rem);line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
.fb-card h3 a{color:#1b3025;text-decoration:none}
.fb-card h3 a::after{content:"";position:absolute;inset:0;border-radius:var(--fb-leaf)}
.fb-card h3 a:focus-visible{outline:none}
.fb-card p{margin:.5rem 0 0}

/* seasons */
.wp-block-group.fb-seasons,.wp-block-group.fb-tiles{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;width:100%;max-width:var(--wp--style--global--wide-size,1200px);margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.wp-block-group.fb-seasons>*,.wp-block-group.fb-tiles>*{margin:0!important;max-width:none}
@media (min-width:640px){.wp-block-group.fb-seasons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.wp-block-group.fb-seasons{grid-template-columns:repeat(4,minmax(0,1fr))}}
.fb-season{display:flex;flex-direction:column;gap:.25rem;border:0;border-radius:var(--fb-leaf);min-height:100%}
.fb-season .fb-when{font-size:.875rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin:0;color:#1b3025}
.fb-season h3{font-size:1.3rem}
.fb-s1{background:#dcebf4}.fb-s2{background:#e3ebd9}.fb-s3{background:#f6efcf}.fb-s4{background:#fbe4d4}
.fb-season .fb-ico{width:2.75rem;height:2.75rem;margin-bottom:.4rem}

/* category tiles */
.fb-tile{display:flex;flex-direction:column;justify-content:space-between;min-height:9.5rem;border-radius:var(--fb-leaf)}
.fb-tile .fb-badge{width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;margin:0 0 .75rem;background:#e3ebd9}
.fb-tile .fb-go{font-weight:700;color:#b84a14;margin-top:1rem}
.fb-tile p{font-size:1rem;color:#49584d}
.fb-t2 .fb-badge{background:#fbe4d4}.fb-t3 .fb-badge{background:#dcebf4}.fb-t4 .fb-badge{background:#f6efcf}.fb-t5 .fb-badge{background:#e3ebd9}
@media (min-width:520px){.wp-block-group.fb-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-tiles>:last-child{grid-column:1/-1}}
@media (min-width:780px){.wp-block-group.fb-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}.fb-tiles>*{grid-column:span 2}.fb-tiles>:nth-child(4){grid-column:2/span 2}.fb-tiles>:nth-child(5){grid-column:4/span 2}}
@media (min-width:1100px){.wp-block-group.fb-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}.fb-tiles>*,.fb-tiles>:nth-child(4),.fb-tiles>:nth-child(5){grid-column:auto}}

/* trust */
.wp-block-group.fb-trust{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;max-width:var(--wp--style--global--wide-size,1200px);margin-left:auto!important;margin-right:auto!important;width:100%;box-sizing:border-box}
.wp-block-group.fb-trust>*{margin:0!important;max-width:none}
@media (min-width:640px){.wp-block-group.fb-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.wp-block-group.fb-trust{grid-template-columns:repeat(4,minmax(0,1fr))}}
.fb-trust .fb-card{background:#fff;border-radius:var(--fb-leaf-s);box-shadow:none}
.fb-trust .fb-card:hover{transform:none}
.fb-trust .fb-card h3{font-size:1.2rem;color:#1b3025}
.fb-trust .fb-tick{width:2.25rem;height:2.25rem;margin-bottom:.4rem}

/* post cards */
.wp-block-post-template>li{display:flex}
.fb-post-card{width:100%;display:flex;flex-direction:column;gap:.5rem}
.fb-post-card .wp-block-post-featured-image{margin:-.35rem -.4rem .25rem}
.fb-post-card .wp-block-post-featured-image img{border-radius:var(--fb-leaf-s);width:100%}
.fb-post-card .wp-block-post-excerpt{margin:0}
.fb-post-card .wp-block-post-excerpt__more-link{display:none}
.fb-post-card .wp-block-post-date{margin-top:auto;padding-top:.5rem}
.fb-kicker,.fb-kicker a{font-size:.8125rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#b84a14;text-decoration:none;position:relative;z-index:2}
.fb-kicker a{display:inline-block;padding-block:.6rem;margin-block:-.6rem}
.fb-kicker{margin:0}

/* page heads */
.fb-pagehead{padding-block:clamp(2rem,5vw,3.5rem) 1.5rem}
.fb-pagehead h1{margin:0}
.fb-pagehead h1::before{content:"";display:block;width:3.25rem;height:.5rem;margin-bottom:.9rem;border-radius:999px;background:linear-gradient(90deg,#2c4a37 0 60%,#b84a14 60% 100%)}
.fb-pagehead .wp-block-term-description,.fb-pagehead .wp-block-term-description p{font-size:1.1875rem;max-width:42rem;color:#49584d}
.fb-meta{gap:.35rem .5rem!important;color:#49584d;font-size:.9375rem;margin-top:.75rem}
.fb-meta p{margin:0}
.fb-article-head .wp-block-post-terms a{display:inline-block;padding-block:.6rem;margin-block:-.6rem;font-weight:800;font-size:.875rem;letter-spacing:.07em;text-transform:uppercase;text-decoration:none;color:#b84a14}
.fb-article-head h1{margin-top:.5rem}
.fb-article-head h1::before{display:none}
.fb-feature img{border-radius:var(--fb-leaf);width:100%;height:auto}

/* article typography */
.fb-article{padding-bottom:2rem}
.fb-article>*+*{margin-top:1.3rem}
.fb-article h2{margin-top:2.7rem;scroll-margin-top:1rem}
.fb-article h3{margin-top:2rem}
.fb-article ul,.fb-article ol{padding-left:1.5rem}
.fb-article li{margin-top:.45rem}
.fb-article li::marker{color:#b84a14;font-weight:800}
.fb-article h3{padding-left:.8rem;border-left:4px solid #b84a14;border-radius:2px}
.fb-article img{border-radius:var(--fb-leaf-s)}
.fb-article figcaption{font-size:.9375rem;color:#49584d}
.fb-article details{background:#fff;border:1px solid #cbd7c0;border-radius:var(--fb-leaf-s);padding:.25rem 1rem}
.fb-article summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}

/* tables */
.wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-block:1.75rem;border:1px solid #cbd7c0;border-radius:14px;background:#fff}
.wp-block-table table{border-collapse:collapse;table-layout:auto;width:100%;min-width:560px;font-size:1rem}
.wp-block-table.alignwide table{min-width:760px}
.wp-block-table th{background:#2c4a37;color:#fff;text-align:left;padding:.75rem .95rem;font-weight:700}
.wp-block-table td{padding:.7rem .95rem;border:0;border-bottom:1px solid #e3ebd9;vertical-align:top}
.wp-block-table td,.wp-block-table th{word-break:normal;overflow-wrap:normal;hyphens:manual}
.wp-block-table tbody tr:nth-child(even) td{background:#f3f6ee}
.wp-block-table tbody tr:last-child td{border-bottom:0}
.wp-block-table figcaption{padding:.5rem .95rem;margin:0}
.alignwide.wp-block-table{max-width:100%}

/* separator */
.wp-block-separator{border:0!important;height:4px;background:repeating-linear-gradient(90deg,#cbd7c0 0 14px,transparent 14px 22px);opacity:1;border-radius:4px}

/* pagination */
.wp-block-query-pagination{gap:.5rem;margin-top:2rem}
.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 .75rem;border-radius:999px;font-weight:700;text-decoration:none}
.wp-block-query-pagination .page-numbers.current{background:#2c4a37;color:#fff}
.wp-block-query-pagination a:hover{background:#e3ebd9}

/* search on content pages */
.fb-search .wp-block-search__inside-wrapper{border:2px solid #2c4a37;border-radius:999px;background:#fff;padding:3px}
.fb-search .wp-block-search__input{border:0;min-height:44px;padding:0 1rem;background:transparent}
.fb-search .wp-block-search__button{background:#2c4a37;color:#fff;border:0;border-radius:999px;min-height:44px;padding:0 1.25rem;font-weight:700}

/* footer */
.fb-footer{padding-top:clamp(2.5rem,5vw,4rem);margin-top:clamp(1.5rem,4vw,3rem);border-radius:48px 48px 0 0}
.fb-footer h2{font-size:1rem;letter-spacing:.08em;text-transform:uppercase;color:#f6c9a8;margin:0 0 .5rem;font-family:var(--wp--preset--font-family--body)}
.fb-footer .fb-foot-brand{font-family:var(--wp--preset--font-family--serif);font-size:1.6rem;letter-spacing:0;text-transform:none;color:#fff}
.fb-footer-list{list-style:none;padding:0;margin:0}
.fb-footer-list li{margin:0}
.fb-footer-list a{display:inline-block;padding-block:.65rem;text-decoration:none}
.fb-footer-list a:hover{text-decoration:underline}
.fb-footer-bottom{border-top:1px solid rgba(243,246,238,.25);margin-top:2rem;padding-block:1.25rem;font-size:.9375rem}
.fb-footer-bottom p{color:#cfdcc6!important;margin:0}
@media (max-width:781px){.fb-footer{border-radius:32px 32px 0 0}}
@media (max-width:600px){.fb-card{padding:1.1rem}.wp-block-table table{min-width:480px}}
