/*
Theme Name: Toyo Educational
Theme URI: https://www.toyoeducational.org
Author: Toyo Educational Training & Counseling
Description: The website of Toyo Educational Training & Counseling, a registered Canadian charity. Activating it builds every page (programs, events, counselling, giving, videos, forms), ten event recaps, the menu and the footer, then copies the pictures from the old site into the Media Library. Edit details under Appearance > Toyo Details.
Version: 2.2.5
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toyo-educational
*/

html{scroll-behavior:smooth}
[id]{scroll-margin-top:1rem}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}

/* Header */
.toyo-header{position:relative;z-index:20}
.toyo-logo{display:inline-flex;flex-direction:column;gap:2px;text-decoration:none;line-height:1}
.toyo-logo img{display:block;width:150px;height:auto}
.toyo-logo span{font-family:var(--wp--preset--font-family--heading);font-size:.62rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.9;padding-left:2px}
.toyo-header .toyo-logo span{color:#fff}
.toyo-header .wp-block-navigation a{text-decoration:none}
.toyo-header .wp-block-navigation a:hover{text-decoration:underline;text-underline-offset:4px}
.toyo-header .wp-block-navigation__responsive-container.is-menu-open{padding:1.5rem}
.toyo-header .wp-block-navigation__responsive-container.is-menu-open a{color:var(--wp--preset--color--ink)}
.wp-block-navigation .wp-block-navigation__submenu-container{background:#fff !important;color:var(--wp--preset--color--ink) !important;border:1px solid var(--wp--preset--color--line) !important;border-radius:14px;padding:.5rem !important;box-shadow:0 14px 34px rgba(27,36,64,.14);min-width:15rem !important}
.wp-block-navigation .wp-block-navigation__submenu-container a{color:var(--wp--preset--color--ink) !important;padding:.5rem .75rem !important;border-radius:8px}
.wp-block-navigation .wp-block-navigation__submenu-container a:hover{background:var(--wp--preset--color--surface);text-decoration:none !important}
@media (max-width:599px){.toyo-logo img{width:118px}.toyo-logo span{font-size:.52rem}}

/* Buttons */
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--wp--preset--color--rose-dark);border:2px solid currentColor;padding:.75rem 1.5rem}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--rose-dark);color:#fff;border-color:var(--wp--preset--color--rose-dark)}
.wp-block-button.is-style-outline-light .wp-block-button__link{background:transparent;color:#fff;border:2px solid #fff;padding:.75rem 1.5rem}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover{background:#fff;color:var(--wp--preset--color--ink)}
.wp-block-button.is-style-sun .wp-block-button__link{background:var(--wp--preset--color--sun);color:var(--wp--preset--color--ink);padding:.6rem 1.3rem}
.wp-block-button.is-style-sun .wp-block-button__link:hover{background:#fff;color:var(--wp--preset--color--ink)}
.toyo-donate{display:inline-block}
.has-primary-background-color .wp-block-button:not(.is-style-outline-light):not(.is-style-sun) .wp-block-button__link{background:var(--wp--preset--color--sun);color:var(--wp--preset--color--ink)}
.has-primary-background-color .wp-block-button:not(.is-style-outline-light):not(.is-style-sun) .wp-block-button__link:hover{background:#fff}

/* Sections */
.toyo-section{padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)}
.toyo-section-tight{padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)}
.toyo-section-inner > *{margin-block-start:0}
.toyo-section-inner > * + *{margin-block-start:1.25rem}
.toyo-section-inner > .wp-block-group.is-layout-grid,.toyo-section-inner > .wp-block-columns{margin-block-start:2rem}
.toyo-page-hero{padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)}
.wp-block-post-content > .alignfull{margin-block-start:0;margin-block-end:0}
footer.wp-block-template-part{margin-block-start:0}
.toyo-center{text-align:center}
.toyo-center .wp-block-buttons{justify-content:center}
.toyo-center .toyo-lead{margin-left:auto !important;margin-right:auto !important}

