*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#171717;background:#fff;font-size:16px;line-height:1.5}a{color:#063d86}.wrap{max-width:1180px;margin:auto;padding-left:18px;padding-right:18px}.site-header{background:#fff}.masthead{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:18px;padding-bottom:16px}.brand-logo img{display:block;width:430px;max-width:100%;height:auto}.site-search{display:flex;width:390px;max-width:100%}.site-search input{width:100%;padding:11px 12px;border:1px solid #173d70;border-right:0;font:inherit}.site-search button{border:1px solid #173d70;background:#123f7e;color:#fff;padding:0 23px;font-weight:700;font-size:16px}.navbar{background:#123f7e;border-top:1px solid #0c3266;border-bottom:1px solid #0c3266}.navinner{display:flex;align-items:center;flex-wrap:wrap}.navinner>a,.navitem>a{display:block;color:#fff;text-decoration:none;font-weight:700;padding:12px 17px;border-right:1px solid rgba(255,255,255,.12)}.navitem{position:relative}.navitem:hover .dropdown{display:block}.dropdown{display:none;position:absolute;z-index:30;top:100%;left:0;background:#fff;border:1px solid #9aa8ba;min-width:220px;box-shadow:0 3px 7px rgba(0,0,0,.15)}.dropdown a{display:block;padding:9px 12px;border-bottom:1px solid #e3e7ec;text-decoration:none;background:#fff}.dropdown a:hover{background:#f1f5f9}main.wrap{padding-top:22px}.breadcrumbs{font-size:13px;margin:0 0 15px;color:#5d6772}.breadcrumbs a{color:#42556d}.hero{padding:6px 0 18px;text-align:left}.hero h1{font-size:38px;line-height:1.15;margin:0 0 10px}.hero p{font-size:17px;line-height:1.55;max-width:850px;margin:0}.years,.months,.quicklinks,.quick-links{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-start;margin:16px 0}.pill,.quick-links a{border:1px solid #9eacbb;border-radius:2px;padding:7px 10px;text-decoration:none;background:#f8fafc}.section-title{text-align:left;font-size:26px;margin:26px 0 12px;border-bottom:2px solid #173d70;padding-bottom:6px}.home-layout{display:grid;grid-template-columns:285px minmax(0,1fr) 285px;gap:28px;align-items:start}.old-box{border:1px solid #9aabba;background:#fff}.old-box h2{font-size:20px;color:#143d74;background:#edf3f8;border-bottom:1px solid #9aabba;margin:0;padding:10px 13px}.old-box ul{list-style:none;margin:0;padding:8px 13px}.old-box li{padding:7px 0;border-bottom:1px dotted #ccd4dc}.old-box li:last-child{border-bottom:0}.old-box a{font-weight:600}.featured-calendar{text-align:center;border:1px solid #8f99a5;padding:12px;background:#fff}.featured-calendar img{display:block;max-width:100%;width:auto;height:auto;margin:auto}.featured-calendar h2{font-size:27px;margin:0 0 10px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d9bd64;background:#fffaf0;margin:30px 0 12px}.feature-strip div{padding:15px 20px;border-right:1px solid #dfd6bb}.feature-strip div:last-child{border-right:0}.feature-strip strong{display:block;font-size:18px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid #b9c0c8;border-radius:2px;padding:10px;background:#fff}.card h2{font-size:18px;line-height:1.3;margin:10px 0 5px}.card p{font-size:14px;line-height:1.45;color:#444}.card figure,.single-calendar figure{margin:0;text-align:center}.card img,.single-calendar img{max-width:100%;width:auto;height:auto;display:block;margin:auto;border:1px solid #c5c5c5;background:#fff}.card img{width:100%}.card figcaption,.single-calendar figcaption{font-size:13px;color:#555;margin-top:6px}.actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.btn{display:inline-block;padding:8px 10px;background:#123f7e;color:#fff;text-decoration:none;border-radius:2px;font-weight:700;font-size:13px}.btn.secondary{background:#fff;color:#123f7e;border:1px solid #123f7e}.content{max-width:900px;margin:32px auto;line-height:1.7}.content h2{margin-top:27px;line-height:1.25}.prevnext{display:flex;justify-content:space-between;gap:20px;margin:28px 0}.info{background:#f8fafc;border:1px solid #b9c2cc;padding:14px 16px;margin:16px auto;max-width:900px}.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin:18px 0 30px}.related-grid a{padding:11px;border:1px solid #b9c2cc;border-radius:2px;text-decoration:none;background:#fff}.single-calendar{max-width:960px;margin:0 auto;background:#fff;border:1px solid #aab3bd;border-radius:2px;padding:14px;text-align:center}.single-calendar .actions{justify-content:center}.hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:32px}.hub-card,.home-calendar{background:#fff;border:1px solid #b8c0c8;border-radius:2px;padding:7px;text-align:center}.hub-card a,.home-calendar a{text-decoration:none}.hub-card img,.home-calendar img{width:100%;height:auto;display:block;margin:auto}.hub-card strong,.home-calendar strong{display:block;padding:8px 4px}.home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.simple-page{max-width:900px;margin:0 auto 40px}.simple-page h1{font-size:36px;border-bottom:2px solid #173d70;padding-bottom:8px}.simple-page h2{font-size:23px;margin-top:28px}.simple-page .notice{background:#fffaf0;border:1px solid #d9bd64;padding:13px 15px}.sitemap-cols{columns:3;column-gap:35px}.sitemap-cols h2{break-after:avoid}.sitemap-cols ul{break-inside:avoid;margin-top:5px}footer{margin-top:38px;border-top:1px solid #aeb7c1;padding:22px 0;color:#333;font-size:14px;background:#f7f8fa;text-align:center}.footer-links{margin-bottom:10px}.footer-links a{margin:0 8px}@media(max-width:900px){.masthead{align-items:flex-start}.brand-logo img{width:350px}.home-layout{grid-template-columns:1fr 1fr}.featured-calendar{grid-column:1/-1;grid-row:1}.grid{grid-template-columns:repeat(2,1fr)}.hub-grid,.home-grid{grid-template-columns:repeat(2,1fr)}.sitemap-cols{columns:2}}@media(max-width:620px){.masthead{display:block}.site-search{margin-top:14px;width:100%}.brand-logo img{width:320px}.navinner{display:block;padding:0}.navinner>a,.navitem>a{border-right:0;border-bottom:1px solid rgba(255,255,255,.12);padding:10px 14px}.dropdown{position:static;display:none;box-shadow:none}.navitem:hover .dropdown{display:block}.home-layout{grid-template-columns:1fr}.featured-calendar{grid-column:auto;grid-row:auto}.grid,.hub-grid,.home-grid,.feature-strip{grid-template-columns:1fr}.feature-strip div{border-right:0;border-bottom:1px solid #dfd6bb}.hero h1,.simple-page h1{font-size:29px}.sitemap-cols{columns:1}.wrap{padding-left:13px;padding-right:13px}}@media print{.site-header,footer,.actions,.breadcrumbs,.quick-links,.related-grid{display:none!important}main{max-width:none}.card,.single-calendar{border:0}}
.master-ad-slot{width:100%;margin:16px auto;text-align:center;overflow:hidden}
.master-ad-slot iframe,.master-ad-slot img{max-width:100%}
@media(max-width:620px){
  body{font-size:15px}
  .masthead{padding-top:12px;padding-bottom:12px}
  .brand-logo img{width:285px;max-width:100%}
  .site-search{margin-top:10px}
  .site-search input{min-width:0}
  .site-search button{padding:0 14px}
  .navbar{overflow:visible}
  .navinner{width:100%}
  .navitem{width:100%}
  .dropdown{width:100%;min-width:0}
  .hero p{font-size:16px}
  .card{padding:8px}
  .actions{gap:5px}
  .btn{font-size:12px;padding:8px 9px}
  .featured-calendar{padding:8px}
  .old-box h2{font-size:19px}
  .feature-strip div{padding:13px 15px}
}

