/*
Theme Name: WorkdayCalc
Theme URI: https://workdaycalc.com
Author: WorkdayCalc
Author URI: https://workdaycalc.com
Description: A professional multi-calculator tool website theme. Tools auto-list based on WordPress categories. Fully responsive and customizable.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: workdaycalc
Tags: calculator, tools, responsive, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   CSS RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #004499;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.wdc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wdc-wrapper {
    display: flex;
    gap: 24px;
    padding: 22px 0;
    align-items: flex-start;
}

.wdc-main-content {
    flex: 1;
    min-width: 0;
}

.wdc-sidebar {
    width: 220px;
    flex-shrink: 0;
}

/* =========================================================
   HEADER
   ========================================================= */
#wdc-header {
    background: #003d7a;
    border-bottom: 3px solid #0055aa;
}

.wdc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1100px;
    margin: 0 auto;
    gap: 12px;
    flex-wrap: wrap;
}

.wdc-site-branding a {
    text-decoration: none;
}

.wdc-logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    letter-spacing: -0.5px;
    display: block;
}

.wdc-logo-accent {
    color: #66cc33;
}

.wdc-site-description {
    display: none;
}

.wdc-header-search {
    display: flex;
    align-items: center;
}

.wdc-header-search form {
    display: flex;
}

.wdc-header-search input[type="search"] {
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
    font-size: 13px;
    width: 210px;
    outline: none;
    background: #fff;
}

.wdc-header-search button {
    padding: 7px 14px;
    background: #4c7a2e;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: background .2s;
}

.wdc-header-search button:hover {
    background: #3a5f22;
}

/* =========================================================
   PRIMARY NAVIGATION
   ========================================================= */
#wdc-primary-nav {
    background: #002d5c;
    border-top: 1px solid #004488;
}

.wdc-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wdc-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #99aacc;
    color: #ccddff;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 17px;
    border-radius: 3px;
    margin: 6px 0;
}

#wdc-primary-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

#wdc-primary-nav ul li a {
    display: block;
    padding: 9px 15px;
    color: #ccddff;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

#wdc-primary-nav ul li a:hover,
#wdc-primary-nav ul li.current-menu-item a,
#wdc-primary-nav ul li.current-menu-ancestor a {
    background: #0055aa;
    color: #fff;
    text-decoration: none;
}

/* Dropdowns */
#wdc-primary-nav ul li {
    position: relative;
}

#wdc-primary-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #002d5c;
    min-width: 180px;
    z-index: 1000;
    border: 1px solid #004488;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
    flex-direction: column;
}

#wdc-primary-nav ul li:hover>ul {
    display: flex;
}

#wdc-primary-nav ul li ul li a {
    padding: 7px 14px;
    border-bottom: 1px solid #003366;
    white-space: nowrap;
}

/* =========================================================
   CATEGORIES NAV BAR — always visible below primary nav
   ========================================================= */
#wdc-cat-nav {
    background: #001f4d;
    border-top: 1px solid #002d5c;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

#wdc-cat-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.wdc-catnav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    white-space: nowrap;
}

#wdc-cat-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: #99b3cc;
    font-size: 12.5px;
    text-decoration: none;
    transition: background .2s, color .2s;
    border-right: 1px solid rgba(255, 255, 255, .07);
    flex-shrink: 0;
}

#wdc-cat-nav a:hover,
#wdc-cat-nav a.current-cat {
    background: #0044aa;
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.wdc-breadcrumbs {
    background: #f0f4f8;
    border-bottom: 1px solid #dde4ec;
    padding: 7px 0;
    font-size: 12px;
}

.wdc-breadcrumbs-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wdc-breadcrumbs span {
    color: #555;
}

.wdc-breadcrumbs a {
    color: #0066cc;
}

.wdc-breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.wdc-hero-section {
    background: linear-gradient(135deg, #e8eef4 0%, #d4e2f0 100%);
    border-bottom: 1px solid #c5d5e8;
    padding: 34px 20px;
    text-align: center;
}

.wdc-hero-section h1 {
    font-size: 26px;
    color: #003366;
    font-weight: bold;
    margin-bottom: 16px;
}

.wdc-hero-search {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto 12px;
    width: 100%;
}

.wdc-hero-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 2px solid #0066cc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.wdc-hero-search button {
    padding: 11px 24px;
    background: #4c7a2e;
    color: #fff;
    border: 2px solid #4c7a2e;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: background .2s;
    white-space: nowrap;
}

