/*
Theme Name: Wet Tools
Theme URI: https://example.com/wet-tools-theme
Author: wordexceltemplates.com
Author URI: https://wordexceltemplates.com
Description: A clean WordPress theme scaffold for Wet Tools with classic templates, responsive assets, and starter customization hooks.
Version: 0.7.26
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wet-tools-theme
Tags: custom-logo, custom-menu, featured-images, block-patterns, editor-style, wide-blocks, translation-ready
*/
:root {
  --wet-color-ink: #24313B;
  --wet-color-muted: #64727D;
  --wet-color-surface: #EEF5F9;
  --wet-color-paper: #ffffff;
  --wet-color-primary: #1B5378;
  --wet-color-primary-dark: #123A54;
  --wet-color-accent: #d97706;
  --wet-color-border: #D9E2E8;
  --wet-color-soft: #EEF5F9;
  --wet-shadow-card: 0 18px 45px rgba(23, 33, 38, 0.08);
  --wet-shadow-header: 0 10px 30px rgba(23, 33, 38, 0.08);
  --wet-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wet-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wet-space-1: 0.25rem;
  --wet-space-2: 0.5rem;
  --wet-space-3: 0.75rem;
  --wet-space-4: 1rem;
  --wet-space-5: 1.5rem;
  --wet-space-6: 2rem;
  --wet-space-7: 3rem;
  --wet-space-8: 4rem;
  --wet-radius: 8px;
  --wet-width-content: 900px;
  --wet-width-sidebar: 1400px;
  --wet-width-generator: 1600px;
  --wet-width-calculator: 1600px;
  --wet-width-homepage: 1500px;
}

body.wet-tools-theme {
  margin: 0;
  background: linear-gradient(180deg, var(--wet-color-surface) 0, #ffffff 44rem);
  color: var(--wet-color-ink);
  font-family: var(--wet-font-body);
  font-size: 18px;
  line-height: 1.65;
}

body.wet-tools-theme .wet-tools-site,
body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .wet-tools-related, .wet-tools-resource-sidebar, .wet-tools-template-panel, .wet-tools-template-support-grid, .breadcrumbs, .front-page-fallback, .comments-area, .widget-area),
body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .wet-tools-related, .wet-tools-resource-sidebar, .wet-tools-template-panel, .wet-tools-template-support-grid, .breadcrumbs, .front-page-fallback, .comments-area, .widget-area) * {
  box-sizing: border-box;
}

body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .breadcrumbs, .comments-area, .widget-area, .wet-tools-article-content, .inherited-page-content) a {
  color: var(--wet-color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

body.wet-tools-theme :where(.custom-logo, .post-thumbnail img, .front-page-fallback__media img, .wet-tools-card__media img, .wet-tools-collection__image img) {
  height: auto;
  max-width: 100%;
}

body.wet-tools-theme .site {
  min-height: 100vh;
}

body.wet-tools-theme .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--wet-color-border);
  box-shadow: var(--wet-shadow-header);
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.admin-bar.wet-tools-theme .site-header {
  top: 32px;
}

body.wet-tools-theme .site-shell {
  margin: 0 auto;
  max-width: var(--wet-width-sidebar);
  padding: var(--wet-space-4) clamp(var(--wet-space-4), 2.5vw, var(--wet-space-6));
}

body.wet-tools-theme .site-header__inner {
  align-items: center;
  display: grid;
  gap: var(--wet-space-4);
  grid-template-columns: minmax(0, auto) auto minmax(0, 1fr);
}

body.wet-tools-theme .site-branding {
  align-items: center;
  display: flex;
  gap: var(--wet-space-3);
  min-width: 0;
}

body.wet-tools-theme .custom-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: 240px;
}

body.wet-tools-theme .custom-logo {
  max-height: 64px;
  object-fit: contain;
  width: auto;
}

body.wet-tools-theme .site-identity {
  min-width: 0;
}