/* V22 homepage refinement */
.home-main{padding-top:26px}
.home-intro{margin-bottom:18px}
.home-intro h1{font-size:40px;line-height:1.12;margin:0 0 12px}
.home-intro p{max-width:720px;font-size:17px;line-height:1.55;margin:0}
.approved-home{grid-template-columns:300px minmax(0,1fr) 300px;gap:34px;align-items:start}
.approved-home .old-box{border-color:#9aaabd}
.approved-home .old-box h2{font-size:21px;padding:11px 15px;background:#eef4f8}
.approved-home .old-box li{padding:8px 0}
.mock-featured{padding:14px 16px 12px}
.mock-featured h2{font-size:34px;margin:0 0 10px}
.mock-featured img{max-height:575px;object-fit:contain}
.approved-strip{margin-top:42px}
.approved-strip div{position:relative;padding:18px 22px 17px 75px;min-height:105px}
.approved-strip .feature-icon{position:absolute;left:24px;top:25px;font-size:38px;color:#123f7e;line-height:1}
.approved-strip strong{font-size:20px}
.approved-strip p{margin:3px 0 0;font-size:15px;line-height:1.45}
.home-copy{max-width:920px;margin:30px auto 0}
.home-copy h2{font-size:26px;margin-bottom:8px}
.home-copy p{font-size:16px;line-height:1.7}
footer{padding-top:24px;padding-bottom:24px}
@media(max-width:1000px){
  .approved-home{grid-template-columns:250px minmax(0,1fr) 250px;gap:20px}
}
@media(max-width:820px){
  .approved-home{grid-template-columns:1fr 1fr}
  .mock-featured{grid-column:1/-1;grid-row:1}
}
@media(max-width:620px){
  .home-intro h1{font-size:30px}
  .home-intro p{font-size:16px}
  .approved-home{grid-template-columns:1fr}
  .mock-featured{grid-column:auto;grid-row:auto}
  .mock-featured h2{font-size:28px}
  .approved-strip div{padding-left:62px}
  .approved-strip .feature-icon{left:18px}
}

/* V22 desktop proportions and sitemap alignment */
@media(min-width:1100px){
  .wrap{max-width:1420px}
  .brand-logo img{width:500px}
  .site-search{width:470px}
  .navinner>a,.navitem>a{padding-left:22px;padding-right:22px;font-size:17px}
  .home-main{padding-top:30px}
  .approved-home{grid-template-columns:360px minmax(440px,1fr) 360px;gap:38px}
  .mock-featured img{max-height:610px}
}
.sitemap-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;margin-top:24px}
.sitemap-panel{border:1px solid #aeb9c6;background:#fff}
.sitemap-panel h2{margin:0;padding:11px 14px;background:#eef4f8;border-bottom:1px solid #aeb9c6;color:#143d74;font-size:21px}
.sitemap-panel ul{list-style:none;padding:10px 16px;margin:0}
.sitemap-panel li{padding:7px 0;border-bottom:1px dotted #ccd4dc}
.sitemap-panel li:last-child{border-bottom:0}
@media(max-width:760px){.sitemap-grid{grid-template-columns:1fr}}

/* V23 sidebar icons */
.old-box li{display:flex;align-items:center;gap:9px}
.old-box li .sidebar-icon{flex:0 0 auto;width:18px;height:18px}
.old-box li a{min-width:0}

/* V23 yearly hub */
.yearly-hub-page{padding-top:28px;padding-bottom:24px}
.yearly-hero{max-width:880px;margin-bottom:24px}
.yearly-hero h1{font-size:39px;line-height:1.15;margin:0 0 10px}
.yearly-hero p{font-size:17px;line-height:1.6;margin:0}
.year-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.year-hub-card{display:flex;flex-direction:column;border:1px solid #9eacbb;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.year-preview{display:block;background:#fafafa;border-bottom:1px solid #c1c9d1;padding:12px;text-align:center}
.year-preview img{display:block;width:100%;max-height:330px;object-fit:contain;margin:auto}
.year-hub-body{padding:14px 15px 16px}
.year-hub-body h2{font-size:23px;margin:0 0 7px}
.year-hub-body h2 a{text-decoration:none}
.year-hub-body p{font-size:14px;line-height:1.5;margin:0 0 13px;color:#444}
.year-actions{display:flex;flex-wrap:wrap;gap:7px}
.yearly-help{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
.yearly-help>div{border:1px solid #aeb9c6;background:#f8fafc;padding:16px}
.yearly-help h2{font-size:21px;color:#143d74;margin:0 0 7px}
.yearly-help p{margin:0 0 8px}
@media(max-width:900px){.year-hub-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
  .yearly-hero h1{font-size:30px}
  .year-hub-grid,.yearly-help{grid-template-columns:1fr}
  .year-preview img{max-height:420px}
}

/* V24 approved feature-strip icons */
.approved-strip .feature-icon-img{
 position:absolute;left:22px;top:24px;width:48px;height:48px;object-fit:contain
}
@media(max-width:620px){
 .approved-strip .feature-icon-img{left:14px;top:24px;width:42px;height:42px}
}

/* V25 featured calendar: image only, no duplicate month/year heading */
.mock-featured{padding-top:14px}
.mock-featured #featured-image{margin-top:0}

/* V26 polished visual hubs */
.polished-hub{padding-top:26px;padding-bottom:28px}
.hub-hero{max-width:900px;margin-bottom:22px}
.hub-hero h1{font-size:39px;line-height:1.15;margin:0 0 10px}
.hub-hero p{font-size:17px;line-height:1.6;margin:0}
.hub-feature-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 28px}
.hub-feature-links a{display:block;border:1px solid #aab6c3;background:#f7fafc;padding:13px 14px;text-decoration:none}
.hub-feature-links strong{display:block;font-size:17px;color:#123f7e}
.hub-feature-links span{display:block;font-size:13px;color:#555;margin-top:3px}
.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.preview-card{border:1px solid #a8b3bf;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.preview-image{display:block;background:#fafafa;border-bottom:1px solid #c4ccd4;padding:12px;text-align:center}
.preview-image img{display:block;width:100%;max-height:360px;object-fit:contain;margin:auto}
.preview-body{padding:14px 15px 16px}
.preview-body h2{font-size:21px;line-height:1.25;margin:0 0 7px}
.preview-body h2 a{text-decoration:none}
.preview-body p{font-size:14px;line-height:1.5;color:#444;margin:0 0 12px}
.hub-copy{max-width:900px;margin:30px auto 0}
.hub-copy h2{font-size:24px;margin-bottom:8px}
.hub-copy p{line-height:1.7}
@media(max-width:900px){
  .hub-feature-links{grid-template-columns:repeat(2,1fr)}
  .preview-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .hub-hero h1{font-size:30px}
  .hub-feature-links,.preview-grid{grid-template-columns:1fr}
  .preview-image img{max-height:430px}
}

/* V27 rolling month navigation */
.dropdown .all-year-link{
 font-weight:700;
 background:#eef4f8;
 border-top:1px solid #9aa8ba;
}

/* V28 compact mobile navigation */
.mobile-nav-bar{display:none}
.mobile-menu-toggle{
  display:none;
  width:100%;
  border:0;
  background:#123f7e;
  color:#fff;
  text-align:left;
  font:700 17px Arial,Helvetica,sans-serif;
  padding:12px 14px;
  cursor:pointer;
}
@media(max-width:620px){
  .masthead{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding-top:12px;
    padding-bottom:12px
  }
  .brand-logo img{
    width:250px;
    max-width:78vw;
    margin:0 auto
  }
  .site-search{
    display:flex;
    width:100%;
    margin:0
  }
  .site-search input{
    height:44px;
    font-size:16px;
    padding:8px 10px
  }
  .site-search button{
    height:44px;
    font-size:15px;
    padding:0 16px
  }

  .navbar{
    background:#123f7e;
    border-top:1px solid #0c3266;
    border-bottom:1px solid #0c3266
  }
  .mobile-nav-bar{
    display:block;
    padding-left:0;
    padding-right:0
  }
  .mobile-menu-toggle{
    display:block
  }

  .navinner{
    display:none;
    padding:0;
    width:100%
  }
  .navinner.mobile-open{
    display:block
  }

  .navinner>a,
  .navitem>a{
    display:block;
    padding:11px 14px;
    font-size:15px;
    line-height:1.25;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12)
  }

  .navitem{
    width:100%
  }
  .dropdown{
    display:none!important;
    position:static;
    width:100%;
    min-width:0;
    border:0;
    box-shadow:none;
    background:#0f366c
  }
  .navitem.submenu-open>.dropdown{
    display:block!important
  }
  .dropdown a{
    background:#0f366c;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.10);
    padding:10px 26px;
    font-size:14px
  }
  .dropdown a:hover{
    background:#174a8d
  }
  .dropdown .all-year-link{
    background:#153f77;
    border-top:1px solid rgba(255,255,255,.16)
  }

  main.wrap{
    padding-top:16px
  }
  .breadcrumbs{
    margin-bottom:12px
  }
}

/* V29 guaranteed mobile hamburger navigation */
.mobile-nav-bar{display:none}

@media(max-width:620px){
  .navbar{
    display:block!important;
    background:#123f7e!important;
  }

  .mobile-nav-bar{
    display:block!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
  }

  .mobile-menu-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    width:100%!important;
    min-height:48px!important;
    padding:11px 16px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#123f7e!important;
    color:#fff!important;
    font:700 16px Arial,Helvetica,sans-serif!important;
    cursor:pointer!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .hamburger-bars{
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    width:24px!important;
    height:18px!important;
    flex:0 0 24px!important;
  }

  .hamburger-bars span{
    display:block!important;
    width:24px!important;
    height:3px!important;
    background:#fff!important;
    border-radius:1px!important;
    transition:transform .18s ease,opacity .18s ease!important;
  }

  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(1){
    transform:translateY(7.5px) rotate(45deg)!important;
  }
  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(2){
    opacity:0!important;
  }
  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(3){
    transform:translateY(-7.5px) rotate(-45deg)!important;
  }

  .hamburger-label{
    display:block!important;
    color:#fff!important;
  }

  .navinner{
    display:none!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    background:#123f7e!important;
  }

  .navinner.mobile-open{
    display:block!important;
  }

  .navinner>a,
  .navitem>a{
    padding:10px 16px!important;
    font-size:15px!important;
    line-height:1.25!important;
  }

  .navitem.submenu-open>.dropdown{
    display:block!important;
  }
}

/* V32 mobile hamburger - intentionally appended last to win cascade */
.mobile-nav-bar,.mobile-menu-toggle{display:none}
@media(max-width:700px){
  .navbar{display:block!important;background:#154782!important}
  .mobile-nav-bar{display:block!important;width:100%!important;padding:0!important}
  .mobile-menu-toggle{
    display:flex!important;align-items:center!important;gap:10px!important;
    width:100%!important;min-height:48px!important;padding:11px 16px!important;
    border:0!important;background:#154782!important;color:#fff!important;
    font:700 17px Arial,Helvetica,sans-serif!important;text-align:left!important;
    cursor:pointer!important;visibility:visible!important;opacity:1!important
  }
  .hamburger-bars{display:flex!important;flex-direction:column!important;justify-content:space-between!important;width:25px!important;height:19px!important}
  .hamburger-bars span{display:block!important;width:25px!important;height:3px!important;background:#fff!important;border-radius:2px!important;transition:.18s!important}
  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(1){transform:translateY(8px) rotate(45deg)!important}
  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(2){opacity:0!important}
  .mobile-menu-toggle.is-open .hamburger-bars span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important}
  .navinner{display:none!important;width:100%!important;padding:0!important;margin:0!important;background:#154782!important}
  .navinner.mobile-open{display:block!important}
  .navinner>a,.navitem>a{display:block!important;padding:11px 16px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important;font-size:15px!important}
  .navitem{display:block!important;width:100%!important}
  .dropdown{display:none!important;position:static!important;width:100%!important;min-width:0!important;border:0!important;box-shadow:none!important}
  .navitem.submenu-open>.dropdown{display:block!important}
  .dropdown a{display:block!important;padding:10px 30px!important;background:#103b70!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
}

/* V33 device-aware hamburger navigation */

/* Desktop default */
.mobile-nav-bar,
.mobile-menu-toggle{
  display:none;
}

/* Any device explicitly detected as mobile/touch gets hamburger, regardless of viewport width */
html.mobile-device .navbar{
  display:block!important;
  background:#154782!important;
}
html.mobile-device .mobile-nav-bar{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}
html.mobile-device .mobile-menu-toggle{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:50px!important;
  padding:12px 16px!important;
  border:0!important;
  background:#154782!important;
  color:#fff!important;
  font:700 17px Arial,Helvetica,sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
  visibility:visible!important;
  opacity:1!important;
}
html.mobile-device .navinner{
  display:none!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:#154782!important;
}
html.mobile-device .navinner.mobile-open{
  display:block!important;
}
html.mobile-device .navinner>a,
html.mobile-device .navitem>a{
  display:block!important;
  padding:11px 16px!important;
  border-right:0!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  font-size:15px!important;
}
html.mobile-device .navitem{
  display:block!important;
  width:100%!important;
}
html.mobile-device .dropdown{
  display:none!important;
  position:static!important;
  width:100%!important;
  min-width:0!important;
  border:0!important;
  box-shadow:none!important;
}
html.mobile-device .navitem.submenu-open>.dropdown{
  display:block!important;
}
html.mobile-device .dropdown a{
  display:block!important;
  padding:10px 30px!important;
  background:#103b70!important;
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.1)!important;
}

/* Keep hamburger bars visible */
.hamburger-bars{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  width:25px!important;
  height:19px!important;
  flex:0 0 25px!important;
}
.hamburger-bars span{
  display:block!important;
  width:25px!important;
  height:3px!important;
  background:#fff!important;
  border-radius:2px!important;
  transition:.18s!important;
}
.mobile-menu-toggle.is-open .hamburger-bars span:nth-child(1){
  transform:translateY(8px) rotate(45deg)!important;
}
.mobile-menu-toggle.is-open .hamburger-bars span:nth-child(2){
  opacity:0!important;
}
.mobile-menu-toggle.is-open .hamburger-bars span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg)!important;
}

/* Width fallback for small browser windows / desktop responsive testing */
@media(max-width:900px){
  .mobile-nav-bar{
    display:block!important;
    width:100%!important;
    padding:0!important;
  }
  .mobile-menu-toggle{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:50px!important;
    padding:12px 16px!important;
    border:0!important;
    background:#154782!important;
    color:#fff!important;
    font:700 17px Arial,Helvetica,sans-serif!important;
    text-align:left!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .navinner{
    display:none!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    background:#154782!important;
  }
  .navinner.mobile-open{
    display:block!important;
  }
  .navitem.submenu-open>.dropdown{
    display:block!important;
  }
}

/* V34 mobile navigation: compact horizontal swipe bar, no hamburger, no dropdowns */
@media(max-width:900px){
  .navbar{
    display:block!important;
    background:#123f7e!important;
    border-top:1px solid #0c3266!important;
    border-bottom:1px solid #0c3266!important;
    overflow:hidden!important;
  }

  .mobile-nav-bar,
  .mobile-menu-toggle{
    display:none!important;
  }

  .navinner{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:0!important;
    width:100%!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 10px!important;
    margin:0!important;
    background:#123f7e!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    white-space:nowrap!important;
  }

  .navinner::-webkit-scrollbar{
    display:none!important;
  }

  .navinner>a,
  .navitem{
    flex:0 0 auto!important;
    width:auto!important;
    display:block!important;
  }

  .navinner>a,
  .navitem>a{
    display:block!important;
    color:#fff!important;
    background:#123f7e!important;
    text-decoration:none!important;
    font:700 14px Arial,Helvetica,sans-serif!important;
    line-height:1!important;
    padding:14px 13px!important;
    margin:0!important;
    border:0!important;
    border-right:1px solid rgba(255,255,255,.14)!important;
    border-radius:0!important;
  }

  .navinner>a:first-child{
    border-left:1px solid rgba(255,255,255,.14)!important;
  }

  .navinner>a:active,
  .navitem>a:active{
    background:#0f376d!important;
  }

  /* Absolutely no dropdown expansion on phone/tablet navigation. */
  .dropdown,
  .navitem .dropdown,
  .navitem:hover .dropdown,
  .navitem.submenu-open>.dropdown{
    display:none!important;
    visibility:hidden!important;
    position:absolute!important;
    pointer-events:none!important;
  }

  /* Make top-level year/template items directly tappable. */
  .navitem>a{
    pointer-events:auto!important;
  }
}

/* Extra compact treatment on narrow phones */
@media(max-width:480px){
  .navinner{
    padding-left:6px!important;
    padding-right:6px!important;
  }
  .navinner>a,
  .navitem>a{
    font-size:13px!important;
    padding:13px 11px!important;
  }
}


/* ================================================================
   V35 GLOBAL RESPONSIVE / UX SAFETY LAYER
   Keep every page and media element inside the viewport.
   ================================================================ */

html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
}
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body,main,header,footer,section,article,aside,nav,div,figure{
  min-width:0;
}
.wrap{
  width:100%;
  max-width:1420px;
  margin-left:auto;
  margin-right:auto;
}
main.wrap,
.simple-page,
.content,
.polished-hub,
.yearly-hub-page,
.home-main{
  width:100%;
  min-width:0;
}

/* No calendar/image/media element can force horizontal scrolling. */
img,
picture,
svg,
canvas,
video,
iframe,
embed,
object{
  max-width:100%!important;
  height:auto;
}
figure{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0;
  margin-right:0;
}
figure>a,
.calendar-card>a,
.preview-image,
.year-preview{
  display:block;
  width:100%;
  max-width:100%;
}

/* Evergreen template pages such as Monthly Planner, Birthday, Academic, etc. */
.calendar-card{
  width:100%;
  max-width:960px;
  min-width:0;
  margin:0 auto 26px;
  padding:14px;
  border:1px solid #aeb8c2;
  background:#fff;
  overflow:hidden;
}
.calendar-card h2{
  margin-top:0;
}
.calendar-card figure{
  margin:0;
}
.calendar-card img{
  display:block;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto;
}
.calendar-card figcaption{
  overflow-wrap:anywhere;
}

/* Grid/flex children are allowed to shrink instead of overflowing. */
.grid>*,
.home-grid>*,
.hub-grid>*,
.preview-grid>*,
.year-hub-grid>*,
.related-grid>*,
.hub-feature-links>*,
.yearly-help>*,
.feature-strip>*,
.home-layout>*,
.sitemap-grid>*,
.control-grid>*{
  min-width:0;
  max-width:100%;
}

/* Long titles, URLs, captions and user-inserted content cannot expand page width. */
h1,h2,h3,h4,h5,h6,p,li,a,figcaption,span,strong,label{
  overflow-wrap:anywhere;
}
input,
textarea,
select,
button{
  max-width:100%;
  min-width:0;
}
.site-search{
  min-width:0;
}
.site-search input{
  min-width:0;
}

/* Buttons wrap cleanly instead of pushing outside narrow cards. */
.actions,
.year-actions{
  max-width:100%;
}
.actions .btn,
.year-actions .btn{
  white-space:normal;
  text-align:center;
}

/* Shared ad/snippet system: third-party creative must not widen the document. */
.master-ad-slot{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.master-ad-slot>*,
.master-ad-slot ins,
.master-ad-slot div,
.master-ad-slot iframe,
.master-ad-slot img{
  max-width:100%!important;
}

/* Tables/preformatted content added later remain usable on small screens. */
table{
  width:100%!important;
  max-width:100%!important;
  border-collapse:collapse;
}
pre{
  max-width:100%;
  overflow-x:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
code{
  overflow-wrap:anywhere;
}

/* Mobile/tablet refinements */
@media(max-width:900px){
  .wrap{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .masthead{
    width:100%;
    min-width:0;
  }
  .brand-logo{
    display:block;
    max-width:100%;
  }
  .brand-logo img{
    max-width:min(78vw,340px)!important;
    height:auto!important;
  }
  .site-search{
    width:100%!important;
    max-width:100%!important;
  }

  /* Preserve V34 compact horizontal swipe navigation. */
  .navbar{
    max-width:100vw!important;
    overflow:hidden!important;
  }
  .navinner{
    max-width:100vw!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }

  .grid,
  .home-grid,
  .hub-grid,
  .preview-grid,
  .year-hub-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .single-calendar,
  .calendar-card,
  .card,
  .preview-card,
  .year-hub-card{
    max-width:100%!important;
  }

  .hero h1,
  .hub-hero h1,
  .yearly-hero h1{
    font-size:clamp(28px,7vw,36px)!important;
  }
}

@media(max-width:620px){
  .wrap{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .grid,
  .home-grid,
  .hub-grid,
  .preview-grid,
  .year-hub-grid,
  .related-grid,
  .hub-feature-links,
  .yearly-help,
  .feature-strip,
  .home-layout,
  .sitemap-grid,
  .control-grid{
    grid-template-columns:1fr!important;
  }

  .card,
  .calendar-card,
  .single-calendar,
  .preview-card,
  .year-hub-card{
    width:100%!important;
    max-width:100%!important;
    padding-left:9px;
    padding-right:9px;
  }

  .card img,
  .calendar-card img,
  .single-calendar img,
  .preview-image img,
  .year-preview img,
  .featured-calendar img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%;
  }
  .actions .btn{
    width:100%;
    min-width:0;
  }

  .prevnext{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .prevnext a{
    min-width:0;
    overflow-wrap:anywhere;
  }

  .hero h1,
  .simple-page h1,
  .hub-hero h1,
  .yearly-hero h1{
    font-size:clamp(27px,8vw,32px)!important;
  }
  .hero p,
  .hub-hero p,
  .yearly-hero p{
    font-size:16px!important;
  }

  .breadcrumbs{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  /* Ensure the evergreen Monthly Planner-style image can never leave frame. */
  .calendar-card figure,
  .calendar-card figure a{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
}

/* Very narrow phones */
@media(max-width:380px){
  .actions{
    grid-template-columns:1fr!important;
  }
  .prevnext{
    grid-template-columns:1fr!important;
  }
  .btn{
    font-size:12px!important;
  }
}

/* V41: calendar preview card frame cleanup ONLY */
.card figure,
.calendar-card figure,
.preview-card .preview-image,
.year-hub-card .year-preview,
.featured-calendar{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

.card img,
.calendar-card img,
.preview-card img,
.year-hub-card img,
.featured-calendar img,
.single-calendar img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* Keep the actual card boundary so cards remain visually organized. */
.card,
.calendar-card,
.preview-card,
.year-hub-card,
.single-calendar{
  border:1px solid #b9c0c8!important;
}


/* ============================================================
   V43 GLOBAL PREVIEW FRAME CLEANUP — CSS ONLY
   Removes website-side nested frames around previews everywhere.
   Does NOT alter borders drawn inside the printable image itself.
   ============================================================ */

/* Remove intermediate preview wrappers/borders/backgrounds */
.card figure,
.calendar-card figure,
.single-calendar figure,
.preview-card .preview-image,
.year-hub-card .year-preview,
.featured-calendar,
.home-calendar,
.hub-card,
.preview-image,
.year-preview {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Images themselves should not receive another website border */
.card img,
.calendar-card img,
.single-calendar img,
.preview-card img,
.year-hub-card img,
.featured-calendar img,
.home-calendar img,
.hub-card img,
.preview-image img,
.year-preview img,
figure img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Keep ONE outer card boundary for organization */
.card,
.calendar-card,
.single-calendar,
.preview-card,
.year-hub-card {
  border: 1px solid #b9c0c8 !important;
  box-shadow: none !important;
}

/* Avoid double borders where cards sit inside a framed parent */
.grid,
.home-grid,
.hub-grid,
.preview-grid,
.year-hub-grid {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Keep whitespace around printable previews instead of visual frames */
.card figure,
.calendar-card figure,
.single-calendar figure,
.preview-card .preview-image,
.year-hub-card .year-preview {
  padding: 6px !important;
}

/* Mobile: no nested frame effect on narrow screens */
@media(max-width: 620px) {
  .card,
  .calendar-card,
  .single-calendar,
  .preview-card,
  .year-hub-card {
    border-width: 1px !important;
  }

  .card figure,
  .calendar-card figure,
  .single-calendar figure,
  .preview-card .preview-image,
  .year-hub-card .year-preview {
    padding: 4px !important;
  }
}


/* ============================================================
   V44 — REMOVE DUPLICATE CALENDAR CARD CAPTION
   Keep the bold calendar title only.
   ============================================================ */
.card figure > figcaption,
.calendar-card figure > figcaption,
.single-calendar figure > figcaption,
.preview-card figure > figcaption,
.year-hub-card figure > figcaption,
.card .caption,
.calendar-card .caption,
.preview-card .caption,
.calendar-card .preview-caption,
.preview-card .preview-caption {
  display: none !important;
}
