/*
Theme Name: Scott's Cruises
Theme URI: https://scottscruises.com
Author: Scott Sanfilippo
Author URI: https://scottscruises.com
Description: Custom editorial theme for ScottsCruises.com -- cruise news, reviews, deals and tips. Mega-menu navigation, dedicated hard-coded ad widget areas, and a mobile-first responsive layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: scottscruises
*/

:root{
  --navy:#0f2f4c;
  --coral:#c9522f;
  --gold:#e8a05c;
  --sand:#faf9f6;
  --sand-dark:#f2efe6;
  --border:#eceae4;
  --border-strong:#d9d4c8;
  --text:#152a3a;
  --text-body:#2a3b48;
  --text-muted:#5b6a76;
  --muted:#8a97a3;
  --font-head:'Space Grotesk',Georgia,serif;
  --font-body:'Work Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  --link:#0f2f4c;
  --link-hover:#c9522f;
  --link-visited:#0f2f4c;
  --max:1440px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--sand);font-family:var(--font-body);color:var(--text);font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%;text-size-adjust:100%}
h1,h2,h3,h4,p{overflow-wrap:break-word;word-break:break-word}
img,iframe,video,svg{max-width:100%}
a{color:var(--link);text-decoration:none}
a:hover{color:var(--link-hover)}
a:visited{color:var(--link-visited)}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--navy);margin:0}
.screen-reader-text{position:absolute;left:-9999px}

