/* ==========================================================================
   HomeWallTrends Child — Custom Styles
   Pinterest-optimized, AdSense-friendly, Core Web Vitals ready
   ========================================================================== */

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--hwt-font-body);
    font-weight: var(--hwt-fw-regular);
    color: var(--hwt-primary);
    background-color: var(--hwt-bg);
    line-height: var(--hwt-lh-normal);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hwt-font-heading);
    font-weight: var(--hwt-fw-bold);
    line-height: var(--hwt-lh-tight);
    color: var(--hwt-primary);
}

a {
    color: var(--hwt-accent);
    text-decoration: none;
    transition: var(--hwt-transition-fast);
}

a:hover {
    color: var(--hwt-accent-hover);
}

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


/* ==========================================================================
   LAYOUT — Global Container
   ========================================================================== */

.hwt-container {
    width: 100%;
    max-width: var(--hwt-max-width);
    margin: 0 auto;
    padding: 0 var(--hwt-space-lg);
}

.hwt-section {
    padding: var(--hwt-space-4xl) 0;
}

.hwt-section--alt {
    background-color: var(--hwt-bg-alt);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hwt-hero {
    position: relative;
    background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #374151 100%);
    color: var(--hwt-white);
    padding: var(--hwt-space-4xl) 0;
    text-align: center;
    overflow: hidden;
}

.hwt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(225, 29, 72, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hwt-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--hwt-space-3xl) var(--hwt-space-lg);
}

.hwt-hero__badge {
    display: inline-block;
    background: rgba(225, 29, 72, 0.15);
    color: #F9A8D4;
    font-size: 0.75rem;
    font-weight: var(--hwt-fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 1rem;
    border-radius: var(--hwt-radius-full);
    margin-bottom: var(--hwt-space-lg);
    border: 1px solid rgba(225, 29, 72, 0.25);
}

.hwt-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: var(--hwt-fw-bold);
    color: var(--hwt-white);
    margin-bottom: var(--hwt-space-lg);
    line-height: 1.15;
}

.hwt-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #D1D5DB;
    max-width: 560px;
    margin: 0 auto var(--hwt-space-2xl);
    line-height: var(--hwt-lh-relaxed);
}

.hwt-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hwt-accent);
    color: var(--hwt-white);
    font-family: var(--hwt-font-heading);
    font-weight: var(--hwt-fw-semibold);
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: var(--hwt-radius-full);
    border: none;
    cursor: pointer;
    transition: var(--hwt-transition);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.hwt-hero__cta:hover {
    background: var(--hwt-accent-hover);
    color: var(--hwt-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
}

.hwt-hero__cta svg {
    transition: transform 0.3s ease;
}

.hwt-hero__cta:hover svg {
    transform: translateX(3px);
}


/* ==========================================================================
   FEATURED CATEGORIES GRID
   ========================================================================== */

.hwt-categories {
    padding: var(--hwt-space-4xl) 0;
}

.hwt-section-header {
    text-align: center;
    margin-bottom: var(--hwt-space-3xl);
}

.hwt-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--hwt-space-sm);
}

.hwt-section-header p {
    color: var(--hwt-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.hwt-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--hwt-space-lg);
}

.hwt-cat-card {
    position: relative;
    border-radius: var(--hwt-radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: var(--hwt-transition);
    box-shadow: var(--hwt-shadow-card);
}

.hwt-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hwt-shadow-xl);
}

.hwt-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hwt-cat-card:hover img {
    transform: scale(1.08);
}

.hwt-cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--hwt-space-lg);
}

.hwt-cat-card__name {
    color: var(--hwt-white);
    font-family: var(--hwt-font-heading);
    font-weight: var(--hwt-fw-semibold);
    font-size: 1.1rem;
    margin: 0;
}

.hwt-cat-card__count {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}


/* ==========================================================================
   LATEST / TRENDING POSTS GRID
   ========================================================================== */

.hwt-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hwt-space-xl);
}

.hwt-post-card {
    background: var(--hwt-bg);
    border-radius: var(--hwt-radius-lg);
    overflow: hidden;
    box-shadow: var(--hwt-shadow-card);
    transition: var(--hwt-transition);
    display: flex;
    flex-direction: column;
}

