/* per-site fixes */
/* Search was removed from the static site: hide the dead search buttons */
.menu-bar-item a[aria-label="Avaa haku"]{display:none !important;}
.menu-bar-item:has(a[aria-label="Avaa haku"]){display:none !important;}
/* Footer: hide the theme credit, keep the copyright */
.copyright-bar{font-size:0 !important;}
.copyright-bar .copyright{font-size:15px;}
.copyright-bar a[href*="generatepress.com"]{display:none !important;}
/* Table of contents accordion: its plugin CSS/JS is missing, so the arrow icons rendered huge */
.gb-accordion{margin:1.2em 0 1.8em;border:1px solid #d9e8df;border-radius:8px;overflow:hidden;}
.gb-accordion__toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#eef8f2;font-weight:600;cursor:pointer;}
.gb-accordion__toggle-icon{display:inline-flex;flex:0 0 auto;}
.gb-accordion__toggle-icon svg{width:20px !important;height:20px !important;}
.gb-accordion__item-open .gb-accordion__toggle-icon-open,
.gb-accordion__item:not(.gb-accordion__item-open) .gb-accordion__toggle-icon-close{display:none;}
.gb-accordion__item:not(.gb-accordion__item-open) .gb-accordion__content{display:none;}
.gb-accordion__content{padding:6px 16px 4px;}
.gb-accordion__content ul{margin-bottom:0.8em;}
/* Teksti-TV iframes: keep them inside the screen on phones */
iframe[src*="yle.fi/tekstitv"]{max-width:100%;}
/* Footer badges (18+, SSL, Peluuri): keep them in one row on phones instead of three stacked rows */
@media (max-width:781px){#block-16 .wp-block-columns{flex-wrap:nowrap !important;justify-content:flex-start;gap:24px;}
#block-16 .wp-block-column{flex:0 0 auto !important;width:auto !important;}}