.site-wrap{max-width:var(--max);margin:0 auto;background:#fff;box-shadow:0 0 40px rgba(15,47,76,.05);position:relative}

/* header */
.site-header{display:flex;align-items:center;gap:24px;padding:16px 24px;border-bottom:1px solid var(--border)}
.site-logo{flex:1;min-width:0;display:flex;align-items:center;font:700 22px var(--font-head);color:var(--navy)}
.site-logo img{max-height:120px;max-width:100%;width:auto}
.site-search{flex:1;display:flex;align-items:center;max-width:520px;border:1.5px solid var(--border-strong);border-radius:24px;padding:9px 18px;gap:10px;background:var(--sand)}
.site-search input{border:none;background:transparent;outline:none;font-size:14px;width:100%;font-family:var(--font-body)}
.site-search svg{flex:none;stroke:#7c8894}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.icon-btn{border:1.5px solid var(--border-strong);background:#fff;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.icon-btn svg{stroke:var(--text)}
.header-social{display:flex;gap:10px;justify-content:flex-end;flex:none}
.header-social a{width:36px;height:36px;border-radius:50%;border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;color:var(--navy);flex:none}
.header-social a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.mobile-search-bar{display:none;padding:10px 24px;border-bottom:1px solid var(--border)}
.mobile-search-bar .site-search{max-width:none}

/* ad slots */
.ad-slot{width:100%;background:#ffffff;border:1px dashed #d8d8d5;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px;gap:6px}
.ad-support-label{font-size:10.5px;color:var(--muted);letter-spacing:.02em}
.ad-slot--empty span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#9b9282}
.ad-slot.h-90{min-height:90px}
.ad-slot.h-100{min-height:100px}
.ad-slot.h-250{min-height:250px}
.ad-slot.h-600{min-height:600px}
.ad-slot.h-70{min-height:70px}

/* primary nav / mega menu (desktop) */
.primary-nav{display:flex;align-items:center;padding:0 24px;background:var(--navy);position:relative;z-index:20}
.sc-sticky-nav .primary-nav{position:sticky;top:0;z-index:60}
.primary-menu{display:flex;list-style:none;margin:0;padding:0}
.primary-menu > li{position:relative}
.primary-menu > li > a{display:flex;align-items:center;gap:5px;padding:15px 18px;color:#fff;font:600 14px var(--font-head);white-space:nowrap;transition:background .15s ease,box-shadow .15s ease;position:relative}
.primary-menu > li > a:hover{background:rgba(255,255,255,.2) !important}
.primary-menu > li.sc-open > a{background:rgba(255,255,255,.2)}
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li.current_page_ancestor > a{background:transparent;box-shadow:inset 0 -3px 0 var(--gold)}
.primary-menu > li.menu-item-has-children > a{padding-right:6px}
.primary-menu > li.menu-item-has-children > a .sc-caret{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:1;opacity:.75;padding:0 6px;margin-left:0;border-radius:4px;align-self:center}
.primary-menu > li.menu-item-has-children > a .sc-caret:hover{background:rgba(255,255,255,.18);opacity:1}
.primary-menu li.sc-deals > a{color:var(--gold)}
.primary-menu .sub-menu{list-style:none;margin:0;padding:0}
.primary-menu > li > .sub-menu{position:absolute;top:100%;left:0;background:#fff;box-shadow:0 16px 32px rgba(15,47,76,.18);border-radius:0 0 10px 10px;padding:20px 24px;display:none;flex-direction:column;gap:2px;min-width:240px;z-index:30}
.primary-menu > li.sc-open > .sub-menu{display:flex}
.primary-menu > li.menu-item-mega > .sub-menu{flex-direction:row;gap:40px;min-width:520px;padding:24px}
.primary-menu > li.menu-item-mega > .sub-menu > li{min-width:160px;display:flex;flex-direction:column;gap:8px}
.primary-menu > li > .sub-menu > li{min-width:160px}
.primary-menu > li.menu-item-mega > .sub-menu > li > a{font:600 13px var(--font-head);color:var(--navy);padding:0 0 10px;display:block;transition:color .12s ease}
.primary-menu > li.menu-item-mega > .sub-menu > li > a:hover{color:var(--coral)}
/* Flat (non-mega) dropdowns can mix parent/child/grandchild items — give
   each depth a distinct visual weight so it reads as a tree, not a flat list. */
.primary-menu > li:not(.menu-item-mega) > .sub-menu > li > a{font:600 14px var(--font-head);color:var(--navy);padding:9px 0 5px;display:block;transition:color .12s ease}
.primary-menu > li:not(.menu-item-mega) > .sub-menu > li > a:hover{color:var(--coral)}
.primary-menu > li:not(.menu-item-mega) > .sub-menu > li:not(:first-child) > a{margin-top:4px;border-top:1px solid var(--border);padding-top:13px}
.primary-menu > li > .sub-menu .sub-menu{display:flex !important;flex-direction:column;gap:4px;position:static;box-shadow:none;background:none;min-width:0;margin:2px 0 8px;padding:2px 0 2px 14px;border-left:2px solid var(--border)}
.primary-menu > li > .sub-menu .sub-menu a{font:400 13px var(--font-body);color:var(--text-muted);padding:2px 0;transition:color .12s ease}
.primary-menu > li > .sub-menu .sub-menu a:hover{color:var(--coral)}
.primary-menu > li > .sub-menu .sub-menu .sub-menu{margin:2px 0 4px;padding-left:12px}

/* mobile top bar controls */
.mobile-menu-toggle,.mobile-search-toggle{display:none}

/* mobile full-screen overlay */
.mobile-overlay{position:fixed;inset:0;background:var(--navy);z-index:1000;overflow-y:auto;-webkit-overflow-scrolling:touch;display:none}
.mobile-overlay.is-open{display:block}
.mobile-overlay__head{position:sticky;top:0;z-index:2;background:var(--navy);display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid rgba(255,255,255,.12)}
.mobile-overlay__head span{color:#fff;font:600 17px var(--font-head)}
.mobile-overlay__close{background:transparent;border:none;color:#fff;font-size:28px;cursor:pointer;line-height:1;padding:4px 8px;flex:none}
.mobile-menu{list-style:none;margin:0;padding:16px 24px 40px;display:flex;flex-direction:column;gap:2px}
.mobile-menu li{border-bottom:1px solid rgba(255,255,255,.12)}
.mobile-menu > li > a{display:flex;justify-content:space-between;align-items:center;padding:14px 0;color:#fff;font:600 16px var(--font-head)}
.mobile-parent-toggle{display:flex;justify-content:space-between;align-items:center;padding:14px 0;color:#fff;font:600 16px var(--font-head);cursor:pointer}
.mobile-view-all{display:none}
.mobile-menu li.sc-deals > a{color:var(--gold)}
.mobile-menu .menu-item-has-children > a::after{content:"+";font-weight:400}
.mobile-menu .menu-item-has-children.is-open > a::after{content:"\2212"}
.mobile-parent-toggle::after{content:"+";font-weight:400;opacity:.8}
.mobile-menu .menu-item-has-children.is-open .mobile-parent-toggle::after{content:"\2212"}
.mobile-menu .sub-menu{list-style:none;margin:0;padding:0 0 12px 12px;display:none;flex-direction:column;gap:10px}
.mobile-menu .menu-item-has-children.is-open > .sub-menu{display:flex}
.mobile-menu .sub-menu li{border:none}
.mobile-menu .sub-menu a{color:#c7d3dc;font-size:14.5px;padding:0;font-weight:400}
.mobile-social{padding:0 24px 32px;display:flex;gap:14px}
.mobile-social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;color:#fff}

/* tool tiles */
.tool-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:20px 24px;background:var(--sand);border-bottom:1px solid var(--border)}
.tool-tile{display:flex;align-items:center;gap:10px;border-radius:10px;padding:10px 16px;flex:1 1 150px;min-width:150px;max-width:220px;color:var(--text)}
.tool-tile .icon{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.tool-tile .icon svg{stroke:#fff}
.tool-tile span.label{font:600 13.5px var(--font-head)}

/* home / archive layout */
.content-layout{display:flex;gap:28px;padding:28px 24px;align-items:flex-start}
.content-sidebar{width:296px;flex:none;min-width:0;overflow:hidden;display:flex;flex-direction:column;gap:22px;position:sticky;top:20px}
.content-sidebar *{overflow-wrap:break-word}
.content-sidebar ul{margin:0;padding-left:18px}
.content-sidebar li{margin-bottom:8px;font-size:13.5px}
.sidebar-block-label{font:600 11px var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:#8a7a5c;margin-bottom:10px}
.newsletter-box{background:#5b7a94;border-radius:10px;padding:22px;position:relative;z-index:2}
.newsletter-box,.newsletter-box *{pointer-events:auto}
.newsletter-box h4{color:#fff;font-size:16px;margin-bottom:6px}
.newsletter-box p{font-size:13px;color:#e3ebf1;margin:0 0 14px}
.newsletter-box input[type=email]{width:100%;box-sizing:border-box;padding:10px 12px;border-radius:6px;border:none;font-size:13px;margin-bottom:8px;position:relative;z-index:1}
.newsletter-box button{width:100%;background:var(--gold);border:none;border-radius:6px;padding:10px;font:600 13px var(--font-head);color:var(--navy);cursor:pointer;position:relative;z-index:1}
.newsletter-box__jetpack .wp-block-jetpack-subscriptions{margin:0}
.popular-list{display:flex;flex-direction:column;gap:12px}
.popular-list a{display:flex;gap:10px;color:var(--text)}
.popular-list .rank{font:700 18px var(--font-head);color:var(--border-strong);flex:none}
.popular-list .title{font-size:13.5px;line-height:1.35}
.video-embed{width:100%;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#000}
.video-embed iframe{width:100%;height:100%;border:0}

.content-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px}
.content-section{margin-bottom:6px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}
.section-head h2{font-size:22px}
.section-head a{font:600 13px var(--font-head);color:var(--coral)}
.section-hero{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.section-hero img{width:340px;height:220px;object-fit:cover;border-radius:8px;flex:none}
.section-hero__body{flex:1;min-width:240px;display:flex;flex-direction:column;gap:10px;justify-content:center;max-width:100%}
.section-hero__body .tag{font:600 11px var(--font-head);letter-spacing:.07em;text-transform:uppercase;color:var(--coral)}
.section-hero__body h3{font-size:24px;line-height:1.25}
.section-hero__body p{font-size:14.5px;line-height:1.55;color:var(--text-muted);margin:0}
.thumb-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.thumb-grid a{display:flex;flex-direction:column;gap:8px;color:var(--text)}
.thumb-grid .title{font-size:13px;font-weight:600;line-height:1.35}
.section-ad{margin-top:20px}

/* archive listing */
.archive-header{padding:32px 24px 20px;border-bottom:1px solid var(--border)}
.breadcrumb{font-size:12.5px;color:var(--muted);margin-bottom:10px}
.archive-header h1{font-size:34px;margin-bottom:8px}
.archive-header p{font-size:15px;color:var(--text-muted);margin:0;max-width:640px}
.filter-list{display:flex;flex-direction:column;gap:8px;font-size:13.5px}
.content-sidebar .widget_categories ul,
.content-sidebar .widget_categories li{list-style:none;margin:0;padding:0}
.content-sidebar .widget_categories li{margin-bottom:8px;font-size:13.5px}
.content-sidebar .widget_categories a{color:var(--navy)}
.content-sidebar .widget_categories a:hover{color:var(--coral)}
.post-list{display:flex;flex-direction:column;gap:22px}
.post-list article{display:flex;gap:20px;color:var(--text);padding-bottom:22px;border-bottom:1px solid var(--border)}
.post-list img{width:220px !important;height:150px !important;object-fit:cover;object-position:center;border-radius:8px;flex:none}
.thumb-grid img{width:100% !important;height:96px !important;object-fit:cover;object-position:center;border-radius:6px}
/* Belt-and-suspenders: clip to a fixed frame regardless of the img's own
   rendered size, in case something (a plugin, an inline style) fights the
   width/height/object-fit above -- the frame's overflow:hidden guarantees
   a uniform visual crop no matter what the <img> itself does. */
.post-list .thumb-frame{width:220px;height:150px;flex:none;display:block;overflow:hidden;border-radius:8px}
.post-list .thumb-frame img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}
.post-list .body{display:flex;flex-direction:column;gap:8px;justify-content:center}
.post-list h3{font-size:20px;line-height:1.3}
.post-list p{font-size:14px;line-height:1.55;color:var(--text-muted);margin:0}
.post-list .meta{font-size:12.5px;color:var(--muted)}
.pagination{padding-top:12px}
.pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pagination a,.pagination span{min-width:38px;height:38px;border-radius:6px;border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;font:600 13px var(--font-head);padding:0 10px}
.pagination .current{color:#fff;background:var(--navy);border-color:var(--navy)}

/* single post */
.breadcrumb-bar{padding:18px 24px 0;font-size:12.5px;color:var(--muted);max-width:1320px;margin:0 auto}
.post-layout{display:flex;gap:36px;padding:16px 24px 48px;align-items:flex-start;max-width:1320px;margin:0 auto}
.post-article{flex:1;min-width:0;max-width:760px}
.post-article.post-article--full{max-width:1000px;margin:0 auto}
.post-article .tag{font:600 11px var(--font-head);letter-spacing:.07em;text-transform:uppercase;color:var(--coral)}
.post-article h1{font-size:38px;line-height:1.2;margin:10px 0 14px}
.post-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);margin-bottom:22px;flex-wrap:wrap}
.post-featured-img{margin-bottom:24px}
.post-featured-img img{width:100%;max-height:420px;object-fit:cover;border-radius:10px;display:block}
.post-body p{margin:0 0 20px}
.post-body h2{font-size:24px;margin:28px 0 12px}
.post-body img{max-width:min(100%,1000px);height:auto;border-radius:8px;margin:20px auto !important;display:block;float:none !important}

/* WordPress galleries (Gutenberg gallery block + classic [gallery] shortcode)
   lay images out in a grid/row -- the general img rule above would force
   each one to full block width and break that, so override it back here. */
.post-body .wp-block-gallery{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0;list-style:none;padding:0}
.post-body .wp-block-gallery .wp-block-image,
.post-body .wp-block-gallery figure.blocks-gallery-item{margin:0;flex:1 1 200px;max-width:100%}
.post-body .wp-block-gallery .wp-block-image img,
.post-body .wp-block-gallery figure.blocks-gallery-item img{width:100%;height:100%;max-width:none;object-fit:cover;border-radius:6px;margin:0;display:block}
.post-body .wp-block-gallery figcaption{font-size:12px;color:var(--muted);margin-top:6px}

.post-body .gallery{display:grid;gap:12px;margin:20px 0;list-style:none;padding:0}
.post-body .gallery-columns-1{grid-template-columns:repeat(1,1fr)}
.post-body .gallery-columns-2{grid-template-columns:repeat(2,1fr)}
.post-body .gallery-columns-3{grid-template-columns:repeat(3,1fr)}
.post-body .gallery-columns-4{grid-template-columns:repeat(4,1fr)}
.post-body .gallery-columns-5{grid-template-columns:repeat(5,1fr)}
.post-body .gallery-columns-6{grid-template-columns:repeat(6,1fr)}
.post-body .gallery-columns-7{grid-template-columns:repeat(7,1fr)}
.post-body .gallery-columns-8{grid-template-columns:repeat(8,1fr)}
.post-body .gallery-columns-9{grid-template-columns:repeat(9,1fr)}
.post-body .gallery-item{margin:0;max-width:100%}
.post-body .gallery-icon{aspect-ratio:1;overflow:hidden;border-radius:6px}
.post-body .gallery-icon img{width:100%;height:100%;max-width:none;object-fit:cover;border-radius:6px;margin:0;display:block}
.post-body .gallery-caption{font-size:12px;color:var(--muted);margin-top:6px;text-align:center}
.post-body figure{margin:20px auto;max-width:100%;text-align:center}
.post-body figure.alignleft,.post-body figure.alignright{float:none !important;margin:20px auto !important}
.post-body .wp-caption{margin-left:auto !important;margin-right:auto !important;float:none !important}
.post-body figcaption{font-size:13px;color:var(--muted);margin-top:8px}
/* Gutenberg alignfull/alignwide break out of the content column by design;
   this theme has no wide grid track, so cap them to the article width
   instead of letting them overlap the sticky ad rail. */
.post-body .alignfull,
.post-body .alignwide,
.post-body img.alignfull,
.post-body img.alignwide,
.post-body figure.alignfull,
.post-body figure.alignwide{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
.post-ad{margin:28px 0}
.author-box{display:flex;gap:14px;align-items:center;padding:22px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:20px}
.author-box img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.author-box .name{font:600 14px var(--font-head);color:var(--text)}
.author-box .bio{font-size:13px;color:var(--muted)}
.author-box-social{display:flex;gap:8px;margin-top:8px}
.author-box-social a{width:26px;height:26px;border-radius:50%;border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;color:var(--navy)}
.author-box-social a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.related-posts{margin-top:28px}
.post-rail{width:300px;flex:none;display:flex;flex-direction:column;gap:20px;position:sticky;top:20px}

/* Comments */
.sc-comments{margin-top:40px;padding-top:32px;border-top:1px solid var(--border)}
.sc-comments-title{font-size:24px;margin-bottom:24px}
.sc-comments-title span{color:var(--coral)}
.sc-comment-list{list-style:none;margin:0;padding:0}
.sc-comment-list .children{list-style:none;margin:20px 0 0;padding:0 0 0 32px;border-left:2px solid var(--border)}
/* Cap indentation so very deep reply threads can't compound down to an
   unreadably narrow column -- levels beyond the 4th stop indenting further. */
.sc-comment-list .children .children .children .children{padding-left:0;border-left:none;margin-left:0}
.tag-filter-bar{padding:18px 24px 22px;max-width:var(--max);margin:0 auto}
.tag-filter-label{font:700 11px var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.tag-filter-pills{display:flex;flex-wrap:wrap;gap:9px}
.tag-pill{display:inline-flex;align-items:center;padding:7px 16px;border-radius:999px;border:1.5px solid var(--border-strong);font-size:13px;font-weight:600;color:var(--text-muted);background:#fff;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,box-shadow .15s}
.tag-pill:hover{border-color:var(--navy);color:var(--navy)}
.tag-pill.is-active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 0 0 3px rgba(15,47,76,.18)}
.tag-pill--c1{border-color:#c9522f4d;color:#c9522f}
.tag-pill--c1:hover{border-color:var(--coral);color:var(--coral)}
.tag-pill--c1.is-active{background:var(--coral);border-color:var(--coral);color:#fff;box-shadow:0 0 0 3px rgba(201,82,47,.2)}
.tag-pill--c2{border-color:#0f6b5c4d;color:#0f6b5c}
.tag-pill--c2:hover{border-color:#0f6b5c;color:#0f6b5c}
.tag-pill--c2.is-active{background:#0f6b5c;border-color:#0f6b5c;color:#fff;box-shadow:0 0 0 3px rgba(15,107,92,.2)}
.tag-pill--c3{border-color:#b9861f4d;color:#9c701a}
.tag-pill--c3:hover{border-color:#9c701a;color:#9c701a}
.tag-pill--c3.is-active{background:#b9861f;border-color:#b9861f;color:#fff;box-shadow:0 0 0 3px rgba(185,134,31,.2)}
.tag-pill--c4{border-color:#4a5fb54d;color:#4a5fb5}
.tag-pill--c4:hover{border-color:#4a5fb5;color:#4a5fb5}
.tag-pill--c4.is-active{background:#4a5fb5;border-color:#4a5fb5;color:#fff;box-shadow:0 0 0 3px rgba(74,95,181,.2)}
.tag-pill--c5{border-color:#8a4a9e4d;color:#8a4a9e}
.tag-pill--c5:hover{border-color:#8a4a9e;color:#8a4a9e}
.tag-pill--c5.is-active{background:#8a4a9e;border-color:#8a4a9e;color:#fff;box-shadow:0 0 0 3px rgba(138,74,158,.2)}
.sc-comment{padding:20px 0;border-bottom:1px solid var(--border);min-width:0}
.sc-comment-row{display:flex;gap:14px;min-width:0}
.sc-comment-list .children .sc-comment:last-child{border-bottom:none;padding-bottom:0}
.sc-comment-avatar{flex:none}
.sc-comment-avatar img{border-radius:50%;display:block}
.sc-comment-body{flex:1;min-width:0;overflow-wrap:break-word;word-break:break-word}
.sc-comment-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:8px}
.sc-comment-author{font:600 14.5px var(--font-head);color:var(--navy)}
.sc-comment-date a{font-size:12.5px;color:var(--muted)}
.sc-comment-date a:hover{color:var(--coral)}
.sc-comment-edit a{font-size:12.5px;color:var(--muted)}
.sc-comment-awaiting{font-size:13px;font-style:italic;color:var(--coral);margin:0 0 8px}
.sc-comment-content{font-size:15px;line-height:1.65;color:var(--text-body);min-width:0;overflow-wrap:break-word;word-break:break-word}
.sc-comment-content table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;display:block;overflow-x:auto}
.sc-comment-content td,.sc-comment-content th{word-break:break-word;padding:6px 8px;border:1px solid var(--border)}
.sc-comment-content p{margin:0 0 12px}
.sc-comment-content p:last-child{margin-bottom:0}
.sc-comment-reply{margin-top:8px}
.sc-comment-reply a{font:600 12.5px var(--font-head);color:var(--coral);text-transform:uppercase;letter-spacing:.03em}
.sc-comments-closed{font-size:14px;color:var(--muted);font-style:italic}
.sc-comment-reply-title{font-size:20px;margin:32px 0 16px}
#respond{margin-top:8px}
.comment-form-comment textarea{width:100%;box-sizing:border-box;border:1.5px solid var(--border-strong);border-radius:8px;padding:12px 14px;font:15px var(--font-body);color:var(--text);resize:vertical;margin-bottom:14px}
.comment-form-author input,.comment-form-email input,.comment-form-url input{width:100%;box-sizing:border-box;border:1.5px solid var(--border-strong);border-radius:8px;padding:10px 14px;font:14px var(--font-body);margin-bottom:14px}
.comment-notes,.comment-form-cookies-consent{font-size:13px;color:var(--muted);margin-bottom:12px}
.comment-form-cookies-consent{display:flex;align-items:center;gap:8px}
.sc-comment-submit{background:var(--navy);color:#fff;border:none;border-radius:6px;padding:12px 24px;font:600 14px var(--font-head);cursor:pointer}
.sc-comment-submit:hover{background:var(--coral)}
.logged-in-as{font-size:13px;color:var(--muted);margin-bottom:12px}
.logged-in-as a{color:var(--navy)}

/* Accordion / FAQ blocks -- WordPress core Details block (question in
   <summary>, answer in the body). Collapsed by default, "+" marker, a
   highlighted background + "-" marker only for the open item. */
.post-body details,.page-content details{border:1.5px solid #1a2b38;border-radius:10px;margin:0 0 14px;overflow:hidden}
.post-body details + details,.page-content details + details{margin-top:14px}
.post-body summary,.page-content summary{list-style:none;cursor:pointer;padding:18px 22px;font-size:17px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:14px;position:relative}
.post-body summary::-webkit-details-marker,.page-content summary::-webkit-details-marker{display:none}
.post-body summary::before,.page-content summary::before{content:"+";font-size:20px;font-weight:400;color:var(--text);flex:none;width:18px}
.post-body details[open] summary::before,.page-content details[open] summary::before{content:"\2212"}
.post-body details[open] summary,.page-content details[open] summary{background:#cfe7fb}
.post-body details .sc-details-body,.post-body details > *:not(summary),
.page-content details .sc-details-body,.page-content details > *:not(summary){padding:0 22px 18px}

/* page template */
.page-content{font-size:17px;line-height:1.75;color:var(--text-body)}
.page-content h1{font-size:36px;margin-bottom:20px}

/* footer */
.site-footer{border-top:1px solid var(--border);padding:22px 24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.site-footer .copyright{font-size:13px;color:var(--muted)}
.footer-social{display:flex;gap:10px}
.footer-social a{width:34px;height:34px;border-radius:50%;border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;color:var(--navy)}
.footer-social a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Tablet: drop the sticky ad rail / sidebar (they crowd a narrower two-column
   layout and the "floating" sticky behavior feels broken at this width) but
   keep the full desktop nav until the 880px mobile breakpoint. */
@media (max-width:1100px){
  .content-sidebar,.post-rail{display:none}
  .content-layout{flex-direction:column;align-items:stretch}
  .post-layout{flex-direction:column;gap:0;align-items:stretch}
  .post-article{max-width:none;margin:0;width:100%}
  .thumb-grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:880px){
  .site-header .site-search,.header-ad{display:none}
  .mobile-menu-toggle,.mobile-search-toggle{display:flex}
  .primary-nav{display:none}
  .mobile-search-bar.is-open{display:block}

  .site-header{padding:12px 16px;gap:12px}
  .sc-sticky-header-mobile .site-header{position:sticky;top:0;z-index:80;background:#fff}
  .header-social{display:none}
  .site-logo img{max-height:56px}
  .icon-btn{width:44px;height:44px}
  .mobile-menu-toggle svg{width:20px;height:20px}
  .breadcrumb-bar,.archive-header,.page-content,.post-layout{padding-left:16px;padding-right:16px}
  .content-layout{padding:16px}
  .tool-tiles{padding:14px 16px}

  .section-hero{flex-direction:column;align-items:stretch}
  .section-hero img{width:100%;height:180px}
  .section-hero__body h3{font-size:19px}
  .thumb-grid{grid-template-columns:repeat(2,1fr)}

  .post-article h1{font-size:24px;line-height:1.3}
  .post-meta{font-size:12px}
  .post-body{font-size:15.5px}
  .post-body h2{font-size:20px}
  .post-featured-img img{max-height:220px}
  .post-body .gallery-columns-3,.post-body .gallery-columns-4,.post-body .gallery-columns-5,.post-body .gallery-columns-6,.post-body .gallery-columns-7,.post-body .gallery-columns-8,.post-body .gallery-columns-9{grid-template-columns:repeat(2,1fr)}
  .post-body .wp-block-gallery .wp-block-image{flex-basis:45%}
  .archive-header h1{font-size:24px}
  .post-list article{flex-direction:column}
  .post-list img{width:100% !important;height:180px !important}
  .post-list .thumb-frame{width:100%;height:180px}
  .page-content{font-size:15.5px;padding:20px 16px 40px}
  .page-content h1{font-size:26px}
  .thumb-grid{grid-template-columns:repeat(2,1fr)}
}
