
/* SewCraftly - style dyal l'articles */
.pp-post {
  --pp-navy: #1D2327;
  --pp-rose: #AE5340;
  --pp-cream: #F8EDE5;
  --pp-muted: #777777;
  color: #333;
  line-height: 1.7;
}
.pp-post h2 {
  color: var(--pp-navy);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--pp-rose);
  display: inline-block;
}
.pp-post h3 { color: var(--pp-rose); font-size: 1.15rem; margin: 1.5rem 0 .5rem; }

.pp-hero img { border-radius: 14px; width: 100%; height: auto; }

.pp-facts {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin: 1.5rem 0;
}
.pp-facts p {
  margin: 0; padding: .45rem .9rem;
  background: var(--pp-cream); border-radius: 999px;
  font-size: .9rem;
}
.pp-facts strong { color: var(--pp-rose); margin-right: .3rem; }

.pp-intro { font-size: 1.1rem; }

.pp-banner {
  text-align: center; background: var(--pp-navy); color: #fff;
  padding: .8rem 1rem; border-radius: 10px; margin: 1.5rem 0;
}
.pp-banner strong { color: #fff; }

.pp-card {
  background: var(--pp-cream); border-radius: 14px; padding: 1.2rem 1.5rem;
}
.pp-card h2 { margin-top: .3rem; }
.pp-card ul { padding-left: 1.2rem; }
.pp-note, .pp-small { font-size: .85rem; font-style: italic; color: var(--pp-muted); }
.pp-sketch img { border: 1px solid #e6e0da; border-radius: 12px; }
.pp-sketch figcaption { text-align: center; color: var(--pp-muted); font-size: .85rem; }

.pp-cta {
  border-radius: 16px; padding: 1.8rem; margin: 2rem 0; text-align: center;
}
.pp-cta h2 { border: 0; margin-top: 0; }
.pp-cta-main { background: var(--pp-cream); border: 2px dashed var(--pp-rose); }
.pp-cta-shop { background: var(--pp-navy); color: #fff; text-align: left; }
.pp-cta-shop h2 { color: #fff; }
.pp-cta-shop img { border-radius: 10px; }
.pp-cta .wp-block-buttons { justify-content: center; }
.pp-cta-shop .wp-block-buttons { justify-content: flex-start; }
.pp-post .wp-block-button__link {
  background: var(--pp-rose); color: #fff; border-radius: 999px;
  padding: .75rem 1.8rem; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.pp-post .wp-block-button__link:hover { background: #8F4232; transform: translateY(-2px); }

.pp-table { overflow-x: auto; margin: .5rem 0 1.5rem; }
.pp-table table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 480px; }
.pp-table th, .pp-table td { padding: .6rem .5rem; text-align: center; border: 0; }
.pp-table thead th { color: #fff; }
.pp-table-navy thead th { background: var(--pp-navy); }
.pp-table-rose thead th { background: var(--pp-rose); }
.pp-table tbody tr:nth-child(even) { background: var(--pp-cream); }
.pp-table tbody td:first-child { font-weight: 700; text-align: left; color: var(--pp-navy); }

.pp-tips .wp-block-column {
  background: #fff; border: 1px solid #eee4dc; border-top: 4px solid var(--pp-rose);
  border-radius: 12px; padding: 1rem 1.2rem;
}
.pp-tips h3 { margin-top: 0; }

.pp-faq {
  border: 1px solid #eee4dc; border-radius: 10px;
  padding: .8rem 1.1rem; margin-bottom: .6rem;
}
.pp-faq summary { cursor: pointer; font-weight: 700; color: var(--pp-navy); }
.pp-faq[open] summary { color: var(--pp-rose); }

.pp-closing {
  text-align: center; color: var(--pp-rose); font-weight: 700;
  font-size: 1.3rem; margin-top: 2.5rem;
}

@media (max-width: 781px) {
  .pp-cta-shop { text-align: center; }
  .pp-cta-shop .wp-block-buttons { justify-content: center; }
}

/* Blayes dyal l'pub: ma kaybanouch 7ta t7ett fihom code AdSense */
.pp-ad:empty{display:none}
.pp-ad{margin:2.2rem 0;text-align:center;min-height:100px}
.pp-ad::before{content:"Advertisement";display:block;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:#999;margin-bottom:.4rem}
/* === SewCraftly v2: pattern posts (hero, steps, paid guide) === */
.pp-post .pp-hero{margin:0 0 1.5rem;background:#fff;border:1px solid #eee4dc;border-radius:14px;padding:1rem;text-align:center}
.pp-post .pp-hero img{max-height:460px;width:auto;max-width:100%;border-radius:0}
.pp-post .pp-facts{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-start}
.pp-post .pp-facts>p{margin:0!important;max-width:none!important}
.pp-post .pp-banner{font-weight:700}
.pp-post .pp-card h2{margin-top:.2rem}
.pp-post .pp-two-col{gap:1.5rem}
.single-post .post-thumbnail{display:none}
.pp-post .pp-facts .wp-block-group__inner-container{display:flex;flex-wrap:wrap;gap:.5rem}
.pp-post .pp-facts .wp-block-group__inner-container>p{margin:0!important;max-width:none!important;padding:.45rem .9rem;background:var(--pp-cream);border-radius:999px;font-size:.9rem}
.pp-post .pp-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pp-post .pp-table table{min-width:0;width:100%;table-layout:auto}
.pp-post .pp-table th,.pp-post .pp-table td{white-space:nowrap;font-size:.8rem;line-height:1.3;padding:.5rem .3rem}
.pp-post .pp-table thead th:first-child{font-size:.7rem;font-weight:600;opacity:.9}
@media (max-width:900px){.pp-post .pp-table table{min-width:760px}}
.pp-post .pp-table td:first-child,.pp-post .pp-table th:first-child{position:sticky;left:0;z-index:1;background:#fff}
.pp-post .pp-table-navy thead th:first-child{background:var(--pp-navy)}
.pp-post .pp-table-rose thead th:first-child{background:var(--pp-rose)}
.pp-post .pp-table tbody tr:nth-child(even) td:first-child{background:var(--pp-cream)}
.pp-post ol.pp-steps{list-style:none;counter-reset:st;padding:0;margin:1rem 0}
.pp-post ol.pp-steps>li{counter-increment:st;position:relative;padding:1rem 0 1rem 3.4rem;border-bottom:1px solid #eee4dc}
.pp-post ol.pp-steps>li::before{content:counter(st);position:absolute;left:0;top:.7rem;font-size:2.2rem;font-weight:700;line-height:1;color:var(--pp-rose)}
.pp-post ol.pp-steps strong{display:block;color:var(--pp-navy);margin-bottom:.2rem}
.pp-post .pp-guide{border:1px solid #eee4dc;border-radius:18px;padding:1.8rem;margin:2.5rem 0;background:#fff}
.pp-post .pp-guide h2{border:0;margin:.2rem 0 .6rem;padding:0}
.pp-post .pp-eyebrow{margin:0;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--pp-rose)}
.pp-post .pp-guide-peek{margin:1.2rem 0}
.pp-post .pp-guide-peek img{border-radius:12px;width:100%;height:auto}
.pp-post .pp-guide-cols{align-items:center;gap:1.5rem}
.pp-post ul.pp-checks{list-style:none;padding:0;margin:0}
.pp-post ul.pp-checks li{position:relative;padding-left:1.8rem;margin:.45rem 0}
.pp-post ul.pp-checks li::before{content:"✓";position:absolute;left:0;top:.05rem;width:1.2rem;height:1.2rem;border-radius:50%;background:var(--pp-rose);color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.pp-post .pp-guide-buy{background:var(--pp-cream);border-radius:14px;padding:1.2rem;text-align:center}
.pp-post .pp-guide-buy .wp-block-buttons{justify-content:center}
.pp-post .pp-price{font-size:2.6rem;font-weight:700;color:var(--pp-navy);line-height:1;margin:0 0 .8rem}
.pp-post .pp-cta-main .wp-block-buttons{justify-content:center}
.pp-post .pp-faq summary{list-style:revert}
.pp-post .pp-cover{margin:0 0 1.5rem}
.pp-post .pp-cover img{width:100%;height:auto;border-radius:14px;display:block}
/* Guide shop box */
.pp-post .pp-guide-buy{background:#fff!important;border:1px solid #eadfd8;border-radius:18px;box-shadow:0 12px 32px rgba(29,35,39,.10);text-align:center;padding:2rem 1.5rem 1.6rem!important;position:relative;overflow:hidden}
.pp-post .pp-guide-buy:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#AE5340,#1D2327)}
.pp-post .pp-buy-tag{display:inline-block;margin:0 0 .5rem;padding:.3rem .9rem;border-radius:999px;background:#F8EDE5;color:#AE5340;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.pp-post .pp-buy-title{margin:.1rem 0 .4rem;color:#1D2327;font-size:1.55rem;border:0;padding:0}
.pp-post .pp-guide-buy .pp-price{margin:.3rem 0 1.1rem;font-size:2.8rem;font-weight:800;color:#1D2327;line-height:1}
.pp-post .pp-guide-buy .wp-block-buttons{justify-content:center}
.pp-post .pp-shop-btn .wp-block-button__link{background:#1D2327;color:#fff;padding:.95rem 2.8rem;font-size:1.05rem;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 8px 20px rgba(29,35,39,.25)}
.pp-post .pp-shop-btn .wp-block-button__link:after{content:" \2192";margin-left:.35rem}
.pp-post .pp-shop-btn .wp-block-button__link:hover{background:#AE5340;transform:translateY(-2px)}
.pp-post .pp-guide-buy .pp-small{margin-top:.9rem}
/* Ko-fi support box */
.pp-post .pp-kofi{max-width:720px;margin:2rem auto 1rem;padding:.9rem 1rem .9rem 1.4rem;background:#F8EDE5;border-radius:999px}
.pp-post .pp-kofi .wp-block-group__inner-container{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.pp-post .pp-kofi-text{flex:1 1 300px;margin:0!important;font-size:.95rem;line-height:1.5;color:#555}
.pp-post .pp-kofi-text strong{color:#1D2327}
.pp-post .pp-kofi-btn{display:inline-flex;align-items:center;gap:.55rem;flex:0 0 auto;margin:0!important;background:#fff;color:#202020!important;text-decoration:none!important;font-weight:700;font-size:.95rem;border:1.5px solid #e2d8d0;border-radius:999px;padding:.5rem 1.1rem .5rem .8rem;box-shadow:0 3px 10px rgba(0,0,0,.06);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.pp-post .pp-kofi-btn img{height:22px;width:auto;margin:0;border-radius:0}
.pp-post .pp-kofi-btn:hover{transform:translateY(-2px);border-color:#FF5E5B;box-shadow:0 8px 18px rgba(255,94,91,.18)}
@media (max-width:600px){.pp-post .pp-kofi{border-radius:18px;padding:1rem 1.1rem;text-align:center}.pp-post .pp-kofi .wp-block-group__inner-container{justify-content:center}}
/* More free patterns (prev/next cards) */
.single-post nav.post-navigation{display:none}
.sc-morenav{margin:2.5rem 0 1rem;padding-top:1.6rem;border-top:1px solid #eadfd8}
.sc-morenav-kicker,.sc-morenav .sc-morenav-title{display:none!important}
.sc-morenav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.sc-morenav-card{display:flex;align-items:center;gap:.9rem;min-height:96px;padding:.6rem;background:#fff;border:1px solid #eadfd8;border-radius:14px;text-decoration:none!important;color:inherit;box-shadow:0 4px 12px rgba(29,35,39,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.sc-morenav-card:hover{transform:translateY(-3px);border-color:#AE5340;box-shadow:0 12px 24px rgba(29,35,39,.12)}
.sc-morenav-card.sc-prev{grid-column:1}
.sc-morenav-card.sc-next,.sc-morenav-card.sc-more{grid-column:2;flex-direction:row-reverse;text-align:right}
.sc-morenav-media{flex:0 0 120px;width:120px;height:80px;border-radius:10px;overflow:hidden;background:#F8EDE5}
.sc-morenav-media img.sc-morenav-img{width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;transition:transform .4s ease}
.sc-morenav-card:hover .sc-morenav-img{transform:scale(1.06)}
.sc-morenav-body{display:flex;flex-direction:column;gap:.15rem;min-width:0;padding:0 .3rem}
.sc-morenav-label{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#AE5340}
.sc-morenav-name{font-size:1rem;font-weight:700;line-height:1.3;color:#1D2327}
.sc-morenav-code{font-size:.8rem;color:#888}
@media (max-width:600px){.sc-morenav-grid{gap:.6rem}.sc-morenav-card{flex-direction:column!important;align-items:stretch;text-align:left!important;gap:.5rem}.sc-morenav-card.sc-next,.sc-morenav-card.sc-more{text-align:right!important}.sc-morenav-media{flex:none;width:100%;height:90px}.sc-morenav-name{font-size:.9rem}.sc-morenav-code{display:none}}
/* cm / inches toggle */
.pp-post .pp-unit-toggle{float:none;display:flex;width:max-content;align-items:center;margin:.1rem 0 .55rem 0;padding:3px;background:#F8EDE5;border:1px solid #e3d9d0;border-radius:999px;box-shadow:none;line-height:1}
.pp-post .pp-table{clear:both}
.pp-post .pp-unit-toggle button{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;color:#1D2327!important;font-family:inherit!important;font-size:.8rem!important;font-weight:700!important;letter-spacing:.03em!important;text-transform:none!important;line-height:1!important;min-height:0!important;height:auto!important;width:auto!important;margin:0!important;padding:.45rem .95rem!important;border-radius:999px!important;box-shadow:none!important;cursor:pointer;transition:background .2s ease,color .2s ease}
.pp-post .pp-unit-toggle button:hover{color:#AE5340!important}
.pp-post .pp-unit-toggle button.is-active{background:#1D2327!important;color:#fff!important}
@media (max-width:600px){.pp-post .pp-unit-toggle{margin-top:1.3rem}.pp-post .pp-unit-toggle button{font-size:.72rem!important;padding:.4rem .75rem!important}}
.pp-unit-toggle button:focus-visible{outline:2px solid #AE5340;outline-offset:2px}
/* Brand palette from logo: ink #1D2327, terracotta #AE5340, peach #F6E5D9 */
.pp-post a:not(.wp-block-button__link):not(.sc-morenav-card):not(.pp-kofi-btn),.entry-content a:not(.wp-block-button__link):not(.sc-morenav-card):not(.pp-kofi-btn){color:#AE5340;text-decoration-color:rgba(174,83,64,.35)}
.pp-post a:not(.wp-block-button__link):not(.sc-morenav-card):not(.pp-kofi-btn):hover,.entry-content a:not(.wp-block-button__link):not(.sc-morenav-card):not(.pp-kofi-btn):hover{color:#8F4232}
.entry-meta,.entry-meta a,.post-meta,.post-meta a,.posted-on,.posted-on a,.cat-links a,.byline a{color:#AE5340!important}
.entry-title,.entry-title a,.widget-title,.widget .wp-block-heading{color:#1D2327}
::selection{background:#F6E5D9;color:#1D2327}
/* Tutorial promo section */
.pp-post .pp-tut{margin:3rem 0;padding:2.2rem 2rem;background:#fff;border:1px solid #eadfd8;border-radius:22px;box-shadow:0 14px 36px rgba(29,35,39,.08)}
.pp-post .pp-tut-cols{gap:2.5rem;align-items:center}
.pp-post .pp-tut-title{display:block;border:0;padding:0;margin:.3rem 0 .9rem;font-family:Georgia,'Times New Roman',serif;font-size:2.2rem;line-height:1.15;color:#1f2a33}
.pp-post .pp-tut-lead{font-style:italic;font-size:1.08rem;line-height:1.7;color:#444;margin:0 0 1rem}
.pp-post .pp-tut .pp-checks{margin:0 0 1.5rem}
.pp-post .pp-tut .wp-block-buttons{justify-content:flex-start}
.pp-post .pp-tut .pp-shop-btn .wp-block-button__link{background:#2f3337;border-radius:999px;padding:1rem 2.6rem;text-transform:none;font-size:1.15rem;letter-spacing:.02em}
.pp-post .pp-tut .pp-shop-btn .wp-block-button__link:hover{background:#AE5340}
.pp-post .pp-tut-img{margin:0}
.pp-post .pp-tut-img img{width:100%;height:auto;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.12);transform:rotate(1.5deg);transition:transform .3s ease}
.pp-post .pp-tut-img img:hover{transform:rotate(0) scale(1.02)}
@media (max-width:781px){.pp-post .pp-tut{padding:1.6rem 1.2rem}.pp-post .pp-tut-title{font-size:1.7rem}.pp-post .pp-tut .wp-block-buttons{justify-content:center}.pp-post .pp-tut-img img{transform:none}}
/* === Help box in pattern posts === */
.pp-post .pp-help{border-left:4px solid #AE5340;margin:2rem 0}
.pp-post .pp-help h3{margin-top:0!important;color:#1D2327!important}
.pp-post .pp-help-list{margin:.4rem 0 0;padding-left:1.3rem}
.pp-post .pp-help-list li{margin:.45rem 0}
.pp-post .pp-help-list a{color:#AE5340;text-decoration:none}
.pp-post .pp-help-list a:hover{text-decoration:underline}
/* === Tutorials === */
.pp-post .sc-fig{margin:1.8rem auto;max-width:520px;text-align:center}
.pp-post .sc-fig svg{width:100%;height:auto;display:block}
.pp-post .sc-fig figcaption{font-size:.85rem;font-style:italic;color:#777;margin-top:.5rem}
.pp-post .sc-small-table table{min-width:0!important}
.pp-post .sc-small-table th,.pp-post .sc-small-table td{white-space:normal!important;text-align:left!important;font-size:.9rem!important;padding:.65rem .8rem!important;position:static!important}
.sc-tutorial>.wp-block-group__inner-container>ol{padding-left:1.4rem}
.sc-tutorial>.wp-block-group__inner-container>ol li{margin:.4rem 0}
/* === Wider desktop layout === */
@media (min-width:851px){
.site-content .inner.main-with-sidebar{max-width:1340px;padding-left:24px;padding-right:24px;box-sizing:border-box;gap:40px}
.site-content .inner.main-with-sidebar .main-has-sidebar{max-width:none;flex:1 1 auto;min-width:0}
.site-content .inner.main-with-sidebar aside#secondary.featured-sidebar{max-width:330px;flex:0 0 330px;margin-left:0;padding-left:0;border-left:0}
.site-content .inner:not(.main-with-sidebar){max-width:1000px}
}
/* === Tablet & mobile layout === */
@media (max-width:850px){
.site-content .inner.main-with-sidebar{display:block!important;width:100%;max-width:100%;padding-left:16px;padding-right:16px;box-sizing:border-box}
.main-has-sidebar,aside#secondary.featured-sidebar{width:100%;max-width:100%;min-width:0}
aside#secondary.featured-sidebar{margin-top:2rem}
.pp-post,.pp-post .wp-block-group__inner-container{max-width:100%;min-width:0}
.pp-post .pp-table{max-width:100%;overflow-x:auto}
.pp-post .pp-table table{min-width:640px}
.pp-post .pp-guide{padding:1.2rem}
.pp-post .pp-cta{padding:1.3rem}
.pp-post .pp-card{padding:1rem 1.1rem}
.pp-post h2{font-size:1.4rem}
.entry-title{font-size:1.7rem;line-height:1.25}
}
@media (max-width:480px){
.pp-post .pp-facts .wp-block-group__inner-container>p{font-size:.82rem;padding:.35rem .75rem}
.pp-post .pp-intro{font-size:1rem}
.pp-post .pp-banner{font-size:.95rem;padding:.7rem}
.pp-post ol.pp-steps>li{padding-left:2.6rem}
.pp-post ol.pp-steps>li::before{font-size:1.8rem}
.pp-post .pp-price{font-size:2.2rem}
.entry-title{font-size:1.45rem}
}
/* === Header & menu === */
.site-header{padding-top:22px!important;padding-bottom:14px!important}
.site-header .inner{text-align:center}
.site-header .custom-logo-link{display:inline-block;line-height:0}
.site-header .custom-logo-link img{max-height:95px!important;width:auto!important;height:auto;max-width:100%}
.site-navigation{border-top:1px solid #eee4dc!important;border-bottom:1px solid #eee4dc!important;background:#fff}
.site-navigation .menu-wrap>ul>li>a{color:#1D2327!important;font-size:.82rem!important;font-weight:700!important;letter-spacing:.14em;text-transform:uppercase;padding-top:16px!important;padding-bottom:16px!important;position:relative}
.site-navigation .menu-wrap>ul>li>a::after{content:"";position:absolute;left:50%;right:50%;bottom:10px;height:2px;background:#AE5340;transition:left .2s,right .2s}
.site-navigation .menu-wrap>ul>li>a:hover::after,.site-navigation .menu-wrap>ul>li.current-menu-item>a::after,.site-navigation .menu-wrap>ul>li.current-menu-ancestor>a::after{left:14px;right:14px}
.site-navigation .menu-wrap>ul>li>a:hover{color:#AE5340!important}
/* Dropdown menu */
.site-navigation{position:relative;z-index:60}
.site-navigation .sub-menu li{display:block!important;margin:0!important;padding:0!important;border:0!important;text-align:left}
.site-navigation .sub-menu a{color:#1D2327!important;font-size:.92rem!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;display:block;padding:9px 20px!important;border:0!important;border-radius:8px;transition:background .15s,color .15s}
.site-navigation .sub-menu a::after,.site-navigation .sub-menu a::before{display:none!important}
.site-navigation .sub-menu a:hover{color:#AE5340!important;background:#F8EDE5}
@media (min-width:769px){
.site-navigation li.sc-drop{position:relative!important}
.site-navigation li.sc-drop>.sub-menu{display:block!important;visibility:hidden;opacity:0;position:absolute!important;top:calc(100% + 16px);left:50%;transform:translate(-50%,8px);min-width:210px;width:auto!important;background:#fff!important;border:1px solid #eee4dc!important;border-top:3px solid #AE5340!important;border-radius:0 0 12px 12px;box-shadow:0 14px 34px rgba(29,35,39,.14)!important;padding:8px!important;margin:0!important;transition:opacity .18s,transform .18s,visibility .18s;z-index:70}
.site-navigation li.sc-drop>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-22px;height:22px}
.site-navigation li.sc-drop:hover>.sub-menu,.site-navigation li.sc-drop:focus-within>.sub-menu{visibility:visible;opacity:1;transform:translate(-50%,0)}
.site-navigation li.sc-drop:hover>a{color:#AE5340!important}
.site-navigation li.sc-drop:hover>a::before{transform:translateY(-30%) rotate(-135deg)}
}
.site-navigation li.menu-item-has-children>a{padding-right:18px}
.site-navigation li.menu-item-has-children>a::before{content:"";position:absolute;right:2px;top:50%;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .2s}
@media (min-width:769px){
.site-navigation li.sc-mega{position:static!important}
.site-navigation li.sc-mega>.sub-menu{display:grid!important;visibility:hidden;opacity:0;position:absolute!important;top:100%!important;left:50%!important;right:auto!important;transform:translate(-50%,8px);width:760px!important;max-width:94vw!important;min-width:0!important;background:#fff!important;border:1px solid #eee4dc!important;border-top:3px solid #AE5340!important;border-radius:0 0 16px 16px;box-shadow:0 18px 40px rgba(29,35,39,.14)!important;padding:26px 34px 22px!important;margin:0!important;text-align:left;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row dense!important;column-gap:36px;row-gap:0;align-content:start;transition:opacity .18s,transform .18s,visibility .18s;z-index:70}
.site-navigation li.sc-mega>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-40px;height:40px}
.site-navigation li.sc-mega:hover>.sub-menu,.site-navigation li.sc-mega:focus-within>.sub-menu{visibility:visible;opacity:1;transform:translate(-50%,0)}
.site-navigation li.sc-mega:hover>a{color:#AE5340!important}
.site-navigation li.sc-mega:hover>a::before{transform:translateY(-30%) rotate(-135deg)}
.site-navigation .sub-menu li.mm-c1{grid-column:1!important}
.site-navigation .sub-menu li.mm-c2{grid-column:2!important}
.site-navigation .sub-menu li.mm-c3{grid-column:3!important}
.site-navigation .sub-menu li.mm-head{margin-bottom:6px!important;grid-row:1!important}
.site-navigation .sub-menu li.mm-head a{font-size:1.15rem!important;font-weight:800!important;padding:4px 10px 8px!important;border-radius:0;border-bottom:2px solid #AE5340!important;display:inline-block;background:none!important}
.site-navigation .sub-menu li:not(.mm-head) a{padding:7px 10px!important;font-weight:500!important}
.site-navigation li.sc-mega.sc-mega-2{position:relative!important}
.site-navigation li.sc-mega-2>.sub-menu{width:440px!important;top:calc(100% + 16px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.site-navigation li.sc-mega-2>.sub-menu::before{top:-22px;height:22px}
}
@media (max-width:768px){
.site-navigation .sub-menu{display:block;position:static;padding:4px 0 10px;margin:0}
.site-navigation .sub-menu li{text-align:center}
.site-navigation .sub-menu .mm-head{margin-top:12px}
.site-navigation .sub-menu .mm-head a{font-size:1rem!important}
.site-navigation li.menu-item-has-children>a::before{display:none}
}
@media (max-width:768px){
.site-header{padding-top:14px!important;padding-bottom:8px!important}
.site-header .custom-logo-link img{max-height:60px!important}
.site-navigation .menu-wrap>ul>li>a::after{display:none}
#menu-toggle{color:#1D2327!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
}
/* === Footer === */
.site-footer{background:#F8EDE5!important;border-top:1px solid #eae2da}
.site-footer,.site-footer p,.site-footer li,.site-footer span,.site-footer div{color:#1D2327!important}
.site-footer .inner{max-width:1240px;padding-left:24px;padding-right:24px;box-sizing:border-box}
.site-footer .supplementary{padding-top:56px;padding-bottom:24px}
@media (min-width:851px){.site-footer .supplementary .grid{display:grid!important;grid-template-columns:2fr 1fr 1fr;gap:48px}.site-footer .supplementary .grid::before,.site-footer .supplementary .grid::after{display:none!important;content:none!important}.site-footer .supplementary .one-fourth{width:auto!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}}
.site-footer .sc-foot h4{color:#1D2327!important;font-size:1.25rem;letter-spacing:0;text-transform:none;margin:0 0 1.1rem;font-weight:700}
.site-footer .sc-foot p{font-size:.95rem;line-height:1.7;margin:0 0 .7rem}
.site-footer .sc-foot-logo-link img{max-width:210px;height:auto;display:block;margin-bottom:1.1rem}
.site-footer .sc-foot-mail{text-decoration:underline;text-underline-offset:3px;font-size:1.02rem!important}
.site-footer .sc-foot ul{list-style:none;padding:0;margin:0}
.site-footer .sc-foot li{margin:0 0 .75rem;font-size:.97rem}
.site-footer .sc-foot a{color:#1D2327!important;text-decoration:none;transition:color .15s}
.site-footer .sc-foot a:hover{color:#AE5340!important}
.site-footer .sc-foot strong{color:#AE5340!important}
.site-footer .sc-foot-small{font-size:.85rem!important;opacity:.85}
.site-footer *{border-color:#e4dbd3!important}
.site-footer .site-info{text-align:center;border-top:1px solid #e4dbd3;padding:18px 0}
.site-footer .site-info,.site-footer .site-info p,.site-footer .site-info a{font-size:.85rem;color:#6b6f75!important}
.site-footer .footer-info-right{display:none!important}
.site-footer .copyright::after{content:" · All rights reserved."}
/* === Sidebar === */
#secondary .widget{border:1px solid #eee4dc;border-radius:14px;padding:1.2rem 1.3rem;margin-bottom:1.4rem;background:#fff}
#secondary h3{font-size:1.15rem;color:#1D2327;margin:0 0 .7rem;padding-bottom:.4rem;border-bottom:2px solid #AE5340;display:inline-block}
#secondary p{font-size:.92rem;line-height:1.6;margin:0 0 .6rem}
#secondary a{color:#AE5340}
#secondary .sc-about{text-align:left}
#secondary .sc-sign a{font-weight:700}
#secondary .wp-block-search__label{font-weight:700;color:#1D2327;margin-bottom:.5rem;display:block}
#secondary .wp-block-search__input{border:1px solid #e6ddd6;border-radius:999px;padding:.55rem .9rem}
#secondary .wp-block-search__button{background:#AE5340;color:#fff;border:0;border-radius:999px;padding:.55rem 1.1rem;font-weight:700}
#secondary .wp-block-latest-posts{padding:0;margin:0}
#secondary .wp-block-latest-posts li{display:flex;align-items:center;gap:.7rem;margin:0 0 .8rem;list-style:none}
#secondary .wp-block-latest-posts__featured-image{margin:0!important;float:none!important;flex:0 0 64px}
#secondary .wp-block-latest-posts__featured-image img{width:64px!important;height:64px!important;object-fit:cover;border-radius:8px;background:#F8EDE5}
#secondary .wp-block-latest-posts__post-title{color:#1D2327;font-weight:600;font-size:.9rem;line-height:1.35;text-decoration:none}
#secondary .wp-block-latest-posts__post-title:hover{color:#AE5340}
#secondary .wp-block-categories{padding:0;margin:0;list-style:none}
#secondary .wp-block-categories li{padding:.35rem 0;border-bottom:1px dashed #eee4dc;font-size:.92rem}
#secondary .wp-block-categories li a{color:#1D2327;text-decoration:none}
#secondary .wp-block-categories li a:hover{color:#AE5340}
/* Pinterest Save box: only on single posts (hide the empty widget card elsewhere) */
body:not(.single-post) #block-8{display:none!important}
#block-8:not(:has(.sc-pin-save)){display:none!important}
/* Sidebar search bar: no card around it */
#secondary #block-16{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin-bottom:18px!important}
#secondary #block-16:before,#secondary #block-16:after{display:none!important}
/* Menu search: simple icon next to About Us, opens on click */
.site-navigation .sc-menu-search{margin:0 0 0 14px!important;display:inline-flex!important;align-items:center;vertical-align:middle;float:none!important;width:auto!important}
.site-navigation .sc-menu-search form{position:relative;border:0!important;background:transparent!important;overflow:visible!important;height:38px;width:auto!important}
.site-navigation .sc-menu-search input{width:38px!important;height:38px;margin:0;padding:0 0 0 38px!important;border:1.5px solid transparent!important;border-radius:999px!important;background:transparent!important;cursor:pointer;font-size:.9rem!important;color:#1f1f1f;letter-spacing:0;transition:width .25s ease,border-color .25s,background .25s;-webkit-appearance:none;appearance:none}
.site-navigation .sc-menu-search input::placeholder{color:transparent}
.site-navigation .sc-menu-search input:hover{background:#f7f0ea!important}
.site-navigation .sc-menu-search input:focus{width:210px!important;cursor:text;border-color:#e2d3c8!important;background:#fff!important;padding:0 14px 0 38px!important}
.site-navigation .sc-menu-search input:focus::placeholder{color:#9a8f88}
.site-navigation .sc-menu-search button{position:absolute;left:0;top:0;width:38px;height:38px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#1f1f1f!important;display:flex;align-items:center;justify-content:center;pointer-events:none}
.site-navigation .sc-menu-search form:focus-within button{color:#b35a45!important}
@media (max-width:900px){.site-navigation .sc-menu-search{margin:10px 0!important}.site-navigation .sc-menu-search form{width:100%!important}.site-navigation .sc-menu-search input,.site-navigation .sc-menu-search input:focus{width:100%!important;border-color:#e2d3c8!important;background:#fff!important;padding:0 14px 0 38px!important}.site-navigation .sc-menu-search input::placeholder{color:#9a8f88}}
/* Mobile drawer: sub-menu links in black */
@media (max-width:900px){html body .site-navigation .sub-menu li:not(.mm-head):not(.sc-viewall)>a{color:#1D2327!important;font-weight:500!important}html body .site-navigation .sub-menu li:not(.mm-head):not(.sc-viewall)>a:hover,html body .site-navigation .sub-menu li.current-menu-item:not(.mm-head)>a{color:#B5533C!important}}
/* hide theme credit in footer */
.site-info .footer-info-right{display:none!important}

/* === Mobile home: less space above slider, shorter slider so posts show === */
@media (max-width:768px){
body.home .site-content{padding-top:12px!important}
body.home .sc-hero{margin-bottom:16px!important}
body.home .sc-slide img{aspect-ratio:4/5!important;height:auto!important;object-fit:cover!important;object-position:center top}
}
/* Mobile slider: compact text so it doesn't cover faces */
@media (max-width:768px){
body.home .sc-capwrap{padding-top:8px!important}
body.home .sc-cap .sc-eyebrow{font-size:9px!important;padding:4px 10px!important;margin:0 0 4px!important}
body.home .sc-cap h2{font-size:22px!important;line-height:1.15!important;margin:0!important}
body.home .sc-cap p{display:none!important}
}

/* Mobile slider: full width, right under the header */
@media (max-width:768px){
body.home .site-content{padding-top:0!important}
body.home .sc-hero-wrap{padding:0!important;width:100vw!important;max-width:100vw!important;margin:0 0 0 calc(50% - 50vw)!important}
body.home .sc-hero{border-radius:0!important;margin:0 0 20px!important;max-width:none!important}
body.home .sc-slide:first-child .sc-capwrap{padding-top:14px!important}
body.home .sc-slide:first-child .sc-cap h2{font-size:30px!important}
body.home .sc-slide:first-child .sc-cap h2 em{font-size:34px!important}
}
/* Desktop slider: full width under the menu, a bit shorter */
@media (min-width:769px){
body.home .site-content{padding-top:0!important}
body.home .sc-hero-wrap{padding:0!important;width:100vw!important;max-width:100vw!important;margin:0 0 0 calc(50% - 50vw)!important}
body.home .sc-hero{border-radius:0!important;margin:0 0 40px!important;max-width:none!important;height:clamp(420px,36vw,560px)!important}
body.home .sc-hero-track,body.home .sc-slide,body.home .sc-slide picture,body.home .sc-slide img{height:100%!important}
body.home .sc-slide img{object-fit:cover!important;object-position:center top!important}
body.home .sc-capwrap{padding-left:max(48px,calc((100vw - 1240px)/2))!important;padding-right:max(48px,calc((100vw - 1240px)/2))!important;box-sizing:border-box;background:linear-gradient(90deg,rgba(248,237,229,.8) 0%,rgba(248,237,229,.45) 35%,rgba(248,237,229,0) 58%)!important}
body.home .sc-slide:first-child .sc-cap h2 em{display:block;font-size:1.12em}
}
/* Mobile: clean home (no sidebar) + pro footer + pagination */
@media (max-width:768px){
body.home aside#secondary.featured-sidebar{display:none!important}
.site-footer .inner{padding-left:20px!important;padding-right:20px!important}
.site-footer .supplementary{padding-top:36px!important;padding-bottom:4px!important}
.site-footer .supplementary .grid{display:grid!important;grid-template-columns:1fr 1fr;gap:26px 18px}
.site-footer .supplementary .grid::before,.site-footer .supplementary .grid::after{display:none!important;content:none!important}
.site-footer .supplementary .one-fourth{width:auto!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
.site-footer .supplementary .one-fourth:empty{display:none!important}
.site-footer .supplementary .one-fourth:first-child{grid-column:1/-1;text-align:center;padding-bottom:26px!important;border-bottom:1px solid #e4dbd3}
.site-footer .sc-foot-logo-link{display:inline-block}
.site-footer .sc-foot-logo-link img{max-width:170px!important;margin:0 auto 14px!important}
.site-footer .sc-foot-brand p{font-size:.9rem!important;line-height:1.6!important;max-width:300px;margin:0 auto .55rem!important}
.site-footer .sc-foot-mail{font-size:.92rem!important}
.site-footer .sc-foot h4{font-size:.72rem!important;font-weight:800!important;letter-spacing:.16em;text-transform:uppercase;color:#AE5340!important;margin:0 0 .85rem!important}
.site-footer .sc-foot li{margin:0 0 .6rem!important;font-size:.9rem!important;line-height:1.35}
.site-footer .site-info{padding:16px 0 22px!important;margin-top:22px}
.site-footer .site-info,.site-footer .site-info p{font-size:.76rem!important;text-align:center}
body.home .nav-links .page-numbers{border-radius:999px!important;background:#F8EDE5!important;color:#1D2327!important;font-weight:700}
body.home .nav-links .page-numbers.current{background:#AE5340!important;color:#fff!important}
}
/* Desktop home: posts as a 2-column card grid */
@media (min-width:851px){
body.home .main-has-sidebar{display:grid!important;gap:28px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.home .main-has-sidebar>*:not(article){grid-column:1/-1}
body.home .main-has-sidebar>article{margin:0!important;padding:0!important;background:#fff;border:1px solid #eee4dc;border-radius:16px;overflow:hidden;box-shadow:0 4px 14px rgba(29,35,39,.05);transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column}
body.home .main-has-sidebar>article:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(29,35,39,.12)}
body.home article .post-thumbnail{display:block;margin:0!important;aspect-ratio:3/2;overflow:hidden;background:#F8EDE5}
body.home article .post-thumbnail img{width:100%!important;height:100%!important;object-fit:cover;display:block;margin:0!important;border-radius:0!important;transition:transform .4s ease}
body.home article:hover .post-thumbnail img{transform:scale(1.03)}
body.home article .entry-header{padding:16px 20px 0!important;margin:0!important;text-align:left}
body.home article .entry-title{font-size:1.08rem!important;line-height:1.35!important;margin:0 0 8px!important}
body.home article .entry-title a{color:#1D2327!important}
body.home article .entry-meta{font-size:.72rem!important;letter-spacing:.08em;text-transform:uppercase;margin:0!important}
body.home article .entry-meta .posted-on,body.home article .entry-meta .comments-link,body.home article .entry-meta .edit-link{display:none!important}
body.home article .entry-content{padding:8px 20px 20px!important;margin:0!important;font-size:.9rem;color:#666}
body.home article .entry-content p{margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.home article .entry-content .more-link{display:none}
}
/* Desktop home pagination */
@media (min-width:851px){
body.home .nav-links .page-numbers{border-radius:999px!important;background:#F8EDE5!important;color:#1D2327!important;font-weight:700}
body.home .nav-links .page-numbers.current{background:#AE5340!important;color:#fff!important}
body.home .nav-links .page-numbers:not(.current):hover{background:#1D2327!important;color:#fff!important}
}
/* Home grid: cards keep their natural height (no stretch to sidebar height) */
@media (min-width:851px){body.home .main-has-sidebar{align-content:start!important;align-self:flex-start!important}}
/* Tutorials mega menu: wider, one line per link (no big gaps between rows) */
@media (min-width:1000px){.site-navigation li.menu-item-116>.sub-menu{width:920px!important;column-gap:28px!important}.site-navigation li.menu-item-116>.sub-menu a{white-space:nowrap!important}}
/* Sidebar free-gift box: form overrides */
#block-9 .sc-gift form.sc-nl-form .sc-nl-row input[type="email"]{width:100%!important;box-sizing:border-box!important;background-color:#fff!important;border:1.5px solid #e6d6ca!important;border-radius:12px!important;padding:13px 14px 13px 42px!important;font-size:15px!important;color:#1D2327!important;box-shadow:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AE5340' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:14px center!important;background-size:18px!important}
#block-9 .sc-gift form.sc-nl-form .sc-nl-row input[type="email"]:focus{outline:0!important;border-color:#AE5340!important;box-shadow:0 0 0 4px rgba(174,83,64,.12)!important}
#block-9 .sc-gift form.sc-nl-form .sc-nl-row button{border-radius:12px!important;background:#1D2327!important}
#block-9 .sc-gift form.sc-nl-form .sc-nl-row button:hover{background:#AE5340!important}
/* === Search results: same clean card for patterns and tutorials === */
body.search .page-header{text-align:left;margin:0 0 18px!important}
body.search .page-header .page-title{font-size:1.5rem;color:#1D2327}
body.search .page-content .search-form{margin-bottom:24px}
body.search .main-has-sidebar>article{position:relative;display:block;margin:0 0 18px!important;padding:18px 20px 18px 238px!important;min-height:178px;box-sizing:border-box;background:#fff;border:1px solid #eee4dc;border-radius:16px;box-shadow:0 4px 14px rgba(29,35,39,.05);text-align:left!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.search .main-has-sidebar>article:hover{transform:translateY(-3px);border-color:#AE5340;box-shadow:0 12px 26px rgba(29,35,39,.11)}
body.search .main-has-sidebar>article::after{content:none!important}
body.search article .entry-header,body.search article .entry-content,body.search article .entry-content p{position:static!important;text-align:left!important;margin:0!important;padding:0!important;max-width:none!important}
body.search article .entry-title{font-size:1.15rem!important;line-height:1.35!important;margin:0 0 6px!important;text-align:left!important}
body.search article .entry-title a{color:#1D2327!important;text-decoration:none}
body.search article .entry-title a:hover{color:#AE5340!important}
body.search article .entry-meta{font-size:.72rem!important;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px!important;text-align:left!important}
body.search article .entry-meta .posted-on,body.search article .entry-meta .entry-author,body.search article .entry-meta .comments-link{display:none!important}
body.search article .entry-content{font-size:.92rem;line-height:1.6;color:#666}
body.search article .entry-content p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.search article .sc-search-thumb-link{position:absolute!important;left:18px;top:18px;bottom:18px;width:200px;margin:0!important;border-radius:12px;overflow:hidden;background:#F8EDE5;display:block}
body.search article .sc-search-thumb-link img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:left center;display:block;margin:0!important;border-radius:0!important;transition:transform .4s ease}
body.search article:hover .sc-search-thumb-link img{transform:scale(1.04)}
body.search article:not(:has(.sc-search-thumb-link)){padding-left:20px!important;min-height:0;border-left:4px solid #AE5340}
body.search article .more-link{display:none}
@media (max-width:600px){
body.search .main-has-sidebar>article{padding:14px 14px 14px 128px!important;min-height:120px}
body.search article .sc-search-thumb-link{left:12px;top:14px;bottom:auto;width:104px;height:92px}
body.search article .entry-title{font-size:1rem!important}
body.search article .entry-meta{display:none}
body.search article .entry-content p{-webkit-line-clamp:2;font-size:.85rem}
}


/* Sewing Tools menu: same icon colors as the home tools apps (all languages) */
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(2)>a::before{background-color:#9B4F6A!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(3)>a::before{background-color:#AE5340!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(4)>a::before{background-color:#1D2327!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(5)>a::before{background-color:#B9822B!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(6)>a::before{background-color:#5E7B6A!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculator"])>li:nth-child(7)>a::before{background-color:#AE5340!important}

/* same colors for FR (calculateur) and DE (rechner) tools menus */
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(2)>a::before{background-color:#9B4F6A!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(3)>a::before{background-color:#AE5340!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(4)>a::before{background-color:#1D2327!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(5)>a::before{background-color:#B9822B!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(6)>a::before{background-color:#5E7B6A!important}
html body .site-navigation .sub-menu:has(> li > a[href*="calculateur"], > li > a[href*="rechner"])>li:nth-child(7)>a::before{background-color:#AE5340!important}


/* Tutorials menu: black icon tiles (all languages), matching the black & white tutorial covers */
html body .site-navigation .sub-menu:has(a[href*="body-measurements"], a[href*="prendre-ses-mesures"], a[href*="koerpermasse"], a[href*="lichaamsmaten"]) li > a::before{background-color:#111315!important}
/* Finish seams: add its icon like the other tutorials */
html body .site-navigation li#menu-item-2260 > a{display:flex!important;align-items:center;column-gap:11px}
html body .site-navigation li#menu-item-2260 > a::before{content:""!important;display:block!important;flex:0 0 auto;width:32px;height:32px;border-radius:9px;background-color:#111315!important;background-repeat:no-repeat;background-position:50% 50%;background-size:20px 20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 6v28'/%3E%3Cpath d='M18 7l7 3.5-7 3.5 7 3.5-7 3.5 7 3.5-7 3.5 7 3.5-7 3.5'/%3E%3C/g%3E%3C/svg%3E")}


/* === Tutorials: black & white theme (replaces the old green), pages + hub + menu, all languages === */
.pp-post.sc-tutorial:not(.sc-tool){--pp-navy:#111315!important;--pp-rose:#111315!important;--pp-cream:#F1F1F1!important;--pp-muted:#555!important}
body:has(.sc-tutorial:not(.sc-tool)) .entry-title{color:#111315!important}
body:has(.sc-tutorial:not(.sc-tool)) .entry-title::before{color:#111315!important;background-color:#F1F1F1!important;border-color:#DCDCDC!important}
.sc-tutorial:not(.sc-tool) .pp-facts p,.sc-tutorial:not(.sc-tool) .pp-facts .wp-block-group__inner-container>p{box-shadow:0 1px 3px rgba(17,19,21,.06)!important;color:#111315!important;border-color:#DCDCDC!important}
.sc-tutorial:not(.sc-tool) .pp-facts strong,.sc-tutorial:not(.sc-tool) h2.wp-block-heading,.sc-tutorial:not(.sc-tool) h3.wp-block-heading,.sc-tutorial:not(.sc-tool) .pp-table tbody td:first-child,.sc-tutorial:not(.sc-tool) .pp-faq summary,.sc-tutorial:not(.sc-tool) .pp-faq[open] summary,.sc-tutorial:not(.sc-tool) .pp-closing{color:#111315!important}
.sc-tutorial:not(.sc-tool) h2.wp-block-heading::before{background-image:linear-gradient(#A1A1A1,#111315)!important}
.sc-tutorial:not(.sc-tool) .pp-banner{background-image:linear-gradient(135deg,#111315 0%,#2B2E31 100%)!important;box-shadow:0 10px 26px rgba(17,19,21,.2)!important}
.sc-tutorial:not(.sc-tool)>.wp-block-group__inner-container>ol:not(.pp-steps)>li::before{background-color:#111315!important}
.sc-tutorial:not(.sc-tool) ul li::marker{color:#111315!important}
.sc-tutorial:not(.sc-tool) .pp-table table{border-color:#DCDCDC!important}
.sc-tutorial:not(.sc-tool) .pp-table thead th,.sc-tutorial:not(.sc-tool) .pp-table thead th:first-child{background-color:#111315!important}
.sc-tutorial:not(.sc-tool) .pp-table tbody td{border-top-color:#E8E8E8!important}
.sc-tutorial:not(.sc-tool) .pp-note{background-color:#F1F1F1!important;color:#111315!important;border-left-color:#111315!important}
.sc-tutorial:not(.sc-tool) .pp-card{box-shadow:0 12px 32px rgba(17,19,21,.07)!important;border-color:#DCDCDC!important;border-top-color:#111315!important}
.sc-tutorial:not(.sc-tool) .pp-faq{border-color:#DCDCDC!important}
.sc-tutorial:not(.sc-tool) .pp-faq summary::after{background-color:#F1F1F1!important;color:#111315!important}
.sc-tutorial:not(.sc-tool) .pp-faq[open]{box-shadow:0 10px 26px rgba(17,19,21,.07)!important;border-color:#B8B8B8!important}
.sc-tutorial:not(.sc-tool) .pp-faq[open] summary::after{background-color:#111315!important;color:#fff!important}
.sc-tutorial:not(.sc-tool) a:not(.wp-block-button__link):not(.pp-kofi-btn):not(.sc-morenav-card){color:#111315!important;text-decoration-color:rgba(17,19,21,.35)!important}
.sc-tutorial:not(.sc-tool) a:not(.wp-block-button__link):not(.pp-kofi-btn):not(.sc-morenav-card):hover{color:#555!important}
.sc-tutorial:not(.sc-tool) .wp-block-button__link{background-color:#111315!important}
.sc-tutorial:not(.sc-tool) .wp-block-button__link:hover{background-color:#3A3D40!important}
.sc-tutorial:not(.sc-tool) .sc-fig [fill="#C08497"]{fill:#757575!important}
.sc-tutorial:not(.sc-tool) .sc-fig [stroke="#C08497"]{stroke:#757575!important}
.sc-tutorial:not(.sc-tool) .sc-fig [fill="#E9D3DA"]{fill:#DCDCDC!important}
.sc-tutorial:not(.sc-tool) .sc-fig [fill="#2C3E50"]{fill:#111315!important}
.sc-tutorial:not(.sc-tool) .sc-fig [stroke="#2C3E50"]{stroke:#111315!important}
/* sidebar on tutorial pages + hub */
body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-find form button,body:has(.sc-hub) #secondary .sc-find form button,body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-team-avatar,body:has(.sc-hub) #secondary .sc-team-avatar,body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-gift-eyebrow,body:has(.sc-hub) #secondary .sc-gift-eyebrow,body:has(.sc-tutorial:not(.sc-tool)) #secondary a.sc-team-kofi:hover,body:has(.sc-hub) #secondary a.sc-team-kofi:hover{background-color:#111315!important}
body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-team-sign em,body:has(.sc-hub) #secondary .sc-team-sign em,body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-br-top,body:has(.sc-hub) #secondary .sc-br-top,body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-team-sign a,body:has(.sc-hub) #secondary .sc-team-sign a{color:#111315!important}
body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-widget h3.wp-block-heading,body:has(.sc-hub) #secondary .sc-widget h3.wp-block-heading{border-bottom-color:#111315!important}
body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-team-checks,body:has(.sc-hub) #secondary .sc-team-checks,body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-find form,body:has(.sc-hub) #secondary .sc-find form{background-color:#F1F1F1!important;border-color:#DCDCDC!important}
body:has(.sc-tutorial:not(.sc-tool)) #secondary a.sc-team-kofi,body:has(.sc-hub) #secondary a.sc-team-kofi{color:#111315!important;border-color:#111315!important}
body:has(.sc-tutorial:not(.sc-tool)) #secondary a.sc-team-kofi:hover,body:has(.sc-hub) #secondary a.sc-team-kofi:hover{color:#fff!important}
/* hub page (Tutorials / Tutoriels / Nähanleitungen / Naaihandleidingen) */
body .sc-hub .sc-thero{background:linear-gradient(135deg,#F4F4F4,#EAEAEA)!important}
body .sc-hub .sc-eyebrow,body .sc-hub p.sc-eyebrow,html body .sc-hub .sc-thero .sc-eyebrow,body .sc-hub ol.sc-checklist li::before{background-color:#111315!important;color:#fff!important}
body .sc-hub .sc-thero h2,body .sc-hub h2.sc-sec,body .sc-hub .sc-tcard-step,body .sc-hub .sc-tcard-more,body .sc-hub .sc-tcard h3,body .sc-hub .sc-box h2,body .sc-hub .sc-tools strong,body .sc-hub .pp-faq summary,body .sc-hub .pp-faq[open] summary{color:#111315!important}
body .sc-hub ul.sc-pills li{color:#111315!important;border-color:#DCDCDC!important}
body .sc-hub .sc-jump a{background:#111315!important;color:#fff!important}
body .sc-hub .sc-jump a:hover{background:#3A3D40!important}
body .sc-hub .sc-jump a.sc-ghost{background:#fff!important;color:#111315!important;border-color:#CACACA!important}
body .sc-hub .sc-jump a.sc-ghost:hover{border-color:#111315!important;color:#111315!important}
body .sc-hub h2.sc-sec{border-bottom-color:#111315!important}
body .sc-hub a.sc-tcard{border-color:#E3E3E3!important}
body .sc-hub a.sc-tcard:hover{box-shadow:0 14px 30px rgba(17,19,21,.14)!important;border-color:#111315!important}
body .sc-hub .sc-tcard-img{background:#F1F1F1!important}
body .sc-hub .sc-box{border-color:#E3E3E3!important;border-left-color:#111315!important}
body .sc-hub ol.sc-checklist li{border-bottom-color:#E3E3E3!important}
body .sc-hub .sc-tools li{background:#F4F4F4!important}
body .sc-hub .sc-cta{background:#111315!important}
body .sc-hub .sc-cta .sc-jump a{background:#fff!important;color:#111315!important;border:1.5px solid #fff!important}
body .sc-hub .sc-cta .sc-jump a:hover{background:#E6E6E6!important;color:#111315!important}
body .sc-hub .sc-cta .sc-jump a.sc-ghost{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.5)!important}
body .sc-hub .sc-cta .sc-jump a.sc-ghost:hover{border-color:#fff!important;color:#fff!important}
body .sc-hub .pp-faq{border-color:#DCDCDC!important}
/* Tutorials menu (all languages): no more green */
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]) li:not(.mm-head)>a:hover,html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]) li.current-menu-item:not(.mm-head)>a{background-color:#F1F1F1!important;color:#111315!important}
@media (min-width:769px){
html body .site-navigation li>.sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]){border-top-color:#111315!important;box-shadow:0 26px 50px -22px rgba(17,19,21,.45)!important}
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]) li.mm-head a{color:#111315!important;border-bottom-color:#111315!important}
}

body:has(.sc-tutorial:not(.sc-tool)) #secondary .sc-team-sign a,body:has(.sc-hub) #secondary .sc-team-sign a{border-bottom-color:#111315!important}
/* Tutorials menu: same rules with id-level weight so they beat the old green */
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw) li:not(.mm-head)>a{color:#111315!important}
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw) li:not(.mm-head)>a:hover,html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw) li.current-menu-item:not(.mm-head)>a{background-color:#F1F1F1!important;color:#111315!important}
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw) li>a::before{background-color:#111315!important}
html body .site-navigation .sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw) li.mm-head a{color:#111315!important;border-bottom-color:#111315!important}
html body .site-navigation li:not(#_bw)>.sub-menu:has(a[href*="body-measurements"],a[href*="prendre-ses-mesures"],a[href*="koerpermasse"],a[href*="lichaamsmaten"]):not(#_bw){border-top-color:#111315!important;box-shadow:0 26px 50px -22px rgba(17,19,21,.45)!important}


/* === Footer dark (Nov 2026) === */
.site-footer{background:#0d0d0d!important;border-top:0!important}
.site-footer *{border-color:#262626!important}
.site-footer,.site-footer p,.site-footer li,.site-footer span,.site-footer div{color:#a8a19c!important}
.site-footer .supplementary{padding-top:40px!important;padding-bottom:20px!important}
@media (min-width:851px){.site-footer .supplementary .grid{grid-template-columns:1.4fr 1fr 1fr!important;gap:40px!important;align-items:start}}
.site-footer .sc-fb{text-align:left!important}
.site-footer .sc-fb .sc-fb-logo{margin:0 0 12px!important}
.site-footer .sc-fb .sc-fb-logo img{width:170px!important}
.site-footer .sc-fb .sc-fb-tag{margin:0!important;max-width:280px!important;font-size:13.5px!important;line-height:1.6!important;color:#a8a19c!important}
.site-footer .sc-fb .sc-follow{display:none!important}
.site-footer .sc-fb .sc-social{justify-content:flex-start!important;gap:9px!important;margin-top:16px!important}
.site-footer .sc-social a{width:34px!important;height:34px!important}
.site-footer .sc-social a svg{width:17px!important;height:17px!important}
.site-footer .sc-social a[aria-label*="Facebook"] svg{width:21px!important;height:21px!important}
.site-footer .sc-social a[aria-label*="TikTok"] svg{width:18px!important;height:18px!important}
.site-footer .sc-foot h4{color:#fff!important;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;margin:4px 0 14px!important}
.site-footer .sc-foot li{margin:0 0 9px!important;font-size:14px!important;line-height:1.4!important}
.site-footer .sc-foot a{color:#a8a19c!important}
.site-footer .sc-foot a:hover{color:#fff!important}
.site-footer .site-info{border-top:1px solid #262626!important;padding:14px 0 16px!important;margin-top:0!important}
.site-footer .site-info,.site-footer .site-info p,.site-footer .site-info a{font-size:12px!important;color:#7d7671!important}
.site-footer .copyright::after{content:" · All rights reserved · Operated by BENCHCRAFTIX LLC, 8206 Louisiana Blvd NE, Ste A #11165, Albuquerque, NM 87113, USA"!important}
.site-footer .scroll-to-top,.site-footer [class*="back-to-top"]{color:#fff!important}
@media (max-width:768px){
.site-footer .supplementary{padding-top:28px!important}
.site-footer .supplementary .one-fourth:first-child{text-align:center!important;border-bottom:1px solid #262626!important;padding-bottom:20px!important}
.site-footer .sc-fb{text-align:center!important}
.site-footer .sc-fb .sc-social{justify-content:center!important;margin-top:0!important}
.site-footer .sc-foot h4{font-size:11px!important}
.site-footer .site-info,.site-footer .site-info p{font-size:11.5px!important;line-height:1.6!important}
}

.site-footer .sc-social a[aria-label*="TikTok"]{box-shadow:inset 0 0 0 1px #3a3a3a!important}

/* Tutorials mega menu: "All sewing tutorials" footer link */
@media (min-width:901px){
html body .site-navigation li.sc-mega > .sub-menu > li.mm-all{grid-column:1/-1!important;grid-row:auto!important;order:99!important;margin-top:6px!important}
html body .site-navigation li.sc-mega > .sub-menu > li.mm-all > a{display:flex!important;justify-content:space-between!important;align-items:center!important;background:transparent!important;color:#1f1f1f!important;border-top:1px solid #ececec!important;border-radius:0!important;padding:14px 10px 4px!important;font-weight:700!important;font-size:.95rem!important;text-transform:none!important;letter-spacing:0!important}
html body .site-navigation li.sc-mega > .sub-menu > li.mm-all > a::before{display:none!important}
html body .site-navigation li.sc-mega > .sub-menu > li.mm-all > a::after{content:"\2192"!important;display:inline-block!important;position:static!important;color:#1f1f1f!important;font-size:1.15rem!important;transform:none!important;border:0!important;width:auto!important;height:auto!important;background:none!important}
html body .site-navigation li.sc-mega > .sub-menu > li.mm-all > a:hover{color:#7a7a7a!important;background:transparent!important}
}

@media (min-width:901px){html body .site-navigation li.sc-mega > .sub-menu > li.mm-all{max-width:none!important;width:auto!important;border-bottom:0!important}}
@media (min-width:901px){
html body .site-navigation .menu-wrap li.sc-mega > .sub-menu > li.mm-all.mm-all > a,
html body .site-navigation .menu-wrap li.sc-mega > .sub-menu > li.mm-all.mm-all > a:hover,
html body .site-navigation .menu-wrap li.sc-mega > .sub-menu > li.mm-all.mm-all > a:focus,
html body .site-navigation .menu-wrap li.sc-mega > .sub-menu > li.mm-all.current-menu-item > a,
html body .site-navigation .menu-wrap li.sc-mega > .sub-menu > li.mm-all.current_page_item > a,
html body .site-navigation li[id^="menu-item-"].sc-mega > .sub-menu > li[id^="menu-item-"].mm-all > a,
html body .site-navigation li[id^="menu-item-"].sc-mega > .sub-menu > li[id^="menu-item-"].mm-all > a:hover,
html body .site-navigation li[id^="menu-item-"].sc-mega > .sub-menu > li[id^="menu-item-"].mm-all.current-menu-item > a{background:transparent!important;background-color:transparent!important;box-shadow:none!important;padding:14px 10px 4px!important}
html body .site-navigation li[id^="menu-item-"].sc-mega > .sub-menu > li[id^="menu-item-"].mm-all{background:transparent!important}
}
html body .site-navigation .sub-menu:not(#_m1):not(#_m2):not(#_m3) > li.mm-all.mm-all > a,html body .site-navigation .sub-menu:not(#_m1):not(#_m2):not(#_m3) > li.mm-all.mm-all > a:hover,html body .site-navigation .sub-menu:not(#_m1):not(#_m2):not(#_m3) > li.mm-all.mm-all > a:focus{background:transparent!important;background-color:transparent!important;box-shadow:none!important}

/* Footer refund link per language */
.sc-rl-fr,.sc-rl-de,.sc-rl-nl{display:none!important}
html:lang(fr) .sc-rl-en,html:lang(de) .sc-rl-en,html:lang(nl) .sc-rl-en{display:none!important}
html:lang(fr) .sc-rl-fr,html:lang(de) .sc-rl-de,html:lang(nl) .sc-rl-nl{display:inline!important}


/* === Patterns mega menu v3 (8 Nov 2026): Women in 2 columns + Men / Kids photo cards, all languages === */
@media (min-width:769px){
html body .site-navigation li.sc-mega>.sub-menu>li.mm-r2{grid-row:2!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-r3{grid-row:3!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-r4{grid-row:4!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-r5{grid-row:5!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-all{grid-column:1/-1!important;grid-row:6!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-label>a{pointer-events:none;cursor:default}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card{grid-row-end:span 1;margin:0 0 10px!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-card>a{display:grid!important;grid-template-columns:76px 1fr!important;grid-template-rows:1fr 1fr!important;column-gap:14px!important;align-items:center!important;background:#F8EDE5!important;border-radius:14px!important;padding:9px!important;font-size:1rem!important;font-weight:700!important;color:#1D2327!important;line-height:1.2!important;white-space:normal!important;transition:box-shadow .15s,background .15s}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-card>a:hover{background:#F3E1D5!important;color:#AE5340!important;box-shadow:inset 0 0 0 1.5px #AE5340}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-card>a::before{content:""!important;display:block!important;position:static!important;grid-column:1;grid-row:1/3;width:76px!important;height:76px!important;border-radius:12px!important;border:0!important;transform:none!important;background-color:#fff!important;background-size:cover!important;background-repeat:no-repeat!important;background-position:center 15%!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-men>a::before{background-image:url(https://cdn.jsdelivr.net/gh/tarikben031-maker/sewcraftly-images@3b2a53b/home/circles/free-mens-sewing-patterns.jpg)!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-kids>a::before{background-image:url(https://cdn.jsdelivr.net/gh/tarikben031-maker/sewcraftly-images@3b2a53b/home/circles/free-kids-sewing-patterns-girls-boys.jpg)!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-card>a::after{display:block!important;position:static!important;grid-column:2;grid-row:2;align-self:start;width:auto!important;height:auto!important;background:none!important;border:0!important;transform:none!important;font-size:.76rem!important;font-weight:500!important;color:#8a7d75!important;letter-spacing:0!important;text-transform:none!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-men>a::after{content:"All men's patterns"!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-kids>a::after{content:"All kids' patterns"!important}
html:lang(fr) body .site-navigation li.sc-mega>.sub-menu>li.mm-men>a::after{content:"Tous les patrons homme"!important}
html:lang(fr) body .site-navigation li.sc-mega>.sub-menu>li.mm-kids>a::after{content:"Tous les patrons enfant"!important}
html:lang(de) body .site-navigation li.sc-mega>.sub-menu>li.mm-men>a::after{content:"Alle Herren-Schnittmuster"!important}
html:lang(de) body .site-navigation li.sc-mega>.sub-menu>li.mm-kids>a::after{content:"Alle Kinder-Schnittmuster"!important}
html:lang(nl) body .site-navigation li.sc-mega>.sub-menu>li.mm-men>a::after{content:"Alle herenpatronen"!important}
html:lang(nl) body .site-navigation li.sc-mega>.sub-menu>li.mm-kids>a::after{content:"Alle kinderpatronen"!important}
}
@media (max-width:768px){
html body .site-navigation .sub-menu li.mm-label>a{pointer-events:none}
}


@media (min-width:769px){
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-men.mm-r2{grid-row:2/4!important;align-self:center;margin:0!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card.mm-kids.mm-r3{grid-row:4/6!important;align-self:center;margin:0!important}
}


@media (min-width:1000px){html[lang^="en"] body .site-navigation li.sc-mega:not(.sc-mega-2):not(.menu-item-116)>.sub-menu{width:860px!important}}


/* === Language switcher B1 (8 Nov 2026): white pill + black globe, all languages, desktop === */
@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item{display:inline-flex!important;align-items:center;align-self:center}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a{display:inline-flex!important;align-items:center;gap:7px;margin:0 0 0 6px!important;padding:7px 30px 7px 12px!important;border:1.5px solid #E2E2E2!important;border-radius:999px!important;background:#fff!important;color:#111315!important;line-height:1!important;transition:border-color .15s,color .15s}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a::after{display:none!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a::before{right:13px!important;width:5px!important;height:5px!important;border-width:1.8px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a .pll-switcher-flag{display:inline-block!important;width:16px;height:16px;flex:0 0 16px;background:no-repeat center/16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111315' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.6 9h16.8M3.6 15h16.8'/%3E%3Cpath d='M11.5 3a17 17 0 0 0 0 18M12.5 3a17 17 0 0 1 0 18'/%3E%3C/svg%3E")}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a .pll-switcher-flag img{display:none!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a .pll-switcher-label::after{font-size:13px!important;font-weight:700;letter-spacing:.1em!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item:hover>a,html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item:focus-within>a{border-color:#AE5340!important;color:#AE5340!important}
}


@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item{position:relative;top:4px;margin-left:16px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a{margin:0!important}
}


/* === Language dropdown: black & white code badges, all widths === */
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li>a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;text-align:left!important;color:#111315!important;font-weight:500!important}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li>a .pll-switcher-flag{display:flex!important;align-items:center;justify-content:center;width:30px!important;height:22px!important;flex:0 0 30px;border:1.5px solid #E2E2E2;border-radius:6px;box-sizing:border-box;font-size:10.5px;font-weight:700;letter-spacing:.06em;line-height:1;color:#111315;background:#fff}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li>a .pll-switcher-flag img{display:none!important}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.lang-item-en>a .pll-switcher-flag::before{content:"EN"}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.lang-item-fr>a .pll-switcher-flag::before{content:"FR"}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.lang-item-de>a .pll-switcher-flag::before{content:"DE"}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.lang-item-nl>a .pll-switcher-flag::before{content:"NL"}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.current-lang>a{background:#F4F4F4!important;font-weight:700!important}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.current-lang>a .pll-switcher-flag{background:#111315;border-color:#111315;color:#fff}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.current-lang>a::after{content:""!important;display:block!important;position:static!important;margin-left:auto!important;width:6px!important;height:11px!important;border:solid #111315!important;border-width:0 2px 2px 0!important;background:none!important;transform:rotate(45deg) translate(-2px,-2px)!important}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li:not(.current-lang)>a:hover{background:#F8EDE5!important;color:#AE5340!important}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li:not(.current-lang)>a:hover .pll-switcher-flag{border-color:#AE5340;color:#AE5340}
@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>.sub-menu{border-top-color:#111315!important;min-width:210px!important}
}
/* Mobile drawer: language row aligned left like the other items, globe icon */
@media (max-width:768px){
html body .site-navigation li.pll-parent-menu-item>a{justify-content:flex-start!important;gap:10px!important}
html body .site-navigation li.pll-parent-menu-item>a>*:last-child:not(.pll-switcher-label),html body .site-navigation li.pll-parent-menu-item>a::after{margin-left:auto!important}
html body .site-navigation li.pll-parent-menu-item>a .pll-switcher-flag{display:inline-block!important;width:18px!important;height:18px;flex:0 0 18px;background:no-repeat center/18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111315' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.6 9h16.8M3.6 15h16.8'/%3E%3Cpath d='M11.5 3a17 17 0 0 0 0 18M12.5 3a17 17 0 0 1 0 18'/%3E%3C/svg%3E")}
html body .site-navigation li.pll-parent-menu-item>a .pll-switcher-flag img{display:none!important}
html body .site-navigation li.pll-parent-menu-item>a .pll-switcher-label::after{font-size:15px!important;font-weight:700}
html body .site-navigation li.pll-parent-menu-item>.sub-menu>li>a{padding:11px 12px!important;border-radius:10px}
}


@media (max-width:768px){
html body .site-navigation li.pll-parent-menu-item.pll-parent-menu-item:not(#_x)>a:not(#_y){justify-content:flex-start!important}
html body .site-navigation li.pll-parent-menu-item.pll-parent-menu-item:not(#_x)>a:not(#_y)::after{margin-left:auto!important}
}


html body .site-navigation li.pll-parent-menu-item>.sub-menu>li.sc-viewall,html body .site-navigation li.pll-parent-menu-item>.sub-menu>li:not(.lang-item){display:none!important}


@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item{margin-left:8px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a{padding:6px 26px 6px 10px!important;gap:6px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item>a::before{right:11px!important}
}


@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item{position:relative!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>.sub-menu{top:calc(100% + 14px)!important;bottom:auto!important;left:auto!important;right:0!important;margin:0!important;transform:none!important;background:#fff!important;border:1px solid #E2E2E2!important;border-top:3px solid #111315!important;border-radius:0 0 12px 12px!important;box-shadow:0 14px 34px rgba(17,19,21,.14)!important;padding:8px!important;min-width:210px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-20px;height:20px}
}


/* Language switcher: no pill, same look and spacing as the other menu items (desktop) */
@media (min-width:769px){
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item{top:0!important;margin-left:0!important;align-self:auto}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>a{border:0!important;border-radius:0!important;background:transparent!important;padding:16px 18px 16px 0!important;gap:8px!important;color:#1D2327!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>a::before{right:2px!important;width:6px!important;height:6px!important;border-width:2px!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>a .pll-switcher-label::after{font-size:.82rem!important;font-weight:700!important;letter-spacing:.14em!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item:hover>a,html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item:focus-within>a{color:#AE5340!important}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item:hover>a .pll-switcher-flag{filter:invert(39%) sepia(48%) saturate(800%) hue-rotate(330deg) brightness(88%)}
html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item>.sub-menu{top:calc(100% + 2px)!important}
}


@media (min-width:769px){html body .site-navigation .menu-wrap>ul>li.pll-parent-menu-item.pll-parent-menu-item{position:relative!important;top:3px!important}}


/* Patterns mega: Pants/Shorts/Jackets stay in column 2 on desktop (class mm-c1 keeps them under Women in the mobile drawer) */
@media (min-width:769px){html body .site-navigation li.sc-mega>.sub-menu>li.mm-col2.mm-col2{grid-column:2!important}}
/* Mobile drawer: clear section titles and sub-items (all menus, all languages) */
@media (max-width:900px){
html body .site-navigation .sub-menu>li.mm-head:not(#_x)>a:not(#_y){color:#AE5340!important;opacity:1!important;font-weight:800!important;font-size:12.5px!important;letter-spacing:.14em!important}
html body .site-navigation .sub-menu>li:not(.mm-head):not(.sc-viewall):not(#_x)>a:not(#_y){color:#1D2327!important;opacity:1!important;font-weight:500!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-all:not(#_x)>a:not(#_y){color:#AE5340!important;font-weight:700!important;font-size:14px!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-all:not(#_x)>a:not(#_y)::after{content:" \2192";margin-left:4px}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card:not(#_x)>a:not(#_y){display:flex!important;align-items:center;gap:14px}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card:not(#_x)>a:not(#_y)::before{content:""!important;display:block!important;position:static!important;flex:0 0 44px;width:44px!important;height:44px!important;border-radius:50%!important;border:0!important;transform:none!important;background-color:#F8EDE5!important;background-size:cover!important;background-position:center 15%!important;box-shadow:0 0 0 2px #fff,0 0 0 3px #EADFD8}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-men:not(#_x)>a:not(#_y)::before{background-image:url(https://cdn.jsdelivr.net/gh/tarikben031-maker/sewcraftly-images@3b2a53b/home/circles/free-mens-sewing-patterns.jpg)!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-kids:not(#_x)>a:not(#_y)::before{background-image:url(https://cdn.jsdelivr.net/gh/tarikben031-maker/sewcraftly-images@3b2a53b/home/circles/free-kids-sewing-patterns-girls-boys.jpg)!important}
}


@media (max-width:900px){html body .site-navigation .sub-menu>li:not(#_x){opacity:1!important}}


@media (max-width:900px){
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card:not(#_x)>a:not(#_y){gap:11px!important;padding:9px 6px!important;font-size:15px!important}
html body .site-navigation li.sc-mega>.sub-menu>li.mm-card:not(#_x)>a:not(#_y)::before{flex:0 0 32px!important;width:32px!important;height:32px!important}
}


/* Tutorial promo (pattern posts), mobile: title > photo > text > price, no "What you get" list */
@media (max-width:781px){
body.single-post .pp-tut .pp-tut-cols:has(.pp-tut-img){display:flex!important;flex-direction:column!important;gap:0!important}
body.single-post .pp-tut .pp-tut-cols:has(.pp-tut-img)>.wp-block-column{display:contents!important}
body.single-post .pp-tut .pp-tut-cols .pp-buy-tag{order:1;align-self:flex-start}
body.single-post .pp-tut .pp-tut-cols .pp-tut-title{order:2}
body.single-post .pp-tut .pp-tut-cols .pp-tut-img{order:3;margin:.4rem 0 1.4rem!important}
body.single-post .pp-tut .pp-tut-cols .pp-tut-lead{order:4}
body.single-post .pp-tut .pp-tut-cols .scp-buyw{order:5}
body.single-post .pp-tut .pp-tut-cols .wp-block-buttons{order:6}
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab,body.single-post .pp-tut .pp-tut-cols ul.scp-wyg{display:none!important}
}


/* hidden helper widget (What you get toggle script) */
#secondary .widget:has(.sc-wyg-js){display:none!important}
/* Tutorial promo, mobile: "What you get" collapsed, opens on tap */
@media (max-width:781px){
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab{display:flex!important;order:7;align-self:stretch;align-items:center;justify-content:space-between;cursor:pointer;margin:14px 0 0!important;padding:12px 16px!important;border:1px solid #EADFD8;border-radius:12px!important;background:#fff!important;-webkit-tap-highlight-color:transparent}
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab::after{content:"";width:7px;height:7px;border-right:2px solid #AE5340;border-bottom:2px solid #AE5340;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab.is-open{border-radius:12px 12px 0 0!important;border-bottom-color:transparent}
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab.is-open::after{transform:translateY(2px) rotate(-135deg)}
body.single-post .pp-tut .pp-tut-cols ul.scp-wyg{order:8;margin:0!important;padding:4px 14px 6px!important;border:1px solid #EADFD8;border-top:0;border-radius:0 0 12px 12px}
body.single-post .pp-tut .pp-tut-cols .scp-wyg-lab.is-open+ul.scp-wyg{display:block!important}
}

/* NL mega menu: subtitle for Makkelijke patronen */
html body .site-navigation li.menu-item-has-children>.sub-menu>li#menu-item-2156:not(#_x)>a::after{content:"Ideaal om mee te beginnen"!important}

/* === Blog articles: compact pattern cards (category Blog) === */
.category-blog .entry-content figure.wp-block-image:has(> a){max-width:440px;margin:18px auto 14px!important;border-radius:16px;overflow:hidden;background:#fff;border:1px solid #EADFD8;box-shadow:0 6px 18px rgba(60,40,30,.08);transition:transform .2s ease,box-shadow .2s ease}
.category-blog .entry-content figure.wp-block-image:has(> a):hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(60,40,30,.13)}
.category-blog .entry-content figure.wp-block-image:has(> a) img{display:block;width:100%;height:auto;margin:0}
.category-blog .entry-content figure.wp-block-image:has(> a)+p+p{background:#FBF6F1;border-left:4px solid #B0542F;border-radius:0 12px 12px 0;padding:14px 18px;font-size:.95em;line-height:1.7}
.category-blog .entry-content > figure.wp-block-image:first-child img{border-radius:16px}
.category-blog .entry-content h3.wp-block-heading{margin-top:2.2em;padding-top:1.2em;border-top:1px solid #EFE6DF}
.category-blog .entry-content .wp-block-table table{border-collapse:separate;border-spacing:0;border:1px solid #EADFD8;border-radius:12px;overflow:hidden;font-size:.92em}
.category-blog .entry-content .wp-block-table th{background:#2B211C;color:#fff;padding:10px 12px;text-align:left}
.category-blog .entry-content .wp-block-table td{padding:9px 12px;border-top:1px solid #EFE6DF}
.category-blog .entry-content .wp-block-table tr:nth-child(even) td{background:#FBF6F1}
@media (max-width:600px){.category-blog .entry-content figure.wp-block-image:has(> a){max-width:86%}.category-blog .entry-content .wp-block-table{overflow-x:auto}}


/* Browse patterns: hide Blog, order Women > Men > Kids, cleaner groups (2026-11-09) */
.sc-br{display:flex!important;flex-direction:column}
.sc-br-group:has(> a.sc-br-top[href*="/category/blog"]){display:none!important}
.sc-br-group:has(> a.sc-br-top[href$="/category/women/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/femme/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/damen/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/dames/"]){order:1}
.sc-br-group:has(> a.sc-br-top[href$="/category/men/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/homme/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/herren/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/heren/"]){order:2}
.sc-br-group:has(> a.sc-br-top[href$="/category/kids/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/enfants/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/kinder/"]),.sc-br-group:has(> a.sc-br-top[href$="/category/kinderen/"]){order:3}
.sc-br .sc-br-group{margin:0!important;padding:14px 0;border-top:1px solid #f0e6de}
.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/women/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/femme/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/damen/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/dames/"]){border-top:0;padding-top:2px}
.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kids/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/enfants/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kinder/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kinderen/"]){padding-bottom:0}
.sc-br .sc-br-top{display:flex!important;align-items:center;justify-content:space-between;width:100%;margin:0 0 10px!important;font-size:13px!important;letter-spacing:.14em}
.sc-br .sc-br-top span{font-size:15px;transition:transform .2s}
.sc-br .sc-br-top:hover span{transform:translateX(3px)}
.sc-br .sc-br-chips{gap:7px}
.sc-br .sc-br-chips a{padding:6px 12px;font-size:13.5px!important;background:#faf6f2}


/* Fix 2026-11-12: Download A4 icon was dark on dark box in light mode */
html body.single-post .scp-dl a.scp-a4 .scp-ic,
html.sc-light body.single-post .scp-dl a.scp-a4 .scp-ic,
html.sc-dark body.single-post .scp-dl a.scp-a4 .scp-ic{color:#fff!important}
html body.single-post .scp-dl a.scp-a4 .scp-ic svg{stroke:#fff!important}


/* 2026-11-12: compact sticky "Free gift" card (was 635px tall, cut off when sticky) */
#block-9 .sc-gift .sc-gift-top{padding:16px 18px 14px!important;gap:12px!important}
#block-9 .sc-gift .sc-gift-mock{flex:0 0 66px!important;width:66px!important;height:86px!important;margin:0!important}
#block-9 .sc-gift .sc-gift-cover{width:52px!important;height:74px!important;left:2px!important;top:4px!important}
#block-9 .sc-gift .sc-gift-sheet{width:46px!important;height:64px!important;left:18px!important;top:6px!important}
#block-9 .sc-gift .sc-gift-sheet:after{left:20px!important;right:5px!important;top:16px!important;height:36px!important}
#block-9 .sc-gift .sc-gift-eyebrow{font-size:9.5px!important;padding:3px 9px!important;margin:0 0 5px!important}
#block-9 .sc-gift .sc-gift-title{font-size:17px!important;line-height:1.22!important}
#block-9 .sc-gift .sc-gift-body{padding:14px 18px 16px!important}
#block-9 .sc-gift .sc-gift-lead{font-size:13.5px!important;line-height:1.5!important;margin:0 0 8px!important}
#block-9 .sc-gift ul.sc-gift-list{margin:0 0 12px!important}
#block-9 .sc-gift ul.sc-gift-list li{font-size:13px!important;line-height:1.35!important;margin:5px 0!important;padding-left:23px!important}
#block-9 .sc-gift ul.sc-gift-list li:before{width:15px!important;height:15px!important;top:1px!important;background-size:10px!important}
#block-9 .sc-gift .sc-nl-row{gap:8px!important}
#block-9 .sc-gift .sc-nl-row input[type=email]{padding:10px 12px 10px 38px!important;font-size:14px!important;background-position:12px center!important;background-size:16px!important}
#block-9 .sc-gift .sc-nl-row button{padding:11px 14px!important;font-size:14px!important}
#block-9 .sc-gift .sc-nl-fine{margin:7px 0 0!important;font-size:11px!important;line-height:1.4!important}
@media (max-height:640px){#block-9 .sc-gift ul.sc-gift-list{display:none!important}}


#block-9 .sc-gift .sc-gift-lead{display:none!important}
#block-9 .sc-gift .sc-gift-title{font-size:16px!important;line-height:1.25!important}
#block-9 .sc-gift .sc-gift-top{padding:14px 16px 12px!important}
#block-9 .sc-gift .sc-gift-body{padding:14px 16px 14px!important}
#block-9{top:96px!important}
body.admin-bar #block-9{top:128px!important}


#block-9 .sc-gift .sc-gift-top{padding:12px 16px 10px!important;gap:10px!important}
#block-9 .sc-gift .sc-gift-mock{flex:0 0 54px!important;width:54px!important;height:74px!important}
#block-9 .sc-gift .sc-gift-cover{width:46px!important;height:64px!important}
#block-9 .sc-gift .sc-gift-sheet{width:40px!important;height:56px!important;left:14px!important}
#block-9 .sc-gift .sc-gift-title{font-size:15px!important;line-height:1.22!important}
@media (max-height:760px){#block-9 .sc-gift ul.sc-gift-list{display:none!important}}


/* gift card A: fan the planner pages so they show */
#block-9 .sc-gft .sc-gft-book{flex:0 0 108px!important;width:108px!important;height:114px!important}
#block-9 .sc-gft .sc-gift-title{font-size:17px!important}
#block-9 .sc-gft .sc-gft-pg2{left:48px!important;top:6px!important;transform:rotate(15deg)!important}
#block-9 .sc-gft .sc-gft-pg1{left:28px!important;top:2px!important;transform:rotate(6deg)!important}
#block-9 .sc-gft .sc-gft-pg2 i{display:block!important;height:5px!important;margin:6px 6px 0!important;background:linear-gradient(90deg,#AE5340 0 5px,transparent 5px 9px,#e7ddd4 9px)!important}
#block-9 .sc-gft .sc-gft-pg2 i:nth-child(3),#block-9 .sc-gft .sc-gft-pg2 i:nth-child(6){background:linear-gradient(90deg,#AE5340 0 5px,transparent 5px 9px,#e7ddd4 9px 70%,transparent 70%)!important}
#block-9 .sc-gft:hover .sc-gft-pg2{transform:rotate(21deg) translate(8px,-3px)!important}
#block-9 .sc-gft:hover .sc-gft-pg1{transform:rotate(10deg) translate(5px,-2px)!important}


#block-9 .sc-gft .sc-gft-pg2 i{background:linear-gradient(90deg,rgba(174,83,64,.95) 0 5px,rgba(0,0,0,0) 5px 9px,rgba(29,35,39,.2) 9px)!important}
#block-9 .sc-gft .sc-gft-pg2 i:nth-child(3),#block-9 .sc-gft .sc-gft-pg2 i:nth-child(6){background:linear-gradient(90deg,rgba(174,83,64,.95) 0 5px,rgba(0,0,0,0) 5px 9px,rgba(29,35,39,.2) 9px 68%,rgba(0,0,0,0) 68%)!important}
#block-9 .sc-gft .sc-gft-pg1 em{background-image:repeating-linear-gradient(rgba(29,35,39,.16) 0 1px,rgba(0,0,0,0) 1px 9px),repeating-linear-gradient(90deg,rgba(29,35,39,.16) 0 1px,rgba(0,0,0,0) 1px 15px)!important;border-color:rgba(29,35,39,.16)!important}


#block-9 .sc-gft .sc-gft-book{margin-top:8px!important}


#block-9 .sc-gft .sc-gft-pg,#block-9 .sc-gft .sc-gft-pg1 em{background-color:#fff!important}
#block-9 .sc-gft .sc-gft-pg2 b{background:#AE5340!important}
#block-9 .sc-gft .sc-gft-pg1 b{background:#1D2327!important}


#block-9 .sc-gft .sc-gft-pg,#block-9 .sc-gft .sc-gft-pg1 em,.sc-mtheme-keep{background-color:#fff!important}
#block-9 .sc-gft .sc-gft-pg2 b,.sc-mtheme-keep{background:#AE5340!important}
#block-9 .sc-gft .sc-gft-pg1 b,.sc-mtheme-keep{background:#1D2327!important}


html body #block-9 .sc-gft .sc-gft-pg,html body #block-9 .sc-gft .sc-gft-pg1 em,.sc-mtheme-keep{background-color:#fff!important}
html body #block-9 .sc-gft .sc-gft-pg2 b,.sc-mtheme-keep{background:#AE5340!important}
html body #block-9 .sc-gft .sc-gft-pg1 b,.sc-mtheme-keep{background:#1D2327!important}


/* 2026-11-12 dark mode: gift card same tone as other sidebar cards */
html.sc-dark body #block-9,.sc-mtheme-keep{background:#1e293b!important;border:1px solid #334155!important;box-shadow:0 18px 36px rgba(0,0,0,.35)!important}
html.sc-dark body #block-9 .sc-gft .sc-nl-row input[type=email],.sc-mtheme-keep{background-color:#0f172a!important;color:#f8fafc!important;border:1px solid #334155!important}
html.sc-dark body #block-9 .sc-gft ul.sc-gift-list li,.sc-mtheme-keep{color:#e2e8f0!important}
html.sc-dark body #block-9 .sc-gft ul.sc-gift-list li:before,.sc-mtheme-keep{background-color:rgba(201,105,79,.12)!important}
/* dark mode: "Finished garment measurements" table without orange, same as size chart */
html.sc-dark body .pp-table-rose th,html.sc-dark body .pp-table-rose thead td,html.sc-dark body .pp-table-rose tr:first-child > *,.sc-mtheme-keep{background:#334155!important;color:#fff!important}


html.sc-dark body .pp-table-rose table tbody tr > th,.sc-mtheme-keep{background:#1e293b!important}
html.sc-dark body .pp-table-rose table tbody tr:first-child > td,.sc-mtheme-keep{background:transparent!important}


/* 2026-11-12 dark mode: seam allowance banner as one clean bar (theme paints the inner <strong> #334155 inline) */
html.sc-dark body .pp-banner,.sc-mtheme-keep{background:#334155!important;border:1px solid #475569!important;border-radius:12px!important;color:#fff!important}
html.sc-dark body .pp-banner strong,.sc-mtheme-keep{color:#fff!important}


/* Fix 2026-11-13: fabric calculator "patterns to sew next" heading readable in dark mode */
html.sc-dark .sct2 .s2-mh p{color:#F8FAFC!important}
html.sc-dark .sct2 .s2-msub{color:#94A3B8!important}

/* Fix 2026-11-13: Browse patterns box more compact (less empty space) */
#secondary .widget:has(.sc-br){padding:16px 18px!important}
.sc-widget:has(.sc-br) h3.wp-block-heading{font-size:18px!important;margin:0 0 6px!important;padding-bottom:6px!important}
.sc-widget:has(.sc-br) p:empty{display:none!important}
.sc-br .sc-br-group{padding:9px 0!important}
.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/women/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/femme/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/damen/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/dames/"]){padding-top:4px!important}
.sc-br .sc-br-group:last-child,.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kids/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/enfants/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kinder/"]),.sc-br .sc-br-group:has(> a.sc-br-top[href$="/category/kinderen/"]){padding-bottom:0!important}
.sc-br .sc-br-top{margin:0 0 7px!important;font-size:12px!important}
.sc-br .sc-br-chips{gap:6px!important}
.sc-br .sc-br-chips a{padding:5px 11px!important;font-size:13px!important}


/* Fix 2026-11-14: dark mode mobile (header bar + home/archive cards + pattern code box) */
html.sc-dark body:is(#scx#scx#scx,*) .sc-mbar{background:#1E293B!important;border-bottom:1px solid #334155}
html.sc-dark body:is(#scx#scx#scx,*) .sc-mbar .sc-mlogo,html.sc-dark body:is(#scx#scx#scx,*) .sc-mbar .sc-mtheme{background:transparent!important}
html.sc-dark body:is(#scx#scx#scx,*) .sc-mbar .sc-theme-btn{background:#0F172A!important;border-color:#334155!important}
html.sc-dark body:is(#scx#scx#scx,*):is(.home,.archive) .main-has-sidebar>article{background:#1E293B!important;border-color:#334155!important;box-shadow:none!important}
html.sc-dark body:is(#scx#scx#scx,*):is(.home,.archive) .main-has-sidebar>article :is(.entry-title,.entry-title a,h2,h2 a){color:#F8FAFC!important}
html.sc-dark body:is(#scx#scx#scx,*):is(.home,.archive) .main-has-sidebar>article :is(.entry-summary,.entry-summary p,.entry-content p){color:#CBD5E1!important}
html.sc-dark body:is(#scx#scx#scx,*):is(.home,.archive) .main-has-sidebar>article .cat-links a{background:rgba(201,105,79,.16)!important;color:#E8A08A!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code{background:#1E293B!important;border-color:#334155!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code h3{color:#F8FAFC!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code p.s{color:#CBD5E1!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code form{background:#0F172A!important;border-color:#334155!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code form input{color:#F8FAFC!important}
html.sc-dark body:is(#scx#scx#scx,*) section.sc-code form input::placeholder{color:#94A3B8!important}


/* Fix 2026-11-14: tutorials hub "Ready to practise?" box in dark mode (desktop + mobile) */
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta{background:#1E293B!important;background-image:none!important;border:1px solid #334155!important;box-shadow:none!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta h2{color:#F8FAFC!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta p:not(.sc-jump){color:#CBD5E1!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;padding:0!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump a{background:#C9694F!important;color:#fff!important;border:1.5px solid #C9694F!important;box-shadow:none!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump a:hover{background:#B85A42!important;border-color:#B85A42!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump a.sc-ghost{background:transparent!important;color:#F8FAFC!important;border-color:#64748B!important}
html.sc-dark.sc-dark body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump a.sc-ghost:hover{border-color:#F8FAFC!important}


/* Fix 2026-11-14: "Ready to practise?" light mode = solid black (no old green gradient) */
html:not(.sc-dark) body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta{background:#111315!important;background-image:none!important}
html:not(.sc-dark) body:is(#scx#scx#scx#scx,*) .sc-hub .sc-cta .sc-jump{background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}


/* Fix 2026-11-14: mobile menu "All sewing tools" aligned left next to its icon like the other tools */
body:is(#scx#scx#scx#scx,*) .site-navigation .sub-menu li.menu-item-1731>a,body:is(#scx#scx#scx#scx,*) .site-navigation .sub-menu li>a[href$="/sewing-tools/"]{display:grid!important;grid-template-columns:32px 1fr!important;justify-content:start!important;justify-items:start!important;text-align:left!important;align-items:center!important;align-content:center!important}


@media (min-width:901px){html body:is(#scx#scx#scx#scx#scx,*) .site-navigation .sub-menu li.menu-item-1731>a,html body:is(#scx#scx#scx#scx#scx,*) .site-navigation .sub-menu li>a[href$="/sewing-tools/"]{display:flex!important;justify-content:space-between!important;justify-items:normal!important;align-items:center!important}}


/* Fix 2026-11-14: fabric yardage layout - width/length labels readable in dark mode */
html.sc-dark body:is(#scx#scx#scx#scx,*) #s2-svg svg > text:nth-last-of-type(-n+2){fill:#E2E8F0!important}


html.sc-dark body:is(#scx#scx#scx#scx,*) #s2-svg svg > rect:first-child{fill:#1E293B!important;stroke:#64748B!important}


/* Fix 2026-11-14: desktop menu dark/light button = same clean style as search icon, centered on the menu line */
html body:is(#scx#scx#scx#scx,*) li.sc-theme-li{display:inline-flex!important;align-items:center!important;vertical-align:middle!important;position:relative!important;top:0!important;float:none!important;margin:0!important;padding:0 12px 0 0!important}
html body:is(#scx#scx#scx#scx,*) li.sc-theme-li .sc-theme-btn{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:50%!important;color:#1D2327!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;transition:background .2s ease,color .2s ease}
html.sc-dark body:is(#scx#scx#scx#scx,*) li.sc-theme-li .sc-theme-btn{color:#F8FAFC!important}
html body:is(#scx#scx#scx#scx,*) li.sc-theme-li .sc-theme-btn svg{width:18px!important;height:18px!important}
html body:is(#scx#scx#scx#scx,*) li.sc-theme-li .sc-theme-btn:hover{background:rgba(29,35,39,.07)!important;color:#C9694F!important}
html.sc-dark body:is(#scx#scx#scx#scx,*) li.sc-theme-li .sc-theme-btn:hover{background:rgba(255,255,255,.08)!important;color:#C9694F!important}
/* Fix 2026-11-14: hero slider arrows - chevron stays visible (white) on the orange hover circle */
html body:is(#scx#scx#scx#scx,*) .sc-hero .sc-arrow:hover,html body:is(#scx#scx#scx#scx,*) .sc-hero .sc-arrow:focus-visible{color:#fff!important}
html body:is(#scx#scx#scx#scx,*) .sc-hero .sc-arrow:hover svg,html body:is(#scx#scx#scx#scx,*) .sc-hero .sc-arrow:focus-visible svg{stroke:#fff!important}


/* Fix 2026-11-14: Level menu icons - Intermediate = 2 orange bars, Advanced = 3 (all languages) */
html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/intermediate/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/intermediaire/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/mittel/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/gemiddeld/"]::before{background-image:linear-gradient(rgb(180,84,64),rgb(180,84,64)),linear-gradient(rgb(180,84,64),rgb(180,84,64)),linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.28))!important}
html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/advanced/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/avance/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/fortgeschritten/"]::before,html body:is(#scx#scx#scx#scx,*) li.menu-item > a[href*="/tag/gevorderd/"]::before{background-image:linear-gradient(rgb(180,84,64),rgb(180,84,64)),linear-gradient(rgb(180,84,64),rgb(180,84,64)),linear-gradient(rgb(180,84,64),rgb(180,84,64))!important}


/* SewCraftly - category intro links */
.sc-cat-intro a{color:#AE5340;}
.sc-cat-intro a:hover{color:#8F4232;}
html.sc-dark .sc-cat-intro a{color:#E8A08A;}
html.sc-dark .sc-cat-intro a:hover{color:#F8FAFC;}