/* Type helpers */
.toyo-eyebrow-wrap{margin:0}
.toyo-eyebrow{display:inline-block;font-family:var(--wp--preset--font-family--heading);font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--wp--preset--color--primary-dark);background:var(--wp--preset--color--tint);padding:.4rem .8rem;border-radius:999px}
.toyo-eyebrow-rose{color:var(--wp--preset--color--rose-dark);background:#FCE3E8}
.toyo-lead{font-size:var(--wp--preset--font-size--large);color:var(--wp--preset--color--muted);line-height:1.6;max-width:46rem}
.toyo-muted{color:var(--wp--preset--color--muted)}
.toyo-meta-line{font-weight:600;color:var(--wp--preset--color--muted)}

/* Hero */
.toyo-hero .wp-block-cover__image-background{object-position:center 30%}
.toyo-hero-copy{padding-top:2rem;padding-bottom:2rem}
.toyo-hero-copy > *{margin-left:0 !important}
.toyo-hero .toyo-eyebrow{background:rgba(255,255,255,.16);color:#fff}
.toyo-hero-title{color:#fff !important;font-size:clamp(2.6rem,7vw,4.6rem) !important;text-transform:uppercase;letter-spacing:.01em}
.toyo-hero-lead{font-size:var(--wp--preset--font-size--large);color:#fff;max-width:36rem}
.toyo-hero-note{font-size:.95rem;color:#E4E9F6}
.toyo-hero .wp-block-buttons{margin-top:1.5rem}

/* Stats */
.toyo-stats{border-bottom:1px solid var(--wp--preset--color--line)}
.toyo-stat p{margin:0}
.toyo-stat-num{font-family:var(--wp--preset--font-family--heading);font-weight:800;font-size:var(--wp--preset--font-size--xx-large);color:var(--wp--preset--color--primary);line-height:1.1}
.toyo-stat-label{color:var(--wp--preset--color--muted);margin-top:.35rem !important}

/* Cards */
.toyo-card{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:20px;padding:1.75rem;height:100%;box-sizing:border-box}
.toyo-card > *{margin-block-start:0}
.toyo-card > * + *{margin-block-start:.75rem}
.toyo-card-tint{background:var(--wp--preset--color--tint);border-color:transparent}
.has-surface-background-color .toyo-card:not(.toyo-card-tint){box-shadow:0 1px 0 rgba(27,36,64,.03)}
.toyo-card-img{margin:-1.75rem -1.75rem 1.25rem !important}
.toyo-card-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px 20px 0 0;display:block}
.toyo-card p:last-child a{font-weight:700;text-decoration:none}
.toyo-card p:last-child a:hover{text-decoration:underline}
.toyo-icon{width:52px;height:52px;border-radius:14px;background:var(--wp--preset--color--tint);color:var(--wp--preset--color--primary);display:flex;align-items:center;justify-content:center;flex:none}
.toyo-icon-rose{background:#FCE3E8;color:var(--wp--preset--color--rose-dark)}
.toyo-icon-sun{background:#FDEBC4;color:#8A5A00}
.toyo-icon svg{display:block}
.toyo-step-num{width:44px;height:44px;border-radius:50%;background:var(--wp--preset--color--rose);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-family:var(--wp--preset--font-family--heading)}
.toyo-steps .wp-block-columns{margin-bottom:.5rem;gap:1rem}
.toyo-steps .wp-block-column:first-child{flex:0 0 56px !important}
.toyo-rounded img{border-radius:24px;width:100%;height:auto;display:block}
.toyo-shadow img{box-shadow:0 18px 40px rgba(27,36,64,.16)}
.toyo-badge{display:inline-block;font-family:var(--wp--preset--font-family--heading);font-weight:800;font-size:1.05rem;background:var(--wp--preset--color--tint);color:var(--wp--preset--color--primary-dark);border-radius:999px;padding:.35rem .9rem}
.toyo-badge-free{background:#FCE3E8;color:var(--wp--preset--color--rose-dark)}
.toyo-course{display:flex;flex-direction:column}
.toyo-team{text-align:center}
.toyo-team-img{margin:0 auto 1rem !important;max-width:150px}
.toyo-team-img img{width:150px;height:150px;object-fit:cover;border-radius:50%;display:block}
.toyo-team-name{font-size:1.1rem !important}
.toyo-team p{font-size:.92rem}
.toyo-coordinator .wp-block-columns{gap:1rem;margin:0;flex-wrap:nowrap !important}
.toyo-coordinator .wp-block-column:first-child{flex:0 0 96px !important}
.toyo-avatar{margin:0}
.toyo-avatar img{width:88px;height:88px;border-radius:50%;object-fit:cover;display:block}
.toyo-coordinator p{margin:0}
.toyo-stack > * + *{margin-top:1rem}
.toyo-notice-card{border-left:5px solid var(--wp--preset--color--rose);background:var(--wp--preset--color--blush)}
.toyo-cta-band{border-radius:28px;padding:clamp(2rem,5vw,3.5rem);text-align:center}
.toyo-cta-band h2,.toyo-cta-band p{color:#fff}
.toyo-cta-band .wp-block-buttons,.toyo-cta-band .toyo-donate{justify-content:center}
.toyo-cta-band .toyo-donate .wp-block-button__link{background:var(--wp--preset--color--sun);color:var(--wp--preset--color--ink)}
.toyo-cta-band .toyo-donate .wp-block-button__link:hover{background:#fff}
.toyo-big-quote{border:0 !important;padding:0 !important;text-align:center}
.toyo-big-quote p{font-family:var(--wp--preset--font-family--heading);font-size:var(--wp--preset--font-size--x-large);font-weight:700;line-height:1.35;color:var(--wp--preset--color--primary-dark)}

/* Lists */
.toyo-check{padding-left:0}
.toyo-check li{list-style:none;position:relative;padding-left:1.9rem;margin:.45rem 0}
.toyo-check li::before{content:"";position:absolute;left:0;top:.3em;width:1.15rem;height:1.15rem;border-radius:50%;background:#2A70DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/68% no-repeat}
.toyo-dots{padding-left:1.1rem;color:var(--wp--preset--color--muted)}
.toyo-dots li::marker{color:var(--wp--preset--color--rose)}
.toyo-meta{list-style:none;padding:0;margin-top:auto !important;border-top:1px solid var(--wp--preset--color--line);padding-top:.9rem;font-size:.92rem;color:var(--wp--preset--color--muted)}
.toyo-plain{list-style:none;padding-left:0}
.toyo-plain li{margin:.35rem 0}
.toyo-timeline{list-style:none;padding:0;margin:1rem 0;display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}
.toyo-timeline li{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:14px;padding:.8rem;text-align:center}
.toyo-timeline strong{display:block;font-family:var(--wp--preset--font-family--heading);color:var(--wp--preset--color--primary-dark)}
.toyo-timeline span{font-size:.85rem;color:var(--wp--preset--color--muted)}
@media (max-width:480px){.toyo-timeline{grid-template-columns:repeat(2,1fr)}}

/* FAQ */
.toyo-faq details{border-bottom:1px solid var(--wp--preset--color--line);padding:1.05rem 0}
.toyo-faq details:first-child{padding-top:0}
.toyo-faq summary{cursor:pointer;font-weight:700;font-family:var(--wp--preset--font-family--heading);font-size:1.02rem}
.toyo-faq details p{margin:.6rem 0 0;color:var(--wp--preset--color--muted)}

/* Videos */
.toyo-video{display:flex;flex-direction:column;gap:.45rem;text-decoration:none;color:var(--wp--preset--color--ink)}
.toyo-video:hover strong{color:var(--wp--preset--color--rose-dark)}
.toyo-video strong{font-family:var(--wp--preset--font-family--heading);font-size:1rem;line-height:1.3}
.toyo-video > span:last-child:not(.toyo-video-thumb){font-size:.9rem;color:var(--wp--preset--color--muted)}
.toyo-video-thumb{position:relative;display:block;border-radius:16px;overflow:hidden;background:#000;aspect-ratio:16/9}
.toyo-video-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.toyo-video:hover .toyo-video-thumb img{transform:scale(1.04)}
.toyo-play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;background:rgba(200,72,105,.92)}
.toyo-play::after{content:"";position:absolute;left:21px;top:16px;border-style:solid;border-width:11px 0 11px 17px;border-color:transparent transparent transparent #fff}
.wp-block-embed iframe{border-radius:18px}

/* Forms */
.toyo-form{display:grid;gap:1rem}
.toyo-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.95rem}
.toyo-form input:not([type=checkbox]):not([type=radio]),.toyo-form select,.toyo-form textarea{font:inherit;font-weight:400;padding:.8rem .9rem;border:1px solid #A4AEC4;border-radius:10px;background:#fff;color:var(--wp--preset--color--ink);width:100%;box-sizing:border-box}
.toyo-form input:focus,.toyo-form select:focus,.toyo-form textarea:focus{outline:3px solid #A9C6F3;outline-offset:1px;border-color:var(--wp--preset--color--primary)}
.toyo-form fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:.45rem}
.toyo-form legend{font-weight:600;font-size:.95rem;margin-bottom:.35rem}
.toyo-form fieldset label,.toyo-consent{flex-direction:row !important;align-items:flex-start;gap:.6rem !important;font-weight:400 !important}
.toyo-form input[type=checkbox],.toyo-form input[type=radio]{width:1.15rem;height:1.15rem;margin-top:.2rem;accent-color:var(--wp--preset--color--primary);flex:none}
.toyo-form button{font:inherit;font-family:var(--wp--preset--font-family--heading);font-weight:700;background:var(--wp--preset--color--rose);color:#fff;border:0;border-radius:999px;padding:.95rem 1.7rem;cursor:pointer;justify-self:start}
.toyo-form button:hover{background:var(--wp--preset--color--rose-dark)}
.toyo-form-note{margin:0;font-size:.85rem;color:var(--wp--preset--color--muted)}
.toyo-req{color:var(--wp--preset--color--rose-dark)}
.toyo-hp{position:absolute;left:-9999px}
.toyo-form-card{padding:clamp(1.25rem,3vw,2.25rem)}
.toyo-form-title{font-size:var(--wp--preset--font-size--x-large) !important}
.toyo-form.toyo-form-inline{display:flex;flex-wrap:wrap;align-items:stretch;gap:.85rem 1rem}
.toyo-form-inline > label{flex:1 1 16rem;gap:0;margin:0}
.toyo-form-inline > button{flex:0 0 auto;margin:0}
@media (max-width:480px){.toyo-form-inline > button{flex:1 1 100%}}
.toyo-notice{padding:1rem 1.2rem;border-radius:12px;background:#E3F0FF;color:#173F80;font-weight:600}
.toyo-notice.toyo-error{background:#FBE7EA;color:#8A1F35}

/* Event recaps */
.toyo-post-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.toyo-post-card > *{padding-left:1.5rem;padding-right:1.5rem}
.toyo-post-card > .wp-block-post-featured-image{padding:0;margin:0 0 1rem}
.toyo-post-card > .wp-block-post-featured-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.toyo-post-card > :last-child{padding-bottom:1.5rem}
.toyo-post-card .wp-block-post-title a{text-decoration:none;color:var(--wp--preset--color--ink)}
.toyo-post-card .wp-block-post-title a:hover{color:var(--wp--preset--color--rose-dark)}
.toyo-post-card .wp-block-post-excerpt__more-link{font-weight:700;text-decoration:none}
.wp-block-gallery.has-nested-images figure.wp-block-image img{border-radius:12px}

/* Footer */
.toyo-newsletter{padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)}
.toyo-newsletter h2{margin-top:.6rem}
.toyo-partners{padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);border-top:1px solid var(--wp--preset--color--line)}
.toyo-partners-title{font-size:.8rem !important;letter-spacing:.09em;text-transform:uppercase;color:var(--wp--preset--color--muted) !important}
.toyo-logos{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-wrap:wrap;gap:1.25rem 1.75rem;align-items:center}
.toyo-logos img{height:52px;width:auto;max-width:150px;object-fit:contain;display:block}
.toyo-footer-muted{color:#C3CBE0}
.toyo-footer .toyo-logo{margin-bottom:.5rem}
.toyo-footer-links{list-style:none;padding:0;margin:.9rem 0 0;display:flex;flex-direction:column;gap:.55rem;font-size:.92rem}
.toyo-footer a{text-decoration:none}
.toyo-footer a:hover{text-decoration:underline}
.toyo-footer-bottom{margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--30);border-top:1px solid #343E5E;color:#C3CBE0}
.toyo-footer-bottom p{margin:0}
.toyo-social{list-style:none;padding:0;margin:1rem 0 0;display:flex;gap:.6rem}
.toyo-social a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff}
.toyo-social a:hover{background:var(--wp--preset--color--rose)}
.toyo-card .toyo-social a{background:var(--wp--preset--color--tint);color:var(--wp--preset--color--primary-dark)}
.toyo-card .toyo-social a:hover{background:var(--wp--preset--color--rose);color:#fff}

/* Layout fixes */
.wp-block-group.is-layout-grid{align-items:stretch}
@media (max-width:781px){.wp-block-group.is-layout-grid{grid-template-columns:1fr !important}}
@media (min-width:600px) and (max-width:781px){.toyo-stats .wp-block-group.is-layout-grid,.toyo-video-grid{grid-template-columns:1fr 1fr !important}}
.is-layout-constrained > .toyo-lead{margin-left:0 !important}
.toyo-plain-page h2{font-size:var(--wp--preset--font-size--x-large);margin-top:2rem}
.toyo-form.toyo-form-inline{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.toyo-form-inline label{flex:1 1 15rem}
.toyo-form-inline button{flex:0 0 auto}
.toyo-footer .wp-block-columns > .wp-block-column:last-child{min-width:210px}
.toyo-donate{flex-shrink:0}.toyo-donate .wp-block-button__link,header .wp-block-navigation-item__content{white-space:nowrap}

/* Language switch */
.toyo-lang{display:inline-flex;align-items:center;justify-content:center;min-width:2.6rem;height:2.6rem;padding:0 .7rem;border:2px solid rgba(255,255,255,.75);border-radius:999px;font-family:var(--wp--preset--font-family--heading);font-weight:700;font-size:.85rem;letter-spacing:.06em;color:#fff !important;text-decoration:none !important;flex:none}
.toyo-lang:hover,.toyo-lang:focus-visible{background:#fff;color:var(--wp--preset--color--primary) !important}
.toyo-form br{display:none}
.toyo-form > p:not(.toyo-form-note){display:contents}
@media (max-width:599px){.toyo-header-nav{gap:.5rem !important}.toyo-lang{min-width:2.1rem;height:2.1rem;padding:0 .4rem;font-size:.75rem;border-width:1.5px}.toyo-header .toyo-donate .wp-block-button__link{padding:.5rem .8rem !important;font-size:.82rem !important}.toyo-header .toyo-logo img{width:100px;height:auto}}

/* Sticky header */
header.wp-block-template-part{position:sticky;top:0;z-index:100}
body.admin-bar header.wp-block-template-part{top:32px}
@media (max-width:782px){body.admin-bar header.wp-block-template-part{top:46px}}
@media (max-width:600px){body.admin-bar header.wp-block-template-part{top:0}}
.toyo-header{box-shadow:0 2px 12px rgba(10,30,70,.12)}
.wp-block-buttons br{display:none}
.wp-block-buttons > p{display:contents}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}

/* v1.5: photos imported from the old site */
.toyo-banner img{width:100%;aspect-ratio:16/6;object-fit:cover;border-radius:24px}
@media (max-width:700px){.toyo-banner img{aspect-ratio:4/3}}
.toyo-photos .toyo-photo-row img,.toyo-moments .toyo-photo-row img{border-radius:18px}
.wp-block-gallery.toyo-photo-row{gap:1rem}
.toyo-moments h2{margin-bottom:1.25rem}
.toyo-flyer{max-width:560px;margin-left:auto;margin-right:auto}
.toyo-flyer img{box-shadow:0 10px 30px rgba(10,30,70,.15)}
.toyo-event-gallery.wp-block-gallery{gap:.6rem}
.toyo-event-gallery.wp-block-gallery img{border-radius:12px}
.toyo-video-grid{gap:1rem}
.toyo-video-grid video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:16px;background:#0b1b3a}
.toyo-event-promo{margin:2rem 0}
.toyo-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.toyo-highlights img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px;display:block;transition:transform .2s}
.toyo-highlights a:hover img{transform:scale(1.02)}

.toyo-logo-round img{width:72px !important;height:72px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.toyo-footer .toyo-logo-round img{width:96px !important;height:96px}
@media (max-width:599px){.toyo-header .toyo-logo-round img{width:56px !important;height:56px}}
.toyo-textured .toyo-photo-row img{border-radius:18px}

/* v2.1.1: footer on tablets, bigger partner logos */
.toyo-logos{gap:1rem 1.25rem}
.toyo-logos li{background:#fff;border-radius:12px;padding:.6rem .9rem;display:flex;align-items:center;justify-content:center;min-height:84px;box-shadow:0 2px 10px rgba(10,30,70,.06)}
.toyo-logos img{height:64px;max-width:170px}
@media (max-width:1100px){
 .toyo-footer .wp-block-columns{flex-wrap:wrap !important}
 .toyo-footer .wp-block-columns > .wp-block-column{flex-basis:calc(50% - 1.5rem) !important;min-width:200px}
 .toyo-footer .wp-block-columns > .wp-block-column:first-child{flex-basis:100% !important}
}
@media (max-width:600px){
 .toyo-footer .wp-block-columns > .wp-block-column{flex-basis:100% !important}
 .toyo-logos img{height:52px;max-width:140px}
}

/* v2.2: pages converted from the old site, word for word */
.wp-block-post-content > .toyo-d{margin-top:0 !important;margin-bottom:0 !important}
.wp-block-post-content > .toyo-d + .toyo-d{margin-top:0 !important}
.toyo-d .wp-block-columns{margin-bottom:0;gap:0;align-items:stretch}
.toyo-d .wp-block-column{padding-left:15px;padding-right:15px;box-sizing:border-box}
.toyo-d .wp-block-column > .toyo-d{height:100%;margin:0}
.toyo-d > .wp-block-group,.toyo-d .wp-block-cover__inner-container{width:100%}
.toyo-d.wp-block-cover .wp-block-cover__inner-container{max-width:1200px;margin:0 auto}
.toyo-d h1,.toyo-d h2,.toyo-d h3,.toyo-d h4,.toyo-d h5,.toyo-d h6{margin-top:.4em;margin-bottom:.5em;word-break:normal;overflow-wrap:anywhere;hyphens:none}
.toyo-d p{margin-top:0;margin-bottom:1em}
.toyo-d .wp-block-image{margin-top:0;margin-bottom:1rem}
.toyo-d .wp-block-image img{max-width:100%;height:auto}
.toyo-d .wp-block-buttons{margin:1rem 0}
.toyo-d .wp-block-button__link{text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.toyo-d .wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(10,30,70,.15)}
.toyo-d-icon svg{display:inline-block;max-width:100%;height:auto}
.toyo-d-icon{margin-bottom:.5rem}
.toyo-d-gallery figcaption{background:none !important;color:inherit !important;position:static !important;padding:.5rem 0 0 !important;text-align:center;font-size:.95rem;max-height:none !important}
.toyo-d-gallery .wp-block-image{flex-direction:column !important}
.toyo-d-gallery img{border-radius:12px}
.toyo-d-embed{position:relative;padding-top:56.25%;margin:0 0 1rem}
.toyo-d-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:12px}
.toyo-d-video{width:100%;max-width:100%;border-radius:12px;background:#000}
.toyo-faq{border-bottom:1px solid currentColor;padding:1rem 0;margin:0}
.toyo-faq summary{cursor:pointer;font-family:Syncopate,Montserrat,sans-serif;font-weight:700;text-transform:uppercase;font-size:1rem;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.toyo-faq summary::-webkit-details-marker{display:none}
.toyo-faq summary::after{content:"+";font-size:1.6rem;line-height:1;transition:transform .2s}
.toyo-faq[open] summary::after{transform:rotate(45deg)}
.toyo-faq > :not(summary){padding-top:.75rem}
.toyo-dform-wrap{max-width:560px}
.toyo-dform label{display:block;font-weight:600;margin-bottom:.25rem}
.toyo-dform input:not([type=radio]):not([type=checkbox]),.toyo-dform textarea,.toyo-dform select{display:block;width:100%;margin-top:.35rem;padding:.75rem .9rem;border:1px solid #c9d2e3;border-radius:10px;font:inherit;background:#fff;box-sizing:border-box}
.toyo-dform fieldset{border:0;padding:0;margin:0 0 1rem}
.toyo-dform-opt{display:inline-flex !important;gap:.4rem;margin-right:1rem;font-weight:400 !important}
.toyo-dform button{background:#2a70de;color:#fff;border:0;border-radius:999px;padding:.85rem 2rem;font-weight:700;letter-spacing:.04em;cursor:pointer}
.toyo-dform button:hover{background:#1b4fa6}
.toyo-hp{position:absolute !important;left:-9999px !important}
.toyo-form-thanks{font-weight:600}
@media (max-width:781px){
 .toyo-d{padding-left:16px !important;padding-right:16px !important}
 .toyo-d h1{font-size:clamp(1.9rem,8vw,2.6rem) !important}
 .toyo-d h2{font-size:clamp(1.5rem,6.5vw,2.2rem) !important}
 .toyo-d .wp-block-column{flex-basis:100% !important;padding-left:0;padding-right:0}
 .toyo-d.wp-block-cover{min-height:auto !important}
}

/* v2.2.1: the old site's newsletter band with its two photos */
.toyo-nlband{background:#fbd180;color:#080808}
.toyo-nlband-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:70px 40px}
.toyo-nlband-eyebrow{font-family:Syncopate,Montserrat,sans-serif;font-size:16px;font-weight:700;text-transform:uppercase;margin:0 0 .75rem;letter-spacing:.02em}
.toyo-nlband-title{font-family:Syncopate,Montserrat,sans-serif;font-size:40px;line-height:1.15;font-weight:700;text-transform:uppercase;margin:0 0 1rem}
.toyo-nlband p{font-size:18px;line-height:1.5}
.toyo-nlband-form{font-family:Syncopate,Montserrat,sans-serif;font-size:24px;font-weight:700;margin:1.5rem 0 .75rem}
.toyo-nlband .toyo-dform{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem}
.toyo-nlband .toyo-dform > p:first-child{flex:1 1 260px;margin:0}
.toyo-nlband .toyo-dform-submit{margin:0}
.toyo-nlband .toyo-dform button{background:#080808}
.toyo-nlband .toyo-dform button:hover{background:#2a70de}
.toyo-nlband-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.toyo-nlband-photos img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block;border-radius:6px}
@media (max-width:900px){.toyo-nlband-inner{grid-template-columns:1fr;padding:50px 20px}.toyo-nlband-title{font-size:30px}}

/* v2.2.3: newsletter band without photos */
.toyo-nlband-inner{grid-template-columns:1.1fr .9fr;gap:56px;padding:64px 40px}
.toyo-nlband-title{font-size:36px}
.toyo-nlband-card{background:#fff;border-radius:18px;padding:28px 30px;box-shadow:0 18px 40px rgba(60,40,0,.12)}
.toyo-nlband-card .toyo-nlband-form{margin-top:0}
.toyo-nlband-photos{display:none}
@media (max-width:900px){.toyo-nlband-inner{grid-template-columns:1fr;gap:28px;padding:48px 20px}.toyo-nlband-title{font-size:28px}}

/* v2.2.3: highlight the current page in the menu */
.toyo-header .wp-block-navigation-item.toyo-active > .wp-block-navigation-item__content,
.toyo-header .wp-block-navigation-item.toyo-active-parent > .wp-block-navigation-item__content,
.toyo-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content{position:relative}
.toyo-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item.toyo-active > .wp-block-navigation-item__content::after,
.toyo-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item.toyo-active-parent > .wp-block-navigation-item__content::after,
.toyo-header .wp-block-navigation__container > .wp-block-navigation-item.toyo-active > .wp-block-navigation-item__content::after,
.toyo-header .wp-block-navigation__container > .wp-block-navigation-item.toyo-active-parent > .wp-block-navigation-item__content::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:3px;border-radius:3px;background:#fbd180}
.toyo-header .wp-block-navigation__container > .wp-block-navigation-item.toyo-active > .wp-block-navigation-item__content,
.toyo-header .wp-block-navigation__container > .wp-block-navigation-item.toyo-active-parent > .wp-block-navigation-item__content{color:#fbd180 !important}
.toyo-header .wp-block-navigation__container > .wp-block-navigation-item.toyo-active-parent > .wp-block-navigation__submenu-icon{color:#fbd180}
.wp-block-navigation .wp-block-navigation__submenu-container .toyo-active > a{background:#fff0f3 !important;color:#c84869 !important;font-weight:700}
.wp-block-navigation__responsive-container.is-menu-open .toyo-active > a,
.wp-block-navigation__responsive-container.is-menu-open .toyo-active-parent > a{color:#c84869 !important;font-weight:700}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after{display:none}
.toyo-header .wp-block-navigation-item.toyo-active > a:hover{text-decoration:none}