.wdc-hero-search button:hover {
    background: #3a5f22;
}

.wdc-hero-tagline {
    margin-top: 10px;
    color: #667;
    font-size: 13px;
}

/* =========================================================
   CATEGORIES GRID
   ========================================================= */
.wdc-categories-section {
    padding: 30px 0;
    background: #fff;
}

.wdc-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wdc-category-box {
    padding: 18px;
    background: #fff;
    border: 1px solid #dde4ec;
    border-radius: 4px;
    transition: box-shadow .2s, border-color .2s;
}

.wdc-category-box:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    border-color: #b0c4de;
}

.wdc-category-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #dde8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.wdc-category-icon img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(0%);
}

.wdc-category-icon .wdc-cat-icon-fallback {
    font-size: 48px;
}

.wdc-category-title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #006600;
    margin-bottom: 8px;
    text-decoration: none;
}

.wdc-category-title:hover {
    color: #004400;
    text-decoration: underline;
}

.wdc-category-tools-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wdc-category-tools-list li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.wdc-category-tools-list li a {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
}

.wdc-category-tools-list li a:hover {
    text-decoration: underline;
    color: #004499;
}

.wdc-category-tools-list .wdc-more-tools a {
    color: #999;
    font-style: italic;
    font-size: 12px;
}

.wdc-all-tools-wrap {
    text-align: center;
    margin: 28px 0 8px;
}

.wdc-all-tools-btn {
    display: inline-block;
    background: #4c7a2e;
    color: #fff;
    padding: 11px 34px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background .2s;
}

.wdc-all-tools-btn:hover {
    background: #3a5f22;
    color: #fff;
    text-decoration: none;
}


.wdc-no-categories {
    text-align: center;
    color: #777;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* =========================================================
   SITE DESCRIPTION SECTION (always visible)
   ========================================================= */
.wdc-site-description-section {
    background: #f8f9fb;
    border-top: 1px solid #dde4ec;
    padding: 20px 0;
}

.wdc-site-description-block {
    padding: 4px 0;
}

.wdc-desc-heading {
    font-size: 17px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.wdc-site-description-block p {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 8px;
}

.wdc-site-description-block p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ABOUT SECTION (from Customizer)
   ========================================================= */
.wdc-about-section {
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 22px 0;
}

.wdc-about-section p {
    color: #555;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 10px;
}

.wdc-about-section p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   INNER PAGE — SINGLE TOOL / PAGE
   ========================================================= */
.wdc-inner-page {
    padding: 0;
}

.wdc-page-title {
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e8f0;
}

.wdc-entry-content {
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}

.wdc-entry-content h2 {
    font-size: 18px;
    color: #003366;
    margin: 20px 0 10px;
}

.wdc-entry-content h3 {
    font-size: 16px;
    color: #003366;
    margin: 16px 0 8px;
}

.wdc-entry-content p {
    margin-bottom: 12px;
}

.wdc-entry-content ul,
.wdc-entry-content ol {
    margin: 10px 0 14px 20px;
}

.wdc-entry-content ul {
    list-style: disc;
}

.wdc-entry-content ol {
    list-style: decimal;
}

.wdc-entry-content li {
    margin-bottom: 5px;
}

.wdc-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.wdc-entry-content table th,
.wdc-entry-content table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 13px;
}

.wdc-entry-content table th {
    background: #003366;
    color: #fff;
    font-weight: bold;
}

.wdc-entry-content table tr:nth-child(even) td {
    background: #f5f8fc;
}

.wdc-tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #777;
}

.wdc-tool-meta a {
    color: #0066cc;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.wdc-widget {
    margin-bottom: 20px;
    border: 1px solid #dde4ec;
    background: #f8fafc;
    border-radius: 3px;
    overflow: hidden;
}

.wdc-widget-title {
    background: #003366;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 12px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.wdc-widget-content {
    padding: 10px;
}

.wdc-sidebar-search form {
    display: flex;
}

.wdc-sidebar-search input[type="search"] {
    flex: 1;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 2px 0 0 2px;
    font-size: 12px;
    outline: none;
}

.wdc-sidebar-search button {
    padding: 5px 10px;
    background: #4c7a2e;
    color: #fff;
    border: none;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    font-size: 12px;
}

.wdc-sidebar-tools-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wdc-sidebar-tools-list li {
    border-bottom: 1px solid #e8eef4;
}

.wdc-sidebar-tools-list li:last-child {
    border-bottom: none;
}