.hwt-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hwt-shadow-xl);
}

.hwt-post-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
}

.hwt-post-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hwt-post-card:hover .hwt-post-card__img img {
    transform: scale(1.05);
}

.hwt-post-card__category {
    position: absolute;
    top: var(--hwt-space-md);
    left: var(--hwt-space-md);
    background: var(--hwt-accent);
    color: var(--hwt-white);
    font-size: 0.7rem;
    font-weight: var(--hwt-fw-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--hwt-radius-full);
}

.hwt-post-card__body {
    padding: var(--hwt-space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hwt-post-card__title {
    font-size: 1.1rem;
    font-weight: var(--hwt-fw-semibold);
    line-height: 1.4;
    margin-bottom: var(--hwt-space-sm);
}

.hwt-post-card__title a {
    color: var(--hwt-primary);
    transition: color 0.2s ease;
}

.hwt-post-card__title a:hover {
    color: var(--hwt-accent);
}

.hwt-post-card__excerpt {
    color: var(--hwt-secondary);
    font-size: 0.9rem;
    line-height: var(--hwt-lh-relaxed);
    margin-bottom: var(--hwt-space-md);
    flex: 1;
}

.hwt-post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--hwt-space-md);
    font-size: 0.8rem;
    color: var(--hwt-secondary);
    padding-top: var(--hwt-space-md);
    border-top: 1px solid var(--hwt-border-light);
}

.hwt-post-card__meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}


/* ==========================================================================
   TRENDING SECTION
   ========================================================================== */

.hwt-trending {
    background-color: var(--hwt-bg-alt);
}

.hwt-trending__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.75rem;
    font-weight: var(--hwt-fw-semibold);
    padding: 0.3rem 0.75rem;
    border-radius: var(--hwt-radius-full);
    margin-bottom: var(--hwt-space-md);
}


/* ==========================================================================
   EMAIL OPT-IN
   ========================================================================== */

.hwt-optin {
    background: linear-gradient(135deg, #111827 0%, #1E293B 100%);
    color: var(--hwt-white);
    padding: var(--hwt-space-4xl) 0;
    text-align: center;
}

.hwt-optin__inner {
    max-width: 560px;
    margin: 0 auto;
}

.hwt-optin h2 {
    color: var(--hwt-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--hwt-space-md);
}

.hwt-optin p {
    color: #9CA3AF;
    margin-bottom: var(--hwt-space-2xl);
    font-size: 1.05rem;
}

.hwt-optin__form {
    display: flex;
    gap: var(--hwt-space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.hwt-optin__input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: var(--hwt-radius-md);
    border: 1px solid #374151;
    background: #1F2937;
    color: var(--hwt-white);
    font-size: 0.95rem;
    font-family: var(--hwt-font-body);
    outline: none;
    transition: border-color 0.2s;
}

.hwt-optin__input:focus {
    border-color: var(--hwt-accent);
}

.hwt-optin__input::placeholder {
    color: #6B7280;
}

.hwt-optin__btn {
    background: var(--hwt-accent);
    color: var(--hwt-white);
    font-weight: var(--hwt-fw-semibold);
    padding: 0.875rem 1.75rem;
    border-radius: var(--hwt-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--hwt-transition);
    white-space: nowrap;
    font-family: var(--hwt-font-body);
}

.hwt-optin__btn:hover {
    background: var(--hwt-accent-hover);
    transform: translateY(-1px);
}


/* ==========================================================================
   AD ZONES
   ========================================================================== */

.hwt-ad {
    text-align: center;
    padding: var(--hwt-space-lg) 0;
    clear: both;
}

.hwt-ad__label {
    font-size: 0.65rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--hwt-space-xs);
}

.hwt-ad__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: var(--hwt-bg-alt);
    border: 1px dashed var(--hwt-border);
    border-radius: var(--hwt-radius-sm);
}

.hwt-ad--sidebar .hwt-ad__slot {
    min-height: 250px;
}

.hwt-ad--in-content {
    margin: var(--hwt-space-2xl) 0;
}


/* ==========================================================================
   SINGLE POST — Top Area
   ========================================================================== */

