/*! Momo theme — wp.css
 * WordPress core classes, block content (Gutenberg) and the theme's block patterns.
 */

/* core accessibility & alignment classes */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;word-wrap:normal!important}
.screen-reader-text:focus{position:fixed!important;top:10px;inset-inline-start:10px;width:auto;height:auto;clip:auto;z-index:999;background:var(--ch);color:#fff;padding:10px 16px;border-radius:10px}
.alignleft{float:left;margin:0 1.5em 1em 0}.alignright{float:right;margin:0 0 1em 1.5em}.aligncenter{display:block;margin-inline:auto}
.alignwide{max-width:1360px;margin-inline:auto}.alignfull{width:100%}
.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:var(--mute);margin-top:6px}
.sticky,.bypostauthor{display:block}
img{height:auto}

/* group blocks in classic themes wrap children in an inner container: let the theme grids see the children */
.about-hero>.wp-block-group__inner-container,.art>.wp-block-group__inner-container,.vals>.wp-block-group__inner-container,.momo-val>.wp-block-group__inner-container,.momo-cta>.wp-block-group__inner-container{display:contents}

/* editable page content */
.momo-content{padding-bottom:60px}
.momo-content>*+*{margin-top:1em}
.momo-content h2{font-size:clamp(24px,2.6vw,32px);margin-top:1.4em}
.momo-content h3{font-size:22px;margin-top:1.2em}
.momo-content p{line-height:1.9}
.momo-content a:not(.btn):not(.wp-block-button__link){color:var(--ch);font-weight:600;text-underline-offset:4px}
.momo-content ul,.momo-content ol{padding-inline-start:22px;line-height:1.9}
.momo-content blockquote{margin:1.4em 0;padding:16px 20px;border-inline-start:4px solid var(--lime);background:var(--ivory);border-radius:14px}
.momo-content figure{margin:1.4em 0}
.momo-content .wp-block-image img{border-radius:20px}
.prose .wp-block-table,.momo-content .wp-block-table{overflow-x:auto;margin:1em 0}
.wp-block-table table,.prose table{width:100%;border-collapse:collapse;font-size:15px}
.wp-block-table th,.wp-block-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start}
.wp-block-table thead th{background:var(--ivory);font-weight:700}
.wp-block-table td:last-child,.wp-block-table th:last-child{white-space:nowrap}
.prose .draft::before{content:"";flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E") center/contain no-repeat}
.doc aside{display:flex;flex-direction:column}

/* buttons block → theme buttons */
.wp-block-buttons.btns,.wp-block-buttons{display:flex;gap:10px;flex-wrap:wrap}
.wp-block-button.btn{height:auto;padding:0;background:none!important;box-shadow:none!important}
.wp-block-button.btn .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:50px;padding:0 26px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;transition:background .25s,color .25s,box-shadow .25s}
.wp-block-button.btn.dark .wp-block-button__link{background:var(--ch);color:#fff}.wp-block-button.btn.dark .wp-block-button__link:hover{background:var(--lime);color:var(--ch)}
.wp-block-button.btn.lime .wp-block-button__link{background:var(--lime);color:var(--ch)}.wp-block-button.btn.lime .wp-block-button__link:hover{background:var(--ch);color:var(--lime)}
.wp-block-button.btn.line .wp-block-button__link{background:#fff;color:var(--ch);box-shadow:inset 0 0 0 1.5px var(--line)}
.wp-block-button__link{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:999px;background:var(--ch);color:#fff;font-weight:700;text-decoration:none}

/* about pattern */
.about-hero .about-title{font-size:clamp(40px,5.4vw,72px);margin-top:14px}
.about-hero .prose{margin-top:18px}
.about-hero .btns{margin-top:22px}
.about-hero .art figure{margin:0;position:absolute}
.about-hero .art figure img{position:static;width:100%;height:auto;filter:drop-shadow(0 24px 24px rgba(0,0,0,.3));border-radius:0}
.about-hero .art .art-1{width:44%;top:6%;right:6%}
.about-hero .art .art-2{width:54%;bottom:6%;left:4%}
.about-hero .art .art-3{width:38%;top:12%;left:10%}
.vals{padding-bottom:90px}
.vals .momo-val p{margin:0}
.vals .momo-val::before{content:"";display:block;width:40px;height:40px;background:var(--ch);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.vals .momo-val:nth-child(2)::before{background:var(--lime)}
.vals .momo-val:nth-child(2) .muted{color:#fff;opacity:.8}
.momo-icon-shield{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l7 3v5c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
.momo-icon-tag{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E")}
.momo-icon-grid{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E")}
.vals .momo-val-t b{display:block;font-size:22px;margin:12px 0 6px}
.momo-cta{background:var(--ch);color:#fff;border-radius:30px;padding:clamp(24px,4vw,46px);margin:30px 0}
.momo-cta h2{color:#fff;margin:0}
.momo-cta p{opacity:.8}

/* trust strip with any number of items */
@media(min-width:1001px){.trust .wrap>.momo-trust{grid-template-columns:repeat(var(--n,4),minmax(0,1fr))}}

/* blog */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:40px}
.post-card{display:flex;flex-direction:column;gap:8px}
.post-card .pc-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.post-card .pc-t{font-size:20px}.post-card .pc-t a{text-decoration:none}
.post-card .pc-d{font-size:13px;margin:0}
.post-hero{width:100%;border-radius:24px;margin-bottom:20px}
.post-navigation{display:flex;justify-content:space-between;gap:12px;margin:30px 0}
.post-navigation .nav-links{display:flex;justify-content:space-between;width:100%;gap:12px}
.post-navigation a{font-weight:600;text-decoration:none}
.comments-area .comment-form p{margin:0 0 12px}
.comments-area .comment-form input:not([type=checkbox]),.comments-area .comment-form textarea{width:100%;border-radius:14px;border:1.5px solid var(--line);padding:12px 14px;font-size:16px}
.comments-area .commentlist .comment-body{background:var(--ivory);border-radius:16px;padding:14px;margin-bottom:10px}
.page-links{margin:20px 0;display:flex;gap:6px}
.widget{margin-bottom:16px}

@media(max-width:1000px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.post-grid{grid-template-columns:minmax(0,1fr)}}

/* Blog widget area */
.momo-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:36px}
.momo-widgets .widget{padding:20px}
.momo-widgets .widget-title{font-size:16px;margin:0 0 10px}
.momo-widgets ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}

/* Block styles (inc/patterns.php) */
.wp-block-button.is-style-momo-lime .wp-block-button__link{background:var(--lime);color:var(--ch)}
.wp-block-button.is-style-momo-lime .wp-block-button__link:hover{background:var(--ch);color:var(--lime)}
.wp-block-button.is-style-momo-line .wp-block-button__link{background:#fff;color:var(--ch);box-shadow:inset 0 0 0 1.5px var(--line)}
.wp-block-group.is-style-momo-panel{background:#fff;border:1px solid var(--line);border-radius:var(--r,22px);padding:24px}