.wdc-sidebar-tools-list li a {
    display: block;
    padding: 6px 8px;
    font-size: 12.5px;
    color: #0066cc;
    text-decoration: none;
    transition: background .15s;
}

.wdc-sidebar-tools-list li a:hover {
    background: #eaf0f8;
    text-decoration: none;
}

.wdc-sidebar-tools-list li.current-tool a {
    background: #e0eafb;
    color: #003366;
    font-weight: bold;
}

.wdc-sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wdc-sidebar-categories li {
    border-bottom: 1px solid #e0e8f0;
}

.wdc-sidebar-categories li:last-child {
    border-bottom: none;
}

.wdc-sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    font-size: 12.5px;
    color: #0066cc;
    text-decoration: none;
}

.wdc-sidebar-categories li a:hover {
    background: #eaf0f8;
}

.wdc-sidebar-categories li a .count {
    background: #dde8f0;
    color: #555;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 11px;
}

/* =========================================================
   TOOL CARDS / ARCHIVE GRID
   ========================================================= */
.wdc-tools-archive {
    padding: 0;
}

.wdc-archive-title {
    font-size: 22px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e8f0;
}

.wdc-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.wdc-tool-card {
    border: 1px solid #dde4ec;
    border-radius: 4px;
    background: #fff;
    padding: 14px;
    transition: box-shadow .2s, border-color .2s;
}

.wdc-tool-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border-color: #aabbdd;
}

.wdc-tool-card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.wdc-tool-card-title a {
    color: #003366;
}

.wdc-tool-card-excerpt {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
}

.wdc-tool-card-meta {
    margin-top: 8px;
    font-size: 11.5px;
    color: #999;
}

.wdc-tool-card-meta a {
    color: #006600;
}

.wdc-search-results .wdc-tool-card {
    border-left: 3px solid #0066cc;
}

.wdc-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.wdc-no-results h2 {
    color: #003366;
    margin-bottom: 12px;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.wdc-pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wdc-pagination .page-numbers {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    color: #0066cc;
    background: #fff;
    text-decoration: none;
    transition: background .2s;
}

.wdc-pagination .page-numbers:hover {
    background: #eaf0f8;
}

.wdc-pagination .page-numbers.current {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

/* =========================================================
   FOOTER
   ========================================================= */
#wdc-footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-top: 10px;
}

.wdc-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.wdc-footer-about {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}

#wdc-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#wdc-footer-nav ul li a {
    color: #555;
    font-size: 13px;
    text-decoration: none;
    padding: 0 10px;
    border-right: 1px solid #ccc;
}

#wdc-footer-nav ul li:last-child a {
    border-right: none;
}

#wdc-footer-nav ul li a:hover {
    text-decoration: underline;
}