.hwt-single {
    max-width: var(--hwt-max-width);
    margin: 0 auto;
    padding: 0 var(--hwt-space-lg);
}

.hwt-single__header {
    max-width: var(--hwt-content-width);
    padding: var(--hwt-space-3xl) 0 var(--hwt-space-xl);
}

.hwt-single__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: var(--hwt-space-lg);
}

.hwt-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hwt-space-md);
    color: var(--hwt-secondary);
    font-size: 0.9rem;
    padding-bottom: var(--hwt-space-lg);
    border-bottom: 1px solid var(--hwt-border);
}

.hwt-single__meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hwt-secondary);
    opacity: 0.4;
}

.hwt-single__featured-img {
    margin: var(--hwt-space-xl) 0 var(--hwt-space-2xl);
    border-radius: var(--hwt-radius-lg);
    overflow: hidden;
    max-width: var(--hwt-content-width);
}

.hwt-single__featured-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}


/* ==========================================================================
   SINGLE POST — Content + Sidebar Layout
   ========================================================================== */

.hwt-single__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--hwt-space-3xl);
    align-items: start;
}

.hwt-single__content {
    max-width: var(--hwt-content-width);
    font-size: 1.05rem;
    line-height: var(--hwt-lh-relaxed);
}

.hwt-single__content p {
    margin-bottom: var(--hwt-space-lg);
}

.hwt-single__content h2 {
    font-size: 1.6rem;
    margin-top: var(--hwt-space-3xl);
    margin-bottom: var(--hwt-space-lg);
}

.hwt-single__content h3 {
    font-size: 1.3rem;
    margin-top: var(--hwt-space-2xl);
    margin-bottom: var(--hwt-space-md);
}

.hwt-single__content ul,
.hwt-single__content ol {
    margin-bottom: var(--hwt-space-lg);
    padding-left: var(--hwt-space-xl);
}

.hwt-single__content li {
    margin-bottom: var(--hwt-space-sm);
    line-height: var(--hwt-lh-relaxed);
}

.hwt-single__content img {
    border-radius: var(--hwt-radius-md);
    margin: var(--hwt-space-xl) 0;
}

.hwt-single__content blockquote {
    border-left: 4px solid var(--hwt-accent);
    background: var(--hwt-bg-alt);
    padding: var(--hwt-space-lg) var(--hwt-space-xl);
    margin: var(--hwt-space-xl) 0;
    border-radius: 0 var(--hwt-radius-md) var(--hwt-radius-md) 0;
    font-style: italic;
    color: var(--hwt-secondary);
}


/* ==========================================================================
   SIDEBAR — Sticky
   ========================================================================== */

.hwt-sidebar {
    position: sticky;
    top: var(--hwt-space-xl);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.hwt-sidebar::-webkit-scrollbar {
    width: 4px;
}

.hwt-sidebar::-webkit-scrollbar-thumb {
    background: var(--hwt-border);
    border-radius: 2px;
}

.hwt-sidebar__widget {
    margin-bottom: var(--hwt-space-xl);
    padding: var(--hwt-space-lg);
    background: var(--hwt-bg-alt);
    border-radius: var(--hwt-radius-lg);
}

.hwt-sidebar__title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hwt-primary);
    margin-bottom: var(--hwt-space-md);
    padding-bottom: var(--hwt-space-sm);
    border-bottom: 2px solid var(--hwt-accent);
}


/* ==========================================================================
   TABLE OF CONTENTS
   ========================================================================== */

.hwt-toc {
    background: var(--hwt-bg-alt);
    border: 1px solid var(--hwt-border);
    border-radius: var(--hwt-radius-lg);
    padding: var(--hwt-space-lg) var(--hwt-space-xl);
    margin: var(--hwt-space-xl) 0 var(--hwt-space-2xl);
}

.hwt-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--hwt-space-md);
}

.hwt-toc__title {
    font-size: 1rem;
    font-weight: var(--hwt-fw-semibold);
    margin: 0;
}

.hwt-toc__toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--hwt-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--hwt-radius-sm);
    transition: var(--hwt-transition-fast);
}