body.wet-tools-theme .site-title {
  font-family: var(--wet-font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

body.wet-tools-theme .site-title a {
  color: inherit;
  text-decoration: none;
}

body.wet-tools-theme .site-description {
  color: var(--wet-color-muted);
  font-size: 0.92rem;
  margin: var(--wet-space-1) 0 0;
}

body.wet-tools-theme .menu-toggle {
  align-items: center;
  background: var(--wet-color-paper);
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  color: var(--wet-color-ink);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 800;
  gap: var(--wet-space-2);
  min-height: 44px;
  padding: 0.55rem 0.75rem;
}

body.wet-tools-theme .menu-toggle__bar,
body.wet-tools-theme .menu-toggle__bar::before,
body.wet-tools-theme .menu-toggle__bar::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

body.wet-tools-theme .menu-toggle__bar {
  position: relative;
}

body.wet-tools-theme .menu-toggle__bar::before,
body.wet-tools-theme .menu-toggle__bar::after {
  left: 0;
  position: absolute;
}

body.wet-tools-theme .menu-toggle__bar::before {
  top: -6px;
}

body.wet-tools-theme .menu-toggle__bar::after {
  top: 6px;
}

body.wet-tools-theme .main-navigation,
body.wet-tools-theme .footer-navigation {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

body.wet-tools-theme .primary-menu,
body.wet-tools-theme .footer-menu,
body.wet-tools-theme .page-menu-fallback {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--wet-space-2);
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  min-width: max-content;
  padding: 0;
  white-space: nowrap;
}

body.wet-tools-theme .footer-menu,
body.wet-tools-theme .footer-navigation .page-menu-fallback {
  justify-content: flex-start;
}

body.wet-tools-theme .primary-menu a,
body.wet-tools-theme .footer-menu a,
body.wet-tools-theme .page-menu-fallback a {
  border-radius: var(--wet-radius);
  color: var(--wet-color-ink);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
}

body.wet-tools-theme .primary-menu a:hover,
body.wet-tools-theme .primary-menu a:focus,
body.wet-tools-theme .footer-menu a:hover,
body.wet-tools-theme .footer-menu a:focus,
body.wet-tools-theme .page-menu-fallback a:hover,
body.wet-tools-theme .page-menu-fallback a:focus {
  background: var(--wet-color-soft);
  outline: none;
}

body.wet-tools-theme .content-area {
  margin: 0 auto;
  max-width: var(--wet-width-content);
  padding: clamp(var(--wet-space-6), 5vw, var(--wet-space-8)) clamp(var(--wet-space-4), 2.5vw, var(--wet-space-6));
}

body.wet-tools-theme .content-area.layout-homepage {
  max-width: var(--wet-width-homepage);
}

body.wet-tools-theme .content-area.layout-full-width,
body.wet-tools-theme .content-area.layout-template-page {
  max-width: var(--wet-width-sidebar);
}

body.wet-tools-theme .content-area.layout-generator {
  max-width: var(--wet-width-generator);
}

body.wet-tools-theme .content-area.layout-calculator {
  max-width: var(--wet-width-calculator);
}

body.wet-tools-theme .content-area.has-sidebar {
  display: grid;
  gap: clamp(var(--wet-space-5), 3vw, var(--wet-space-7));
  max-width: var(--wet-width-sidebar);
}

body.wet-tools-theme .content-area.layout-homepage.has-sidebar {
  max-width: var(--wet-width-homepage);
}

body.wet-tools-theme .content-main {
  min-width: 0;
}

body.wet-tools-theme .breadcrumbs {
  color: var(--wet-color-muted);
  font-size: 0.9rem;
  margin: 0 0 var(--wet-space-5);
}

body.wet-tools-theme .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wet-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

body.wet-tools-theme .breadcrumbs li + li::before {
  color: var(--wet-color-border);
  content: "/";
  margin-right: var(--wet-space-2);
}

body.wet-tools-theme .breadcrumbs a {
  color: var(--wet-color-muted);
  text-decoration: none;
}

body.wet-tools-theme .entry,
body.wet-tools-theme .comments-area,
body.wet-tools-theme .front-page-fallback,
body.wet-tools-theme .front-page-sections,
body.wet-tools-theme .widget-area {
  background: var(--wet-color-paper);
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  box-shadow: var(--wet-shadow-card);
}

body.wet-tools-theme .entry,
body.wet-tools-theme .comments-area {
  padding: clamp(1.35rem, 3vw, 2.75rem);
}

body.wet-tools-theme .layout-generator .entry,
body.wet-tools-theme .layout-calculator .entry {
  overflow: visible;
}

body.wet-tools-theme .entry + .entry {
  margin-top: var(--wet-space-5);
}

body.wet-tools-theme .entry-title,
body.wet-tools-theme .page-title {
  color: var(--wet-color-ink);
  font-family: var(--wet-font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 var(--wet-space-4);
}

body.wet-tools-theme .entry-title a {
  color: inherit;
  text-decoration: none;
}

body.wet-tools-theme .entry-meta,
body.wet-tools-theme .entry-footer {
  color: var(--wet-color-muted);
  font-size: 0.9rem;
}

body.wet-tools-theme :where(.wet-tools-article-content, .inherited-page-content, .entry-summary, .widget) {
  overflow-wrap: anywhere;
}

body.wet-tools-theme .wet-tools-article-content > *:first-child,
body.wet-tools-theme .inherited-page-content > *:first-child,
body.wet-tools-theme .entry-summary > *:first-child {
  margin-top: 0;
}

body.wet-tools-theme .wet-tools-article-content > *:last-child,
body.wet-tools-theme .inherited-page-content > *:last-child,
body.wet-tools-theme .entry-summary > *:last-child {
  margin-bottom: 0;
}

body.wet-tools-theme .wet-tools-article-content > :where(h2, h3, h4),
body.wet-tools-theme .inherited-page-content > :where(h2, h3, h4),
body.wet-tools-theme .entry-summary > :where(h2, h3, h4) {
  font-family: var(--wet-font-heading);
  line-height: 1.18;
  margin-bottom: var(--wet-space-3);
}

body.wet-tools-theme .wet-tools-article-content > :where(p, ul, ol, blockquote),
body.wet-tools-theme .inherited-page-content > :where(p, ul, ol, blockquote),
body.wet-tools-theme .entry-summary > :where(p, ul, ol, blockquote) {
  margin-bottom: var(--wet-space-4);
}


/* Scoped inline document image previews for singular content. */
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > img:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull),
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > p > img:only-child:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull),
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.wp-block-image:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: 760px;
  max-width: min(100%, 760px);
  object-fit: contain;
  width: auto;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > :where(img, p:has(> img:only-child), figure.wp-block-image):not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(18, 58, 84, 0.08);
  margin-block: clamp(20px, 4vw, 34px);
  margin-inline: auto;
  max-width: min(100%, 820px);
  padding: clamp(16px, 2vw, 24px);
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > p:has(> img:only-child) {
  width: fit-content;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.wp-block-image:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) {
  width: fit-content;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.wp-block-image:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) figcaption {
  color: var(--wet-color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 12px auto 0;
  max-width: 680px;
  text-align: center;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > :where(.alignwide, .alignfull, .wp-block-gallery, .wp-block-cover, .wp-block-media-text, .wp-block-embed, .wp-block-shortcode, .gallery, [class*="generator"], [class*="calculator"], [class*="shortcode"], [id*="generator"], [id*="calculator"]) img {
  max-height: none;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > .alignleft,
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > .alignright {
  max-width: min(50%, 360px);
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > img.alignleft,
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.alignleft {
  float: left;
  margin: 0 1.25rem 1rem 0;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > img.alignright,
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.alignright {
  float: right;
  margin: 0 0 1rem 1.25rem;
}

body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > img.aligncenter,
body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > figure.aligncenter {
  margin-inline: auto;
}

@media (max-width: 767px) {
  body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > :where(img, p:has(> img:only-child), figure.wp-block-image):not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) {
    border-radius: 10px;
    margin-block: 18px;
    padding: 12px;
  }

  body.wet-tools-theme :where(.wet-tools-article-content, .wet-tools-template-main, .entry-content) > :where(.alignleft, .alignright) {
    float: none;
    margin: 18px auto;
    max-width: 100%;
  }
}
body.wet-tools-theme .post-thumbnail {
  margin: var(--wet-space-5) 0;
}

body.wet-tools-theme .post-thumbnail img,
body.wet-tools-theme .front-page-fallback__media img {
  border-radius: var(--wet-radius);
  display: block;
  width: 100%;
}

body.wet-tools-theme .page-links,
body.wet-tools-theme .post-navigation,
body.wet-tools-theme .posts-navigation,
body.wet-tools-theme .pagination {
  margin-top: var(--wet-space-6);
}

body.wet-tools-theme .widget-area {
  align-self: start;
  padding: var(--wet-space-5);
}

body.wet-tools-theme .widget + .widget {
  border-top: 1px solid var(--wet-color-border);
  margin-top: var(--wet-space-5);
  padding-top: var(--wet-space-5);
}

body.wet-tools-theme .widget-title {
  font-family: var(--wet-font-heading);
  font-size: 1rem;
  margin: 0 0 var(--wet-space-3);
}

body.wet-tools-theme .front-page-fallback,
body.wet-tools-theme .front-page-sections {
  padding: clamp(var(--wet-space-6), 5vw, 5rem);
}

body.wet-tools-theme .front-page-fallback__content {
  display: grid;
  gap: clamp(var(--wet-space-5), 4vw, var(--wet-space-8));
}

body.wet-tools-theme .front-page-fallback.no-media .front-page-fallback__body {
  max-width: 900px;
}

body.wet-tools-theme .front-page-kicker {
  color: var(--wet-color-accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 var(--wet-space-3);
  text-transform: uppercase;
}

body.wet-tools-theme .front-page-title,
body.wet-tools-theme .front-page-fallback .entry-title {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.02;
  margin: 0 0 var(--wet-space-4);
  max-width: 940px;
}

body.wet-tools-theme .front-page-summary {
  color: var(--wet-color-muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  max-width: 780px;
}

body.wet-tools-theme .front-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wet-space-3);
  margin-top: var(--wet-space-5);
}

body.wet-tools-theme .front-page-actions .button,
body.wet-tools-theme .search-submit {
  border-radius: var(--wet-radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

body.wet-tools-theme .front-page-actions .button-primary,
body.wet-tools-theme .search-submit {
  background: var(--wet-color-primary);
  border: 1px solid var(--wet-color-primary);
  color: #ffffff;
}

body.wet-tools-theme .front-page-actions .button-primary:hover,
body.wet-tools-theme .search-submit:hover {
  background: var(--wet-color-primary-dark);
}

body.wet-tools-theme .front-page-actions .button-secondary {
  border: 1px solid var(--wet-color-border);
  color: var(--wet-color-ink);
}

body.wet-tools-theme .search-form {
  align-items: stretch;
  display: flex;
  gap: var(--wet-space-2);
  margin-top: var(--wet-space-4);
}

body.wet-tools-theme .search-field {
  background: var(--wet-color-paper);
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  font: inherit;
  min-height: 44px;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  width: 100%;
}

body.wet-tools-theme .comment-list {
  padding-left: var(--wet-space-5);
}

body.wet-tools-theme .site-footer {
  background: var(--wet-color-paper);
  border-top: 1px solid var(--wet-color-border);
  color: var(--wet-color-muted);
}

body.wet-tools-theme .footer-widgets {
  display: grid;
  gap: var(--wet-space-5);
  margin-bottom: var(--wet-space-6);
}

body.wet-tools-theme .footer-widget-column {
  min-width: 0;
}

body.wet-tools-theme .site-footer__bottom {
  align-items: start;
  border-top: 1px solid var(--wet-color-border);
  display: grid;
  gap: var(--wet-space-4);
  padding-top: var(--wet-space-5);
}

body.wet-tools-theme .site-footer__credit {
  margin: 0;
}

body.wet-tools-theme .wp-block-button__link {
  border-radius: var(--wet-radius);
}

body.wet-tools-theme .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

body.wet-tools-theme .screen-reader-text:focus {
  background: var(--wet-color-paper);
  clip: auto !important;
  height: auto;
  left: var(--wet-space-4);
  padding: var(--wet-space-3) var(--wet-space-4);
  top: var(--wet-space-4);
  width: auto;
  z-index: 100000;
}

body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .wet-tools-related, .wet-tools-resource-sidebar, .front-page-fallback, .comments-area, .widget-area) :focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.36);
  outline-offset: 3px;
}

body.wet-tools-theme :where(.layout-generator, .layout-calculator) .entry-content {
  overflow: visible;
}

@media (min-width: 900px) {
  body.wet-tools-theme .content-area.has-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  body.wet-tools-theme .front-page-fallback.has-media .front-page-fallback__content {
    align-items: center;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  body.wet-tools-theme .footer-widgets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.wet-tools-theme .site-footer__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 899px) {
  body.admin-bar.wet-tools-theme .site-header {
    top: 46px;
  }

  body.wet-tools-theme .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  html.js body.wet-tools-theme .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  html.js body.wet-tools-theme .main-navigation {
    background: var(--wet-color-paper);
    border-top: 1px solid var(--wet-color-border);
    display: none;
    grid-column: 1 / -1;
    margin: 0 calc(clamp(var(--wet-space-4), 2.5vw, var(--wet-space-6)) * -1);
    padding: var(--wet-space-3) clamp(var(--wet-space-4), 2.5vw, var(--wet-space-6)) 0;
  }

  html.js body.wet-tools-theme .main-navigation.is-open {
    display: block;
  }

  body.wet-tools-theme .primary-menu,
  body.wet-tools-theme .footer-menu,
  body.wet-tools-theme .page-menu-fallback {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body.admin-bar.wet-tools-theme .site-header {
    top: 0;
  }

  body.wet-tools-theme .site-branding {
    align-items: flex-start;
  }

  body.wet-tools-theme .custom-logo-link {
    max-width: 160px;
  }
}
body.wet-tools-theme .home-sections {
  display: grid;
  gap: clamp(var(--wet-space-6), 5vw, var(--wet-space-8));
}

body.wet-tools-theme .home-hero,
body.wet-tools-theme .home-section {
  background: var(--wet-color-paper);
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  box-shadow: var(--wet-shadow-card);
  padding: clamp(var(--wet-space-6), 5vw, 5rem);
}

body.wet-tools-theme .home-hero {
  background: linear-gradient(135deg, #ffffff 0, var(--wet-color-soft) 100%);
}

body.wet-tools-theme .home-section__header {
  margin-bottom: var(--wet-space-5);
  max-width: 780px;
}

body.wet-tools-theme .home-section__title {
  color: var(--wet-color-ink);
  font-family: var(--wet-font-heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 var(--wet-space-3);
}

body.wet-tools-theme .home-section__intro {
  color: var(--wet-color-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  margin: 0;
}

body.wet-tools-theme .home-card-grid,
body.wet-tools-theme .home-tool-list {
  display: grid;
  gap: var(--wet-space-4);
}

body.wet-tools-theme .home-card,
body.wet-tools-theme .home-tool-card,
body.wet-tools-theme .home-step {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  padding: var(--wet-space-5);
}

body.wet-tools-theme .home-card__title,
body.wet-tools-theme .home-tool-card__title,
body.wet-tools-theme .home-step__title {
  font-family: var(--wet-font-heading);
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0 0 var(--wet-space-2);
}

body.wet-tools-theme .home-card__title a,
body.wet-tools-theme .home-tool-card__title a {
  color: inherit;
  text-decoration: none;
}

body.wet-tools-theme .home-card__title a:hover,
body.wet-tools-theme .home-card__title a:focus,
body.wet-tools-theme .home-tool-card__title a:hover,
body.wet-tools-theme .home-tool-card__title a:focus {
  color: var(--wet-color-primary);
}

body.wet-tools-theme .home-card__text,
body.wet-tools-theme .home-tool-card__text,
body.wet-tools-theme .home-step__text {
  color: var(--wet-color-muted);
  margin: 0;
}

body.wet-tools-theme .home-step-list {
  counter-reset: wet-home-step;
  display: grid;
  gap: var(--wet-space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

body.wet-tools-theme .home-step {
  align-items: flex-start;
  display: flex;
  gap: var(--wet-space-4);
}

body.wet-tools-theme .home-step__number {
  align-items: center;
  background: var(--wet-color-primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

body.wet-tools-theme .home-section-cta {
  align-items: center;
  background: var(--wet-color-ink);
  color: #ffffff;
  display: grid;
  gap: var(--wet-space-5);
}

body.wet-tools-theme .home-section-cta .home-section__title,
body.wet-tools-theme .home-section-cta .home-section__intro {
  color: inherit;
}

body.wet-tools-theme .home-section-cta .button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

body.wet-tools-theme .home-trust-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin: var(--wet-space-4) 0 0;
}

@media (min-width: 760px) {
  body.wet-tools-theme .home-card-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.wet-tools-theme .home-tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  body.wet-tools-theme .home-section-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
/* Phase 3.5 polished WordExcelTemplates UI. */
body.wet-tools-theme {
  background: var(--wet-color-surface);
  color: var(--wet-color-ink);
  overflow-x: hidden;
}

body.wet-tools-theme .wet-tools-site-header {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--wet-color-border);
  box-shadow: 0 8px 24px rgba(18, 58, 84, 0.07);
  position: sticky;
  top: 0;
  transition: box-shadow 160ms ease, padding 160ms ease;
  z-index: 1000;
}

body.admin-bar.wet-tools-theme .wet-tools-site-header {
  top: 32px;
}

body.wet-tools-theme .wet-tools-header-inner {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(180px, auto) auto minmax(0, 1fr) auto auto;
  margin: 0 auto;
  max-width: 1500px;
  padding: 14px clamp(16px, 2vw, 28px);
}

body.wet-tools-theme .wet-tools-site-header.is-compact .wet-tools-header-inner {
  padding-bottom: 8px;
  padding-top: 8px;
}

body.wet-tools-theme .wet-tools-branding {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

body.wet-tools-theme .wet-tools-site-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

body.wet-tools-theme .wet-tools-site-title a {
  color: var(--wet-color-primary-dark);
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-site-description {
  color: var(--wet-color-muted);
  font-size: 13px;
  line-height: 1.3;
  margin: 2px 0 0;
  max-width: 320px;
}

body.wet-tools-theme .wet-tools-quick-nav,
body.wet-tools-theme .wet-tools-main-navigation,
body.wet-tools-theme .wet-tools-footer-navigation {
  min-width: 0;
}

body.wet-tools-theme .wet-tools-quick-nav {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

body.wet-tools-theme .wet-tools-quick-nav a,
body.wet-tools-theme .wet-tools-header-search,
body.wet-tools-theme .wet-tools-primary-menu a,
body.wet-tools-theme .wet-tools-footer-menu a,
body.wet-tools-theme .page-menu-fallback a {
  border-radius: 6px;
  color: var(--wet-color-ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 9px 10px;
  text-decoration: none;
  white-space: nowrap;
}

body.wet-tools-theme .wet-tools-header-search {
  background: var(--wet-color-primary);
  color: #fff;
}

body.wet-tools-theme .wet-tools-primary-menu,
body.wet-tools-theme .wet-tools-footer-menu,
body.wet-tools-theme .page-menu-fallback {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

body.wet-tools-theme .wet-tools-main-navigation {
  overflow-x: auto;
  scrollbar-width: none;
}

body.wet-tools-theme .wet-tools-main-navigation::-webkit-scrollbar {
  display: none;
}

body.wet-tools-theme .wet-tools-menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 6px;
  color: var(--wet-color-primary-dark);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 800;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
}

body.wet-tools-theme .wet-tools-menu-toggle__bar,
body.wet-tools-theme .wet-tools-menu-toggle__bar::before,
body.wet-tools-theme .wet-tools-menu-toggle__bar::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

body.wet-tools-theme .wet-tools-menu-toggle__bar {
  position: relative;
}

body.wet-tools-theme .wet-tools-menu-toggle__bar::before,
body.wet-tools-theme .wet-tools-menu-toggle__bar::after {
  left: 0;
  position: absolute;
}

body.wet-tools-theme .wet-tools-menu-toggle__bar::before { top: -6px; }
body.wet-tools-theme .wet-tools-menu-toggle__bar::after { top: 6px; }

body.wet-tools-theme .content-area {
  padding-bottom: clamp(32px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 52px);
}

body.wet-tools-theme .layout-standard,
body.wet-tools-theme .wet-tools-article-single {
  max-width: 900px;
}

body.wet-tools-theme .layout-template-page,
body.wet-tools-theme .wet-tools-template-single {
  max-width: 1400px;
}

body.wet-tools-theme .entry-title,
body.wet-tools-theme .page-title,
body.wet-tools-theme .wet-tools-single-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

body.wet-tools-theme .wet-tools-home-hero {
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 58, 84, 0.08);
  padding: clamp(28px, 5vw, 56px);
}

body.wet-tools-theme .wet-tools-hero-eyebrow {
  color: var(--wet-color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

body.wet-tools-theme .wet-tools-hero-title {
  color: var(--wet-color-primary-dark);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 14px;
  max-width: 980px;
}

body.wet-tools-theme .wet-tools-hero-description {
  color: var(--wet-color-muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  margin: 0;
  max-width: 880px;
}

body.wet-tools-theme .wet-tools-hero-search {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
  max-width: 820px;
}

body.wet-tools-theme .wet-tools-hero-search__field {
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 6px;
  color: var(--wet-color-ink);
  font: inherit;
  min-height: 50px;
  min-width: 0;
  padding: 0 14px;
}

body.wet-tools-theme .wet-tools-hero-search__button,
body.wet-tools-theme .wet-tools-button,
body.wet-tools-theme .wet-tools-card__action {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-hero-search__button,
body.wet-tools-theme .wet-tools-button--primary,
body.wet-tools-theme .wet-tools-card__action {
  background: var(--wet-color-primary);
  border: 1px solid var(--wet-color-primary);
  color: #fff;
}

body.wet-tools-theme .wet-tools-button--secondary {
  background: #fff;
  border: 1px solid var(--wet-color-border);
  color: var(--wet-color-primary-dark);
}

body.wet-tools-theme .wet-tools-hero-actions,
body.wet-tools-theme .wet-tools-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body.wet-tools-theme .wet-tools-trust-list {
  color: var(--wet-color-muted);
  font-size: 14px;
  list-style: none;
  padding: 0;
}

body.wet-tools-theme .wet-tools-trust-list li {
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 999px;
  padding: 6px 10px;
}

body.wet-tools-theme .wet-tools-archive-header {
  margin-bottom: 22px;
  max-width: 900px;
}

body.wet-tools-theme .wet-tools-archive-title {
  color: var(--wet-color-primary-dark);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 10px;
}

body.wet-tools-theme .wet-tools-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-card {
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 58, 84, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

body.wet-tools-theme .wet-tools-card__media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--wet-color-surface);
  border-bottom: 1px solid var(--wet-color-border);
  display: flex;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-card__media img {
  height: 100%;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

body.wet-tools-theme .wet-tools-card__placeholder {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  color: var(--wet-color-primary);
  display: inline-flex;
  font-size: 34px;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  width: 72px;
}

body.wet-tools-theme .wet-tools-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

body.wet-tools-theme .wet-tools-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.wet-tools-theme .wet-tools-card__badge {
  background: var(--wet-color-surface);
  border-radius: 999px;
  color: var(--wet-color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

body.wet-tools-theme .wet-tools-card__badge--free {
  background: #e7f4ef;
  color: #1c6b4a;
}

body.wet-tools-theme .wet-tools-card__title {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.22;
  margin: 0;
}

body.wet-tools-theme .wet-tools-card__title a {
  color: var(--wet-color-ink);
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-card__excerpt,
body.wet-tools-theme .wet-tools-card__excerpt p {
  color: var(--wet-color-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.wet-tools-theme .wet-tools-card__meta {
  color: var(--wet-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  margin-top: auto;
}

body.wet-tools-theme .wet-tools-card__action {
  align-self: flex-start;
  font-size: 14px;
  margin-top: 2px;
}

body.wet-tools-theme .wet-tools-single {
  margin-inline: auto;
}

body.wet-tools-theme .wet-tools-single-header {
  margin-bottom: 18px;
}

body.wet-tools-theme .wet-tools-single-meta {
  color: var(--wet-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 10px;
  margin-top: 10px;
}


body.wet-tools-theme .wet-tools-template-layout {
  display: grid;
  gap: 22px;
}

body.wet-tools-theme .wet-tools-template-layout:not(.has-template-panel) {
  display: block;
}

body.wet-tools-theme .wet-tools-template-panel,
body.wet-tools-theme .wet-tools-template-support-grid section {
  background: #fff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  padding: 18px;
}

body.wet-tools-theme .wet-tools-template-panel {
  align-self: start;
  display: grid;
  gap: 14px;
}

body.wet-tools-theme .wet-tools-template-panel h2,
body.wet-tools-theme .wet-tools-template-support-grid h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

body.wet-tools-theme .wet-tools-template-meta-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.wet-tools-theme .wet-tools-template-meta-list li,
body.wet-tools-theme .wet-tools-template-download {
  overflow-wrap: anywhere;
}

body.wet-tools-theme .wet-tools-template-support-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

body.wet-tools-theme .wet-tools-home {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

body.wet-tools-theme .wet-tools-home-section,
body.wet-tools-theme .wet-tools-home-hero {
  border-radius: 8px;
}

body.wet-tools-theme .wet-tools-section-title {
  font-size: clamp(26px, 3vw, 38px);
}

body.wet-tools-theme .wet-tools-site-footer {
  background: #fff;
  border-top: 1px solid var(--wet-color-border);
  color: var(--wet-color-muted);
}

body.wet-tools-theme .wet-tools-footer-inner {
  margin: 0 auto;
  max-width: 1500px;
  padding: 34px clamp(16px, 2vw, 28px);
}

body.wet-tools-theme .wet-tools-footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-footer-title {
  color: var(--wet-color-primary-dark);
  font-size: 18px;
  margin: 0 0 10px;
}

body.wet-tools-theme .wet-tools-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.wet-tools-theme .wet-tools-footer-links a,
body.wet-tools-theme .wet-tools-footer-navigation a,
body.wet-tools-theme .wet-tools-back-to-top {
  color: var(--wet-color-muted);
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-footer-links li + li {
  margin-top: 8px;
}

body.wet-tools-theme .wet-tools-footer-bottom {
  border-top: 1px solid var(--wet-color-border);
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
}

body.wet-tools-theme .wet-tools-footer-menu {
  justify-content: flex-start;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 1200px) {
  body.wet-tools-theme .wet-tools-template-layout.has-template-panel {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  body.wet-tools-theme .wet-tools-template-support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1439px) {
  body.wet-tools-theme .wet-tools-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.wet-tools-theme .wet-tools-header-inner {
    grid-template-columns: minmax(160px, auto) auto minmax(0, 1fr) auto;
  }

  body.wet-tools-theme .wet-tools-quick-nav {
    display: none;
  }
}

@media (max-width: 1023px) {
  body.wet-tools-theme .wet-tools-card-grid,
  body.wet-tools-theme .wet-tools-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.wet-tools-theme .wet-tools-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  html.js body.wet-tools-theme .wet-tools-menu-toggle {
    display: inline-flex;
  }

  html.js body.wet-tools-theme .wet-tools-main-navigation {
    background: #fff;
    border-top: 1px solid var(--wet-color-border);
    display: none;
    grid-column: 1 / -1;
    padding-top: 10px;
  }

  html.js body.wet-tools-theme .wet-tools-main-navigation.is-open {
    display: block;
  }

  body.wet-tools-theme .wet-tools-primary-menu {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  body.admin-bar.wet-tools-theme .wet-tools-site-header {
    top: 0;
  }

  body.wet-tools-theme .wet-tools-card-grid,
  body.wet-tools-theme .wet-tools-footer-grid,
  body.wet-tools-theme .wet-tools-footer-bottom,
  body.wet-tools-theme .wet-tools-hero-search {
    grid-template-columns: 1fr;
  }

  body.wet-tools-theme .wet-tools-header-search {
    display: none;
  }

  body.wet-tools-theme .wet-tools-site-description {
    display: none;
  }

  body.wet-tools-theme .wet-tools-home-hero,
  body.wet-tools-theme .wet-tools-home-section {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .wet-tools-related, .wet-tools-resource-sidebar, .front-page-fallback, .comments-area, .widget-area),
  body.wet-tools-theme :where(.wet-tools-site-header, .wet-tools-site-footer, .wet-tools-card, .wet-tools-home, .wet-tools-archive, .wet-tools-related, .wet-tools-resource-sidebar, .front-page-fallback, .comments-area, .widget-area) * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
body.wet-tools-theme .wet-tools-primary-menu .sub-menu {
  background: #FFFFFF;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 58, 84, 0.12);
  display: none;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  top: 100%;
  z-index: 1001;
}

body.wet-tools-theme .wet-tools-primary-menu li {
  position: relative;
}

body.wet-tools-theme .wet-tools-primary-menu li:hover > .sub-menu,
body.wet-tools-theme .wet-tools-primary-menu li:focus-within > .sub-menu {
  display: block;
}

body.wet-tools-theme .wet-tools-primary-menu .sub-menu a {
  justify-content: flex-start;
  width: 100%;
  white-space: normal;
}

@media (max-width: 1023px) {
  body.wet-tools-theme .wet-tools-primary-menu .sub-menu {
    border: 0;
    box-shadow: none;
    display: block;
    margin-left: 14px;
    min-width: 0;
    padding: 4px 0;
    position: static;
  }
}



/* Plugin and shortcode compatibility isolation. */
body.wet-tools-theme :where(.entry-content, .wet-tools-template-main, .wet-tools-article-content) :where(.wp-block-shortcode, .wp-block-embed, .elementor, .elementor-widget-container, [class*="elementor-"], [class*="generator"], [class*="calculator"], [class*="shortcode"], [id*="generator"], [id*="calculator"], iframe) {
  max-width: none;
}

body.wet-tools-theme :where(.entry-content, .wet-tools-template-main, .wet-tools-article-content) :where(.wp-block-shortcode, .elementor, [class*="generator"], [class*="calculator"], [class*="shortcode"]) {
  overflow: visible;
}


body.wet-tools-theme .wet-theme-form :where(input, textarea, select) {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 6px;
  color: var(--wet-color-ink);
  font: inherit;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
}

body.wet-tools-theme .wet-theme-form :where(button, .button, [type="submit"]) {
  background: var(--wet-color-primary);
  border: 1px solid var(--wet-color-primary);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0.65rem 1rem;
}
body.wet-tools-theme :where(.layout-generator, .layout-calculator) .entry.wet-tools-plugin-page {
  background: var(--wet-color-paper);
  border: 1px solid var(--wet-color-border);
  border-radius: var(--wet-radius);
  box-shadow: var(--wet-shadow-card);
  padding: clamp(1.35rem, 3vw, 2.75rem);
}

body.wet-tools-theme :where(.layout-generator, .layout-calculator) .wet-tools-plugin-page > .entry-header {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: var(--wet-space-5);
  padding: 0;
}

body.wet-tools-theme :where(.layout-generator, .layout-calculator) .wet-tools-plugin-page > .entry-content {
  overflow: visible;
}

/* Phase 6.7 baseline consolidation. */
body.wet-tools-theme .content-area.has-resource-sidebar {
  box-sizing: border-box;
  max-width: 1328px;
  width: 100%;
}

body.wet-tools-theme .wet-tools-article-single.wet-tools-single--with-resource-sidebar {
  max-width: 100%;
}

body.wet-tools-theme .wet-tools-single-layout.has-resource-sidebar {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
  justify-content: center;
  margin-inline: auto;
  max-width: 1240px;
}

body.wet-tools-theme .wet-tools-single-layout .wet-tools-single-main,
body.wet-tools-theme .wet-tools-resource-sidebar,
body.wet-tools-theme .wet-tools-resource-panel {
  min-width: 0;
}

body.wet-tools-theme .wet-tools-resource-panel {
  overflow-wrap: anywhere;
}

body.wet-tools-theme .content-area.layout-generator,
body.wet-tools-theme .content-area.layout-calculator {
  box-sizing: border-box;
  max-width: var(--wet-width-generator);
  padding-left: clamp(24px, 4vw, 48px);
  padding-right: clamp(24px, 4vw, 48px);
  width: 100%;
}

body.wet-tools-theme .layout-generator .wet-tools-article-single,
body.wet-tools-theme .layout-calculator .wet-tools-article-single,
body.wet-tools-theme .wet-tools-article-single.wet-tools-single--wide-resource {
  max-width: 100%;
  width: 100%;
}

body.wet-tools-theme .layout-generator .wet-tools-single-header,
body.wet-tools-theme .layout-calculator .wet-tools-single-header,
body.wet-tools-theme .layout-generator .wet-tools-article-content > :where(p, ul, ol, blockquote, h2, h3, h4),
body.wet-tools-theme .layout-calculator .wet-tools-article-content > :where(p, ul, ol, blockquote, h2, h3, h4) {
  margin-left: 0;
  margin-right: auto;
  max-width: 100%;
}

body.wet-tools-theme .layout-generator .wet-tools-article-content > :where(p, ul, ol, blockquote),
body.wet-tools-theme .layout-calculator .wet-tools-article-content > :where(p, ul, ol, blockquote) {
  line-height: 1.7;
}

body.wet-tools-theme .layout-generator .content-main,
body.wet-tools-theme .layout-calculator .content-main,
body.wet-tools-theme .layout-generator .entry-content,
body.wet-tools-theme .layout-calculator .entry-content,
body.wet-tools-theme .layout-generator .wet-tools-article-content,
body.wet-tools-theme .layout-calculator .wet-tools-article-content {
  display: flow-root;
  max-width: none;
  min-width: 0;
  overflow: visible;
  width: 100%;
}

body.wet-tools-theme .layout-generator .wet-tools-article-content > :where(.wet-acnlg, .sfk-tool, [id*="generator"], [class*="generator"], [id*="calculator"], [class*="calculator"]),
body.wet-tools-theme .layout-calculator .wet-tools-article-content > :where(.wet-acnlg, .sfk-tool, [id*="generator"], [class*="generator"], [id*="calculator"], [class*="calculator"]) {
  clear: both;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}
body.wet-tools-theme .layout-generator .wet-tools-article-content > .pclg-wrap,
body.wet-tools-theme .layout-calculator .wet-tools-article-content > .pclg-wrap {
  clear: both;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100%;
}

body.wet-tools-theme .wet-tools-footer-bottom {
  align-items: stretch;
  grid-template-columns: 1fr;
}

body.wet-tools-theme .wet-tools-footer-navigation {
  min-width: 0;
  overflow: visible;
}

body.wet-tools-theme .wet-tools-footer-menu,
body.wet-tools-theme .wet-tools-footer-navigation .page-menu-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  white-space: normal;
}

body.wet-tools-theme .wet-tools-footer-menu a,
body.wet-tools-theme .wet-tools-footer-navigation .page-menu-fallback a {
  white-space: normal;
}

body.wet-tools-theme .wet-tools-footer-legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  min-width: 0;
}

body.wet-tools-theme .wet-tools-footer-credit {
  margin: 0;
}

@media (max-width: 1279px) {
  body.wet-tools-theme .wet-tools-single-layout.has-resource-sidebar {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
    max-width: 1120px;
  }
}

@media (max-width: 1023px) {
  body.wet-tools-theme .wet-tools-single-layout.has-resource-sidebar {
    grid-template-columns: 1fr;
  }

  body.wet-tools-theme .wet-tools-resource-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}

@media (max-width: 640px) {
  body.wet-tools-theme .wet-tools-resource-sidebar,
  body.wet-tools-theme .wet-tools-footer-legal {
    grid-template-columns: 1fr;
  }

  body.wet-tools-theme .wet-tools-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}