.wdc-footer-copyright {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.wdc-404-page {
    text-align: center;
    padding: 60px 20px;
}

.wdc-404-page h1 {
    font-size: 80px;
    color: #003366;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}

.wdc-404-page h2 {
    font-size: 22px;
    color: #555;
    margin-bottom: 16px;
}

.wdc-404-page p {
    color: #777;
    margin-bottom: 20px;
}

.wdc-btn {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}

.wdc-btn:hover {
    background: #002244;
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   UTILITY
   ========================================================= */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wdc-text-center {
    text-align: center;
}

.wdc-hidden {
    display: none !important;
}

/* =========================================================
   CUSTOMIZER CSS VARIABLES
   ========================================================= */
:root {
    --wdc-header-bg: #003d7a;
    --wdc-nav-bg: #002d5c;
    --wdc-accent-green: #4c7a2e;
    --wdc-link-color: #0066cc;
    --wdc-category-color: #006600;
    --wdc-heading-color: #003366;
    --wdc-body-bg: #ffffff;
}

/* ==========================================================
   RESPONSIVE — TABLET  ≤900px
   ========================================================== */
@media (max-width: 900px) {
    .wdc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .wdc-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 16px 0;
    }

    .wdc-sidebar {
        width: 100%;
        order: 2;
    }

    .wdc-main-content {
        order: 1;
    }

    .wdc-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   RESPONSIVE — MOBILE  ≤640px
   ========================================================== */
@media (max-width: 640px) {

    /* HEADER */
    .wdc-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px;
    }

    .wdc-logo-text {
        font-size: 20px;
    }

    .wdc-header-search,
    .wdc-header-search form {
        width: 100%;
        display: flex;
    }

    .wdc-header-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }

    /* CONTAINER */
    .wdc-container {
        padding: 0 12px;
    }

    /* NAV TOGGLE */
    .wdc-nav-toggle {
        display: block !important;
    }

    .wdc-nav-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 4px 12px;
    }

    #wdc-primary-nav ul {
        display: none !important;
        flex-direction: column;
        width: 100%;
    }

    #wdc-primary-nav ul.wdc-nav-open {
        display: flex !important;
    }

    #wdc-primary-nav ul li {
        width: 100%;
    }

    #wdc-primary-nav ul li a {
        display: block;
        width: 100%;
        padding: 13px 16px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* HERO */
    .wdc-hero-section {
        padding: 20px 12px;
    }

    .wdc-hero-section h1 {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .wdc-hero-search {
        max-width: 100%;
        flex-direction: row;
    }

    .wdc-hero-search input[type="search"] {
        font-size: 14px;
        padding: 10px 10px;
    }

    .wdc-hero-search button {
        padding: 10px 14px;
        font-size: 14px;
    }

    .wdc-hero-tagline {
        font-size: 12px;
    }

    /* -------------------------------------------------------
       CATEGORIES — single column, centered vertical card
    ------------------------------------------------------- */
    .wdc-categories-section {
        padding: 16px 0;
    }

    .wdc-categories-grid {
        grid-template-columns: 1fr;
        /* ONE column = full page width */
        gap: 14px;
    }

    .wdc-category-box {
        display: block;
        /* vertical stack, not flex row */
        padding: 20px 16px;
        text-align: center;
        /* center everything */
    }

    /* ICON — centered, bigger, gray background */
    .wdc-category-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90px;
        height: 90px;
        margin: 0 auto 16px auto;
        background-color:#f0f4f8;
        /* gray circle as in screenshot */
        color: #ffffff;
        /* white icon */
    }

    .wdc-cat-icon-fallback {
        font-size: 70px;
    }

    /* TITLE — dark green, centered */
    .wdc-category-title {
        display: block;
        font-size: 18px;
        font-weight: bold;
        color: #1a5c1a;
        /* dark green */
        margin-bottom: 14px;
        text-align: center;
    }

    /* CONTENT WRAPPER */
    .wdc-category-content {
        display: block;
    }

    /* TOOL LINKS — centered as in screenshot */
    .wdc-category-tools-list {
        text-align: center;
        display: block;
        width: 100%;
    }

    .wdc-category-tools-list li {
        margin-bottom: 10px;
    }

    .wdc-category-tools-list li a {
        font-size: 16px;
        color: #1a3c6c;
        /* dark blue */
    }

    .wdc-more-tools a {
        font-size: 12px;
        color: #999;
        font-style: italic;
    }

    /* VIEW ALL BUTTON — full width */
    .wdc-all-tools-wrap {
        margin: 20px 0 4px;
    }

    .wdc-all-tools-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 13px;
        font-size: 15px;
    }

    /* DESCRIPTION */
    .wdc-site-description-section {
        padding: 16px 0;
    }

    .wdc-desc-heading {
        font-size: 16px;
    }

    .wdc-site-description-block p {
        font-size: 13px;
    }

    /* INNER PAGE */
    .wdc-page-title {
        font-size: 20px;
    }

    .wdc-archive-title {
        font-size: 18px;
    }

    /* SIDEBAR */
    .wdc-sidebar {
        width: 100%;
    }

    .wdc-sidebar-tools-list {
        columns: 2;
        column-gap: 0;
    }

    /* TOOLS GRID */
    .wdc-tools-grid {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    #wdc-footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    #wdc-footer-nav ul li a {
        font-size: 13px;
        padding: 3px 10px;
        border-right: none;
    }

    /* BREADCRUMBS */
    .wdc-breadcrumbs-inner {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ==========================================================
   RESPONSIVE — SMALL MOBILE  ≤400px
   ========================================================== */
@media (max-width: 400px) {
    .wdc-hero-search {
        flex-direction: column;
        gap: 8px;
    }

    .wdc-hero-search input[type="search"] {
        border-radius: 4px;
        border: 2px solid #0066cc;
        border-right: 2px solid #0066cc;
        width: 100%;
    }

    .wdc-hero-search button {
        border-radius: 4px;
        width: 100%;
    }

    .wdc-sidebar-tools-list {
        columns: 1;
    }

    .wdc-category-icon {
        width: 60px;
        height: 60px;
    }

    .wdc-cat-icon-fallback {
        font-size: 28px;
    }
}