.hwt-toc__toggle:hover {
    background: var(--hwt-border-light);
}

.hwt-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.hwt-toc__list li {
    counter-increment: toc-counter;
    margin-bottom: 0.375rem;
}

.hwt-toc__list li::before {
    content: counter(toc-counter) ". ";
    color: var(--hwt-accent);
    font-weight: var(--hwt-fw-semibold);
    font-size: 0.85rem;
}

.hwt-toc__list li a {
    color: var(--hwt-primary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.hwt-toc__list li a:hover {
    color: var(--hwt-accent);
}

.hwt-toc__list li.hwt-toc__sub {
    padding-left: var(--hwt-space-lg);
    font-size: 0.85rem;
}

.hwt-toc__list li.hwt-toc__sub::before {
    color: var(--hwt-secondary);
    font-weight: var(--hwt-fw-regular);
}

.hwt-toc__list.hwt-toc--collapsed {
    display: none;
}


/* ==========================================================================
   PINTEREST PIN-IT OVERLAY
   ========================================================================== */

.hwt-pin-wrap {
    position: relative;
    display: inline-block;
    margin: var(--hwt-space-xl) 0;
}

.hwt-pin-btn {
    position: absolute;
    top: var(--hwt-space-md);
    left: var(--hwt-space-md);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #E60023;
    color: var(--hwt-white) !important;
    font-size: 0.8rem;
    font-weight: var(--hwt-fw-semibold);
    padding: 0.5rem 0.875rem;
    border-radius: var(--hwt-radius-full);
    opacity: 0;
    transform: translateY(-4px);
    transition: var(--hwt-transition);
    z-index: 5;
    text-decoration: none;
}

.hwt-pin-wrap:hover .hwt-pin-btn {
    opacity: 1;
    transform: translateY(0);
}

.hwt-pin-btn:hover {
    background: #AD081B;
    color: var(--hwt-white) !important;
}

.hwt-pin-btn svg {
    flex-shrink: 0;
}


/* ==========================================================================
   SHARE BUTTONS
   ========================================================================== */

.hwt-share {
    display: flex;
    align-items: center;
    gap: var(--hwt-space-sm);
}

.hwt-share--top {
    margin: var(--hwt-space-lg) 0;
}

.hwt-share--floating {
    position: fixed;
    left: var(--hwt-space-lg);
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hwt-share--floating.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.hwt-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--hwt-radius-md);
    color: var(--hwt-white);
    transition: var(--hwt-transition);
    border: none;
    cursor: pointer;
}

.hwt-share__btn:hover {
    transform: translateY(-2px);
    color: var(--hwt-white);
}

.hwt-share__btn--pinterest { background: #E60023; }
.hwt-share__btn--pinterest:hover { background: #AD081B; }
.hwt-share__btn--facebook { background: #1877F2; }
.hwt-share__btn--facebook:hover { background: #0C5DC7; }
.hwt-share__btn--twitter { background: #111111; }
.hwt-share__btn--twitter:hover { background: #333333; }
.hwt-share__btn--copy { background: #6B7280; }
.hwt-share__btn--copy:hover { background: #4B5563; }


/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.hwt-breadcrumb {
    padding: var(--hwt-space-md) 0;
    font-size: 0.8rem;
}

.hwt-breadcrumb__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    padding: 0;
    margin: 0;
}

.hwt-breadcrumb__item a {
    color: var(--hwt-secondary);
    text-decoration: none;
}

.hwt-breadcrumb__item a:hover {
    color: var(--hwt-accent);
}

.hwt-breadcrumb__item--current span {
    color: var(--hwt-primary);
    font-weight: var(--hwt-fw-medium);
}

.hwt-breadcrumb__sep {
    color: var(--hwt-border);
}


/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.hwt-related {
    margin-top: var(--hwt-space-4xl);
    padding-top: var(--hwt-space-3xl);
    border-top: 1px solid var(--hwt-border);
}

.hwt-related__title {
    font-size: 1.3rem;
    margin-bottom: var(--hwt-space-xl);
}

.hwt-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hwt-space-lg);
}

.hwt-related__card {
    border-radius: var(--hwt-radius-lg);
    overflow: hidden;
    box-shadow: var(--hwt-shadow-card);
    transition: var(--hwt-transition);
}

.hwt-related__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hwt-shadow-lg);
}

.hwt-related__img-link {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.hwt-related__img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hwt-related__card:hover .hwt-related__img-link img {
    transform: scale(1.05);
}

.hwt-related__card-title {
    font-size: 0.95rem;
    padding: var(--hwt-space-md) var(--hwt-space-lg);
    margin: 0;
}

.hwt-related__card-title a {
    color: var(--hwt-primary);
}

.hwt-related__card-title a:hover {
    color: var(--hwt-accent);
}


/* ==========================================================================
   POPULAR POSTS WIDGET
   ========================================================================== */

.hwt-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hwt-popular-posts__item {
    display: flex;
    align-items: flex-start;
    gap: var(--hwt-space-md);
    padding: var(--hwt-space-md) 0;
    border-bottom: 1px solid var(--hwt-border-light);
}

.hwt-popular-posts__item:last-child {
    border-bottom: none;
}

.hwt-popular-posts__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hwt-accent-light);
    color: var(--hwt-accent);
    font-size: 0.75rem;
    font-weight: var(--hwt-fw-bold);
    border-radius: var(--hwt-radius-sm);
}

.hwt-popular-posts__content {
    display: flex;
    gap: var(--hwt-space-sm);
    align-items: center;
    flex: 1;
    min-width: 0;
}

.hwt-popular-posts__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--hwt-radius-sm);
    overflow: hidden;
}

.hwt-popular-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hwt-popular-posts__title {
    color: var(--hwt-primary);
    font-size: 0.85rem;
    font-weight: var(--hwt-fw-medium);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hwt-popular-posts__title:hover {
    color: var(--hwt-accent);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.hwt-footer {
    background: var(--hwt-bg-dark);
    color: #9CA3AF;
    padding: var(--hwt-space-4xl) 0 var(--hwt-space-xl);
}

.hwt-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--hwt-space-3xl);
    max-width: var(--hwt-max-width);
    margin: 0 auto;
    padding: 0 var(--hwt-space-lg);
}

.hwt-footer__title {
    color: var(--hwt-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--hwt-space-lg);
    padding-bottom: var(--hwt-space-sm);
    border-bottom: 2px solid var(--hwt-accent);
    display: inline-block;
}

.hwt-footer__widget p {
    font-size: 0.9rem;
    line-height: var(--hwt-lh-relaxed);
}

.hwt-footer__widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hwt-footer__widget li {
    margin-bottom: var(--hwt-space-sm);
}

.hwt-footer__widget a {
    color: #9CA3AF;
    font-size: 0.9rem;
    transition: var(--hwt-transition-fast);
}

.hwt-footer__widget a:hover {
    color: var(--hwt-white);
    padding-left: 4px;
}

.hwt-footer__bottom {
    text-align: center;
    padding-top: var(--hwt-space-2xl);
    margin-top: var(--hwt-space-2xl);
    border-top: 1px solid #1F2937;
    font-size: 0.8rem;
    color: #6B7280;
    max-width: var(--hwt-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hwt-space-lg);
    padding-right: var(--hwt-space-lg);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hwt-single__layout {
        grid-template-columns: 1fr;
    }

    .hwt-sidebar {
        position: static;
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hwt-space-lg);
    }

    .hwt-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hwt-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hwt-share--floating {
        display: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hwt-hero__content {
        padding: var(--hwt-space-xl) var(--hwt-space-md);
    }

    .hwt-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hwt-space-md);
    }

    .hwt-posts-grid {
        grid-template-columns: 1fr;
    }

    .hwt-related__grid {
        grid-template-columns: 1fr;
    }

    .hwt-sidebar {
        grid-template-columns: 1fr;
    }

    .hwt-footer__grid {
        grid-template-columns: 1fr;
    }

    .hwt-optin__form {
        flex-direction: column;
    }

    .hwt-single__title {
        font-size: 1.5rem;
    }

    .hwt-single__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--hwt-space-sm);
    }

    .hwt-single__meta .hwt-single__meta-sep {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hwt-container {
        padding: 0;
    }
}
