/* Shared styling: pages, products, shop, cart, checkout, account and search. */
body.nordic-teacher-modern {
  --nt-ink: #181c34;
  --nt-bg: #f0f1fa;
  --nt-accent: #6c5ad8;
  --nt-lime: #d8f66a;
  color: var(--nt-ink);
  background: var(--nt-bg);
  font-family: Arial, Helvetica, sans-serif;
}
.nordic-teacher-modern h1, .nordic-teacher-modern h2,
.nordic-teacher-modern h3, .nordic-teacher-modern h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #181c34;
}
.nordic-teacher-modern h1 {font-size: clamp(34px, 4vw, 58px); line-height: 1.1}
.nordic-teacher-modern h2 {line-height: 1.2}
.nordic-teacher-modern p {line-height: 1.75}
.nordic-teacher-modern .site-content {background: #f0f1fa; min-height: 55vh}
.nordic-teacher-modern .site-content > .ast-container {max-width: 1240px}
.nordic-teacher-modern:not(.home) #primary {margin-top: 45px; margin-bottom: 60px; min-width: 0}
.nordic-teacher-modern .site-main > article:not(:has(.nt-refresh)) {
  border: 1px solid #d9d9eb;
  border-radius: 22px;
  background: #fafaff;
  padding: clamp(24px, 4vw, 50px);
  overflow-wrap: anywhere;
}
.nordic-teacher-modern #masthead .main-header-bar {
  background: #111426 !important;
  border-bottom: 1px solid #2d3045;
  min-height: 88px !important;
}
.nordic-teacher-modern #masthead .ast-container {max-width: 1240px}
.nordic-teacher-modern #masthead .custom-logo {width:60px !important; max-width:60px !important; height:auto !important}
.nordic-teacher-modern #masthead .site-branding {display:flex; align-items:center; gap:10px; padding:8px 0 !important}
.nordic-teacher-modern #masthead .site-branding:after {content:"Nordic Teacher"; font:800 18px Arial,sans-serif; color:#f1f0fa; letter-spacing:-.5px; white-space:nowrap}
.nordic-teacher-modern #masthead .mega-menu {background:transparent !important}
.nordic-teacher-modern #masthead .mega-menu-link {background:transparent !important; color:#cac9df !important; font:500 13px Arial,sans-serif !important}
.nordic-teacher-modern #masthead .mega-menu-link:hover {color:#d8f66a !important}
.nordic-teacher-modern #masthead .mega-sub-menu {background:#20243b !important; border:1px solid #45465e !important; border-radius:12px}
.nordic-teacher-modern #masthead a,
.nordic-teacher-modern #masthead .ast-addon-cart-wrap,
.nordic-teacher-modern #masthead .ast-icon-shopping-bag {color:#d8f66a !important; border-color:#727864 !important}
.nordic-teacher-modern #masthead svg {fill:currentColor !important}
.nordic-teacher-modern .site-primary-footer-wrap,
.nordic-teacher-modern .site-below-footer-wrap {background:#1a1e34 !important; border-color:#33374c !important; color:#b5b7cd !important}
.nordic-teacher-modern .site-footer a,
.nordic-teacher-modern .site-footer h2,
.nordic-teacher-modern .site-footer strong {color:#c9cbe0 !important}
.nordic-teacher-modern .site-footer a {text-underline-offset:4px}
.nordic-teacher-modern input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),
.nordic-teacher-modern textarea,
.nordic-teacher-modern select,
.nordic-teacher-modern .select2-container .select2-selection {
  background:#fff; color:#181c34; border:1px solid #c9cadf; border-radius:11px; min-height:46px; padding:12px 15px;
}
.nordic-teacher-modern textarea {min-height:130px}
.nordic-teacher-modern button,
.nordic-teacher-modern input[type=submit],
.nordic-teacher-modern a.button,
.nordic-teacher-modern button.button,
.nordic-teacher-modern input.button,
.nordic-teacher-modern a.checkout-button,
.nordic-teacher-modern .wp-element-button {
  border-radius:11px; background:#6c5ad8; color:#fff; font-family:Arial,sans-serif; font-weight:700; line-height:1.3;
}
.nordic-teacher-modern a:focus-visible,
.nordic-teacher-modern button:focus-visible,
.nordic-teacher-modern input:focus-visible,
.nordic-teacher-modern select:focus-visible,
.nordic-teacher-modern textarea:focus-visible {outline:3px solid #9b77ed; outline-offset:4px}
.nordic-teacher-modern ul.products li.product {
  background:#fafaff; border:1px solid #d7d8e8; border-radius:18px; padding:18px; overflow:hidden;
}
.nordic-teacher-modern ul.products li.product a img {
  width:100%; height:250px; object-fit:contain; border-radius:10px; background:#fff;
}
.nordic-teacher-modern ul.products li.product .woocommerce-loop-product__title {
  font:700 17px/1.4 Arial,sans-serif; color:#181c34; letter-spacing:-.3px;
}
.nordic-teacher-modern ul.products li.product .price {color:#53566e; font-size:15px; font-weight:600}
.nordic-teacher-modern ul.products li.product .button {border-radius:10px; background:#6c5ad8; color:#fff; font-size:13px}
.nordic-teacher-modern span.onsale {background:#d8f66a; color:#243217; border-radius:8px; font-size:11px}
.nordic-teacher-modern nav.woocommerce-pagination ul {border:0; display:inline-flex; gap:7px}
.nordic-teacher-modern nav.woocommerce-pagination ul li {border:0}
.nordic-teacher-modern nav.woocommerce-pagination ul li a,
.nordic-teacher-modern nav.woocommerce-pagination ul li span {border-radius:10px; background:#e0e0f0; padding:14px; min-width:42px; color:#38354e}
.nordic-teacher-modern nav.woocommerce-pagination ul li span.current {background:#6c5ad8; color:#fff}
.nordic-teacher-modern div.product div.summary,
.nordic-teacher-modern div.product .woocommerce-tabs,
.nordic-teacher-modern .cart_totals,
.nordic-teacher-modern #order_review,
.nordic-teacher-modern .woocommerce-MyAccount-content {
  background:#fafaff; border:1px solid #d7d8e8; border-radius:18px; padding:clamp(20px, 3vw, 32px);
}
.nordic-teacher-modern div.product .woocommerce-tabs {clear:both}
.nordic-teacher-modern div.product p.price {color:#6c5ad8; font-weight:700}
.nordic-teacher-modern div.product .woocommerce-tabs ul.tabs li {background:#e5e1f5; border:0; border-radius:10px 10px 0 0}
.nordic-teacher-modern div.product .woocommerce-tabs ul.tabs li.active {background:#fafaff}
.nordic-teacher-modern table.shop_table {border:1px solid #d7d8e8; border-radius:14px; overflow:hidden; background:#fafaff}
.nordic-teacher-modern table.shop_table th {background:#e9e6f6; color:#38304f}
.nordic-teacher-modern .woocommerce-info,
.nordic-teacher-modern .woocommerce-message,
.nordic-teacher-modern .woocommerce-error {border-radius:12px; background:#e8e3f7; color:#39334f; border-top-color:#8b76de}
.nordic-teacher-modern .woocommerce-MyAccount-navigation ul {margin:0; list-style:none; display:grid; gap:7px}
.nordic-teacher-modern .woocommerce-MyAccount-navigation a {display:block; padding:12px 16px; border-radius:10px; background:#e4e3f2; text-decoration:none}
.nordic-teacher-modern .woocommerce-MyAccount-navigation .is-active a {background:#6c5ad8; color:#fff}
.nordic-teacher-modern #secondary .widget {border:1px solid #d7d8e8; border-radius:16px; padding:20px; background:#e8e7f4}
.nordic-teacher-modern .nt-shop-intro {background:radial-gradient(ellipse at right top,#393257,transparent 80%),#171a30; color:#c7c9de; border-radius:22px; padding:clamp(25px,4vw,48px); margin:0 0 35px; clear:both}
.nordic-teacher-modern .nt-shop-intro h2 {color:#f4f2ff; font-size:clamp(29px,3vw,43px)}
.nordic-teacher-modern .nt-section-label {font-size:10px; font-weight:700; letter-spacing:1.7px; color:#bdacef}
.nordic-teacher-modern .nt-shop-search {display:flex; gap:10px; max-width:800px; margin-top:25px; align-items:stretch}
.nordic-teacher-modern .nt-shop-search input[type=search] {flex:1; min-width:0; background:#292d45; color:#fff; border-color:#55566e}
.nordic-teacher-modern .nt-shop-search button {background:#d8f66a; color:#181c34; padding:13px 22px; white-space:nowrap}
@media(max-width:760px){
  .nordic-teacher-modern:not(.home) #primary {margin-top:25px}
  .nordic-teacher-modern #masthead .custom-logo {width:48px !important;max-width:48px !important}
  .nordic-teacher-modern #masthead .site-branding:after {font-size:15px}
  .nordic-teacher-modern ul.products li.product {padding:12px}
  .nordic-teacher-modern ul.products li.product a img {height:200px}
  .nordic-teacher-modern .nt-shop-search {flex-direction:column}
  .nordic-teacher-modern table.shop_table {font-size:13px}
}
/* Remove Astra's full-width group padding and viewport-width overflow. */
body.nordic-teacher-modern .entry-content > .nt-refresh {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.nordic-teacher-modern #masthead .menu-toggle,
body.nordic-teacher-modern #masthead .menu-toggle svg {
  color: #d8f66a !important;
  fill: #d8f66a !important;
}
body.nordic-teacher-modern #masthead .ast-mobile-header-content,
body.nordic-teacher-modern #masthead .main-header-menu,
body.nordic-teacher-modern #masthead .main-header-menu .sub-menu {
  background: #20243b !important;
  border-color: #45465e !important;
}
body.nordic-teacher-modern #masthead .main-header-menu .menu-link {
  color: #e0deef !important;
  border-color: #45465e !important;
}


.nt-refresh{color:#181c34;background:#f0f1fa;font-family:Arial,Helvetica,sans-serif;line-height:1.6}.nt-refresh *{box-sizing:border-box}.nt-refresh a{color:inherit}.nt-wrap{max-width:1190px;margin:auto;padding:76px 32px}.nt-refresh h1,.nt-refresh h2,.nt-refresh h3{font-family:Arial,Helvetica,sans-serif;color:inherit;font-weight:800}.nt-refresh h1{font-size:clamp(48px,5.3vw,76px);letter-spacing:-4px;line-height:1.04;margin:0 0 26px}.nt-refresh h2{font-size:clamp(30px,3.2vw,44px);letter-spacing:-1.8px;line-height:1.13;margin:0 0 18px}.nt-refresh h3{font-size:22px;letter-spacing:-.5px;line-height:1.3;margin:0 0 14px}.nt-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;margin:0 0 22px;color:#696188}.nt-lead{font-size:18px;line-height:1.75;max-width:540px;color:#62657c;margin:0}.nt-hero{background:radial-gradient(ellipse at 82% 20%,#35305c 0,transparent 50%),#111426;color:#f7f7ff;overflow:hidden}.nt-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;min-height:610px;padding-top:70px;padding-bottom:70px}.nt-hero h1 span{color:#c9b8ff}.nt-hero .nt-eyebrow{color:#a6a8c0}.nt-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d8f66a;margin-right:8px;vertical-align:middle}.nt-hero .nt-lead{color:#b7bacf;font-size:17px;max-width:465px}.nt-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 20px}.nt-btn{display:inline-flex;gap:20px;justify-content:center;align-items:center;padding:16px 23px;border-radius:12px;font-size:14px;font-weight:700;line-height:1.3;text-decoration:none!important;border:1px solid #6c5ad8;min-height:52px;background:#6c5ad8;color:#fff!important;transition:transform .15s,background .15s}.nt-btn:hover{transform:translateY(-2px);background:#5944c4}.nt-main{background:#d8f66a!important;color:#171b29!important;border-color:#d8f66a!important}.nt-main:hover{background:#e4ff8c!important}.nt-hero .nt-secondary{background:transparent;color:#e5e5f5!important;border-color:#55566e}.nt-note{font-size:12px;color:#8b8fa8;margin-top:23px}.nt-subject-panel{background:#20243b;border:1px solid #45465e;border-radius:23px;padding:22px;box-shadow:0 25px 65px #080a1650;transform:rotate(2deg)}.nt-panel-head{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.3px;color:#9b9fb9}.nt-panel-dots{display:flex;gap:5px}.nt-panel-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#62667e}.nt-panel-title{font-size:21px;font-weight:700;letter-spacing:-.6px;margin:20px 0 16px;color:#f4f3ff}.nt-subject-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nt-subject{border-radius:14px;padding:20px;text-decoration:none!important;min-height:150px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .15s}.nt-subject:hover{transform:translateY(-3px)}.nt-subject-mark{position:relative;display:block;font-size:48px;font-weight:800;line-height:1.1;letter-spacing:-3px}.nt-subject-name{display:flex;justify-content:space-between;font-size:12px;font-weight:700;letter-spacing:-.1px}.nt-subject-name b{font-size:17px;font-weight:400}.nt-norsk{background:#c9baff;color:#30215e!important}.nt-math{background:#d9f286;color:#324b17!important}.nt-play{background:#a8d7fa;color:#173c62!important}.nt-create{background:#f7c4b3;color:#783526!important}.nt-create .nt-subject-mark{font-size:62px;line-height:.9}.nt-mini-line{display:block;width:55px;height:4px;border-radius:3px;background:#8b6acf;transform:rotate(-7deg);margin-top:4px}.nt-four-shapes{display:grid;grid-template-columns:22px 22px;gap:6px;margin-bottom:12px}.nt-four-shapes i{width:22px;height:22px;background:#4677a5;border-radius:5px}.nt-four-shapes i:nth-child(2),.nt-four-shapes i:nth-child(3){border-radius:50%;background:#6f9fc6}.nt-panel-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px;font-size:9px;color:#c2c3d6}.nt-panel-bottom>span:last-child{color:#d8f66a;font-size:18px}.nt-band{background:#1a1e34;border-top:1px solid #30344c;color:#a4a9c2}.nt-band-inner{max-width:1190px;margin:auto;padding:19px 32px;display:flex;justify-content:space-between;gap:20px;font-size:11px;letter-spacing:.6px}.nt-search{display:flex;max-width:800px;margin:28px 0 20px;background:#fff;border:1px solid #c9cae0;border-radius:15px;overflow:hidden;box-shadow:0 7px 20px #25254a05}.nt-search input{flex:1;min-width:0;margin:0!important;background:transparent!important;border:0!important;padding:20px!important;font-size:15px;color:#181c34!important}.nt-search button{border:0;border-radius:11px;background:#181c34;color:#fff;font-weight:700;padding:13px 25px;margin:6px;cursor:pointer}.nt-tags{display:flex;gap:9px;flex-wrap:wrap}.nt-tags a{font-size:12px;text-decoration:none!important;background:#e5e5f3;border:1px solid #dbdbea;border-radius:9px;padding:9px 15px}.nt-tags a:hover{background:#d8d0f4}.nt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.nt-free{background:#e5e1f5}.nt-card{border:1px solid #d1cce5;background:#f3f0fe;border-radius:19px;padding:29px;display:flex;flex-direction:column;align-items:flex-start}.nt-card:nth-child(2){background:#e9edf9}.nt-card:nth-child(3){background:#f1e5ec}.nt-card p{font-size:14px;color:#636078;margin:0 0 24px;line-height:1.7}.nt-card a{margin-top:auto;font-size:13px;font-weight:700;text-underline-offset:5px}.nt-badge{font-size:9px;letter-spacing:1px;font-weight:800;padding:5px 9px;background:#ddd4f6;color:#594579;border-radius:7px;margin-bottom:24px}.nt-card:nth-child(2) .nt-badge{background:#d6e0f6;color:#394f7e}.nt-card:nth-child(3) .nt-badge{background:#ead3df;color:#824c68}.nt-product-intro{padding-bottom:0}.nt-product-outro{padding-top:15px;text-align:center}.nt-refresh .wp-block-query{max-width:1126px;margin:28px auto;padding:0 32px}.nt-refresh .products-block-post-template{gap:20px!important}.nt-refresh .wp-block-post{border-radius:17px;border:1px solid #d7d8e8;background:#fafaff;padding:18px;overflow:hidden}.nt-refresh .wp-block-post-title{font-family:Arial,sans-serif;font-size:16px!important;line-height:1.4!important}.nt-refresh .wp-block-post-title a{text-decoration:none!important}.nt-refresh .wp-block-woocommerce-product-image img{height:235px!important;width:100%!important;object-fit:contain!important}.nt-refresh .wp-block-woocommerce-product-button button,.nt-refresh .wp-block-woocommerce-product-button a{background:#6c5ad8!important;color:#fff!important;border-radius:10px!important}.nt-how{background:#dce4ef}.nt-step{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#c7d0e5;color:#3d4a74;font-size:14px;font-weight:800;margin-bottom:22px}.nt-how p:not(.nt-eyebrow){font-size:14px;color:#58647d;line-height:1.75}.nt-end{background:radial-gradient(ellipse at center top,#403466,transparent 75%),#14172c;text-align:center;color:#f4f3ff}.nt-end .nt-eyebrow{color:#c9b8ff!important}.nt-end p{color:#a9aec5}.nt-end .nt-btn{background:#d8f66a;color:#171b29!important;border-color:#d8f66a}.nt-end a:not(.nt-btn){font-size:12px;color:#bdb1e7}.nt-refresh a:focus-visible,.nt-refresh button:focus-visible,.nt-refresh input:focus-visible{outline:3px solid #9b77ed;outline-offset:4px}body:has(.nt-refresh){background:#f0f1fa}body:has(.nt-refresh) #masthead .main-header-bar{background:#111426!important;border-bottom:1px solid #2d3045;min-height:88px!important}body:has(.nt-refresh) #masthead .ast-container{max-width:1240px}body:has(.nt-refresh) #masthead .custom-logo{width:60px!important;max-width:60px!important;height:auto!important}body:has(.nt-refresh) #masthead .site-branding{padding:8px 0!important;display:flex;align-items:center;gap:8px}body:has(.nt-refresh) #masthead .site-branding:after{content:"Nordic Teacher";color:#f1f0fa;font-size:18px;font-weight:800;letter-spacing:-.5px}body:has(.nt-refresh) #masthead .mega-menu{background:transparent!important}body:has(.nt-refresh) #masthead .mega-menu-link{background:transparent!important;color:#cac9df!important;font-family:Arial,sans-serif!important;font-size:13px!important}body:has(.nt-refresh) #masthead .mega-menu-link:hover{color:#d8f66a!important}body:has(.nt-refresh) #masthead a,body:has(.nt-refresh) #masthead .ast-addon-cart-wrap,body:has(.nt-refresh) #masthead .ast-icon-shopping-bag{color:#d8f66a!important;border-color:#7b8066!important}body:has(.nt-refresh) #masthead svg,body:has(.nt-refresh) #masthead #ast-bag-icon-svg{fill:currentColor!important}body:has(.nt-refresh) .site-content>.ast-container{padding:0!important;max-width:none!important}body:has(.nt-refresh) #primary{padding:0!important;margin:0!important;width:100%!important}body:has(.nt-refresh) article.page{padding:0!important}body:has(.nt-refresh) .entry-content>.nt-refresh{margin:0!important}body:has(.nt-refresh) .site-primary-footer-wrap,body:has(.nt-refresh) .site-below-footer-wrap{background:#1a1e34!important;border-color:#33374c!important;color:#b5b7cd!important}body:has(.nt-refresh) .site-footer a{color:#c2c4d8!important}@media(prefers-reduced-motion:reduce){.nt-btn,.nt-subject{transition:none}}@media(max-width:760px){.nt-wrap{padding:45px 22px}.nt-hero-grid{grid-template-columns:1fr;gap:40px;min-height:0}.nt-refresh h1{font-size:53px;letter-spacing:-2.7px}.nt-refresh h2{font-size:32px;letter-spacing:-1.2px}.nt-hero .nt-lead{font-size:16px}.nt-subject-panel{transform:none;margin:0 3px}.nt-subject{padding:17px;min-height:135px}.nt-grid{grid-template-columns:1fr}.nt-band-inner{padding:17px 22px;flex-wrap:wrap;justify-content:center;text-align:center;gap:10px 20px}.nt-refresh .products-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nt-refresh .wp-block-query{padding:0 22px}body:has(.nt-refresh) #masthead .site-branding:after{font-size:15px}body:has(.nt-refresh) #masthead .custom-logo{width:48px!important;max-width:48px!important}}@media(max-width:420px){.nt-refresh h1{font-size:45px;letter-spacing:-2px}.nt-actions{flex-direction:column}.nt-subject-panel{padding:17px}.nt-panel-title{font-size:19px}.nt-subject{padding:14px;min-height:125px}.nt-subject-mark{font-size:42px}.nt-subject-name{font-size:11px}.nt-panel-head{font-size:7px}.nt-refresh .products-block-post-template{grid-template-columns:1fr!important}}
