/**
 * HairStyleMojo Listicle Styles
 *
 * Migrated from WPCode snippet 27874 (listicle v5.5.3).
 *
 * @package HelloBizChild
 * @since   1.2.0
 */

/* =============================================================================
   HSM v5.5.3 - SEO CONTENT VISIBILITY FIX
   ============================================================================= */

.hsm {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --blue: #4A8FE7;
    --blue-dark: #3A7BD5;
    --blue-pale: #F5F9FF;
    --blue-glow: rgba(74, 143, 231, 0.25);

    --charcoal: #2D3748;
    --charcoal-mid: #4A5568;
    --charcoal-light: #5A6A7E;
    --gray-100: #F7FAFC;
    --gray-200: #EDF2F7;
    --white: #FFFFFF;
    --border: #E2E8F0;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 35px rgba(74,143,231,0.2);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.3s ease;
    --sticky-offset: 60px;

    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.hsm *, .hsm *::before, .hsm *::after { box-sizing: border-box; }
.hsm img { max-width: 100%; height: auto; display: block; }
.hsm a { text-decoration: none; color: inherit; }

/* =============================================================================
   HERO
   ============================================================================= */

.hsm-hero {
    width: 100%;
    padding: 30px 0 50px;
    background: var(--white);
}

.hsm-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    padding: 0 60px;
}

.hsm-hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--charcoal);
}

.hsm-hero-text h1 em {
    font-style: italic;
    color: var(--blue);
}

.hsm-hero-desc {
    font-size: 17px;
    color: var(--charcoal-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hsm-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hsm-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--charcoal-mid);
}

.hsm-hero-stat svg { width: 17px; height: 17px; color: var(--blue); }
.hsm-hero-stat strong { font-weight: 600; color: var(--charcoal); }
.hsm-hero-dates { flex-wrap: wrap; }
.hsm-hero-updated { font-size: 13px; color: var(--charcoal-light); }

.hsm-hero-badge {
    display: inline-block;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--blue);
    color: var(--white);
    border-radius: 50px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.hsm-hero-badge:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* Social Share */
.hsm-hero-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.hsm-hero-share-label { font-size: 13px; color: var(--charcoal-light); font-weight: 500; }

.hsm-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-mid);
    cursor: pointer;
    transition: var(--transition);
}

.hsm-share-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.hsm-share-btn svg { width: 16px; height: 16px; }
.hsm-share-btn.pinterest:hover { color: #E60023; border-color: #E60023; }
.hsm-share-btn.facebook:hover { color: #1877F2; border-color: #1877F2; }
.hsm-share-btn.twitter:hover { color: #1DA1F2; border-color: #1DA1F2; }

/* Bento Grid */
.hsm-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 40px);
    gap: 12px;
}

.hsm-bento-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-200);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.hsm-bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hsm-bento-item:hover::after { opacity: 1; }

.hsm-bento-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.hsm-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Bento positions */
.hsm-bento-item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 7; }
.hsm-bento-item:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 4; }
.hsm-bento-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 5; }
.hsm-bento-item:nth-child(4) { grid-column: 6 / 9;  grid-row: 4 / 8; }
.hsm-bento-item:nth-child(5) { grid-column: 9 / 13; grid-row: 5 / 11; }
.hsm-bento-item:nth-child(6) { grid-column: 1 / 6;  grid-row: 7 / 11; }
.hsm-bento-item:nth-child(7) { grid-column: 6 / 9;  grid-row: 8 / 11; }

@media (max-width: 1200px) { .hsm-hero-inner { gap: 35px; padding: 0 40px; } }

@media (max-width: 1024px) {
    .hsm-hero-inner { grid-template-columns: 1fr 1fr; }
    .hsm-bento { grid-template-rows: repeat(10, 35px); gap: 10px; }
}

@media (max-width: 850px) {
    .hsm-hero { padding: 24px 0 40px; }
    .hsm-hero-inner {
        grid-template-columns: 1fr; gap: 30px; padding: 0 20px; text-align: center;
    }
    .hsm-hero-meta { justify-content: center; }
    .hsm-hero-share { justify-content: center; }
    .hsm-bento {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(6, 50px);
        max-width: 100%;
    }
    .hsm-bento-item:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 4; }
    .hsm-bento-item:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 3; }
    .hsm-bento-item:nth-child(3) { grid-column: 4 / 7; grid-row: 3 / 5; }
    .hsm-bento-item:nth-child(4) { grid-column: 1 / 3; grid-row: 4 / 7; }
    .hsm-bento-item:nth-child(5) { grid-column: 3 / 5; grid-row: 5 / 7; }
    .hsm-bento-item:nth-child(6) { grid-column: 5 / 7; grid-row: 5 / 7; }
    .hsm-bento-item:nth-child(7) { display: none; }
}

@media (max-width: 576px) {
    .hsm-hero-inner { padding: 0 16px; }
    .hsm-bento {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 55px);
        gap: 8px;
    }
    .hsm-bento-item { border-radius: 12px; }
    .hsm-bento-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
    .hsm-bento-item:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
    .hsm-bento-item:nth-child(3) { grid-column: 3 / 5; grid-row: 2 / 3; }
    .hsm-bento-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 5; }
    .hsm-bento-item:nth-child(5) { grid-column: 2 / 4; grid-row: 3 / 5; }
    .hsm-bento-item:nth-child(6) { grid-column: 4 / 5; grid-row: 3 / 5; }
}

/* =============================================================================
   v5.5.3: INTRO BLOCK (full intro text visible above grid)
   ============================================================================= */

.hsm-intro-block {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 40px 10px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--charcoal-mid);
}

.hsm-intro-block p {
    margin: 0 0 14px;
}

.hsm-intro-block p:last-child { margin-bottom: 0; }

@media (max-width: 768px) { .hsm-intro-block { padding: 0 16px 10px; font-size: 15px; } }

/* =============================================================================
   TOOLBAR
   ============================================================================= */

.hsm-toolbar {
    position: sticky;
    top: var(--sticky-offset);
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 40px;
}

.hsm-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hsm-counter { font-size: 14px; color: var(--charcoal-light); }
.hsm-counter strong { font-weight: 600; color: var(--charcoal); }

.hsm-toolbar-actions { display: flex; align-items: center; gap: 12px; }

/* Save All and Scroll-top — hidden (save functionality removed) */
.hsm-save-all-btn { display: none !important; }
.hsm-scroll-top { display: none !important; }

@media (max-width: 768px) {
    .hsm-toolbar { padding: 10px 16px; }
    .hsm-save-all-btn span { display: none; }
    .hsm-save-all-btn { padding: 8px 12px; }
}

/* =============================================================================
   MASONRY GRID
   ============================================================================= */

.hsm-grid-section {
    background: var(--white);
    padding: 50px 40px 30px;
    border-top: 1px solid var(--border);
}

.hsm-section-header { text-align: center; margin-bottom: 40px; }

.hsm-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.hsm-section-label::before { content: ''; width: 24px; height: 2px; background: var(--blue); }

.hsm-section-header h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--charcoal);
}

.hsm-section-header p { font-size: 15px; color: var(--charcoal-light); margin: 0; }

.hsm-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) { .hsm-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .hsm-grid-section { padding: 40px 16px 50px; }
    .hsm-masonry { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) { .hsm-masonry { grid-template-columns: 1fr; gap: 16px; } }

/* =============================================================================
   CARD - v5.5.3: Now includes visible text description
   ============================================================================= */

.hsm-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
    opacity: 1;
}

.hsm-card.hsm-card--hidden {
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    opacity: 0;
}

@media (max-width: 768px) { .hsm-card { border-radius: 14px; } }

@media (hover: hover) {
    .hsm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
}

.hsm-card-visual {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--gray-200);
    overflow: hidden;
    cursor: pointer;
}

.hsm-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
    .hsm-card:hover .hsm-card-visual img { transform: scale(1.06); }
}

.hsm-card-num {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: var(--transition);
}

@media (hover: hover) {
    .hsm-card:hover .hsm-card-num { background: var(--blue); color: var(--white); }
}

/* Try-on overlay on card hover */
.hsm-card-tryon-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.hsm-card-tryon-overlay svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Override parent-theme button:hover — keep the transparent gradient */
.hsm-card-tryon-overlay:hover,
.hsm-card-tryon-overlay:focus,
.hsm-card-tryon-overlay:active {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 70%, transparent 100%) !important;
    color: var(--white) !important;
    border: none !important;
    outline: none !important;
}

@media (hover: hover) {
    .hsm-card:hover .hsm-card-tryon-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Always visible on touch devices */
@media (hover: none) {
    .hsm-card-tryon-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Legacy save btn — hidden */
.hsm-save-btn { display: none !important; }

.hsm-card-body { padding: 14px; }
@media (max-width: 600px) { .hsm-card-body { padding: 12px; } }

/* Author byline in hero */
.hsm-hero-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hsm-hero-author a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.hsm-hero-author a:hover { opacity: 0.8; }

.hsm-hero-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.hsm-hero-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
}

.hsm-hero-author-role {
    font-size: 12px;
    color: var(--charcoal-light);
    display: block;
    margin-top: 1px;
}

@media (max-width: 850px) {
    .hsm-hero-author { justify-content: center; }
}

.hsm-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 6px;
    color: var(--charcoal);
    cursor: pointer;
}

@media (max-width: 600px) { .hsm-card-title { font-size: 14px; } }

/* Slide text — collapsed by CSS, crawlable by Google (not <details>) */
.hsm-card-details {
    margin: 4px 0 6px;
}

.hsm-card-toggle {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue);
    cursor: pointer;
    font-family: var(--font-body);
}

.hsm-card-details .hsm-card-fulltext {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    font-size: 13px;
    line-height: 1.6;
    color: var(--charcoal-light);
    margin: 6px 0 0;
    padding: 0;
}

.hsm-card-details.open .hsm-card-fulltext {
    max-height: 500px;
    opacity: 1;
}

@media (max-width: 600px) {
    .hsm-card-details .hsm-card-fulltext { font-size: 12px; }
}

/* Card "See this on you" text link — hidden (replaced by hover overlay) */
.hsm-card-tryon { display: none !important; }

.hsm-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--gray-200), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hsm-placeholder svg { width: 40px; height: 40px; color: var(--charcoal-light); opacity: 0.3; }

/* =============================================================================
   v5.5.3: OUTRO BLOCK (visible closing content below grid)
   ============================================================================= */

.hsm-outro-block {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 40px 20px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--charcoal-mid);
}

.hsm-outro-block p { margin: 0 0 14px; }
.hsm-outro-block p:last-child { margin-bottom: 0; }

@media (max-width: 768px) { .hsm-outro-block { padding: 30px 16px 10px; font-size: 15px; } }

/* =============================================================================
   LOAD MORE
   ============================================================================= */

.hsm-load-section {
    background: var(--white);
    text-align: center;
    padding: 10px 24px 30px;
}

.hsm-load-btn,
.hsm .hsm-load-btn,
button.hsm-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #FFFFFF !important;
    border: 2px solid var(--border) !important;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal) !important;
    cursor: pointer;
    transition: var(--transition);
}

.hsm-load-btn:hover,
.hsm .hsm-load-btn:hover,
button.hsm-load-btn:hover { background: var(--blue) !important; border-color: var(--blue) !important; color: #FFFFFF !important; }
.hsm-load-btn svg { width: 18px; height: 18px; }
.hsm-load-btn.loading svg { animation: hsmSpin 1s linear infinite; }
@keyframes hsmSpin { to { transform: rotate(360deg); } }

.hsm-load-count { margin-top: 12px; font-size: 14px; color: var(--charcoal-light); }

/* =============================================================================
   RELATED ARTICLES
   ============================================================================= */

.hsm-related {
    background: var(--white);
    padding: 60px 40px;
    border-top: 1px solid var(--border);
}

.hsm-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.hsm-related-left { display: flex; align-items: center; gap: 14px; }

.hsm-related-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.hsm-related-icon svg { width: 22px; height: 22px; }

.hsm-related-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: var(--charcoal);
}

.hsm-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    transition: var(--transition);
}

.hsm-related-link:hover { color: var(--blue-dark); }
.hsm-related-link svg { width: 16px; height: 16px; }

.hsm-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hsm-related-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hsm-related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.hsm-related-thumb {
    height: 160px;
    overflow: hidden;
    background: var(--gray-200);
}

.hsm-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hsm-related-card:hover .hsm-related-thumb img { transform: scale(1.05); }

.hsm-related-body { padding: 16px; }

.hsm-related-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.hsm-related-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: var(--charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1100px) { .hsm-related-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
    .hsm-related { padding: 40px 16px; }
    .hsm-related-header { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hsm-related-grid { gap: 14px; }
    .hsm-related-thumb { height: 140px; }
}

@media (max-width: 500px) { .hsm-related-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   TAGS
   ============================================================================= */

.hsm-tags-section {
    background: var(--white);
    padding: 50px 40px;
    border-top: 1px solid var(--border);
}

.hsm-tags-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.hsm-tags-icon {
    width: 40px;
    height: 40px;
    background: var(--blue-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.hsm-tags-icon svg { width: 20px; height: 20px; }

.hsm-tags-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: var(--charcoal);
}

.hsm-tags-list { display: flex; flex-wrap: wrap; gap: 10px; }

.hsm-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-mid);
    transition: var(--transition);
}

.hsm-tag:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-2px); }

@media (max-width: 768px) {
    .hsm-tags-section { padding: 40px 16px; }
    .hsm-tag { padding: 8px 14px; font-size: 13px; }
}

/* =============================================================================
   LIGHTBOX
   ============================================================================= */

.hsm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.97);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.hsm-lightbox.active { opacity: 1; visibility: visible; }

body.hsm-lb-open ins.adsbygoogle[data-anchor-status],
body.hsm-lb-open ins.adsbygoogle[data-ad-format="auto"],
body.hsm-lb-open div[id^="google_ads"],
body.hsm-lb-open iframe[id^="aswift_"],
body.hsm-lb-open div[id^="div-gpt-ad"],
body.hsm-lb-open .adsbygoogle-noablate,
body.hsm-lb-open #fixedban,
body.hsm-lb-open div[data-anchor-status] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

/* Lightbox header — title bigger & more visible */
.hsm-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    position: relative;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.hsm-lb-counter { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85); flex-shrink: 0; }
.hsm-lb-counter strong { color: var(--white); font-weight: 700; }

.hsm-lb-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    flex: 1;
    text-align: center;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
    .hsm-lb-header { padding: 14px 16px; }
    .hsm-lb-title { font-size: 18px; padding: 0 10px; }
    .hsm-lb-counter { font-size: 13px; }
}

.hsm-lb-close {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.hsm-lb-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.hsm-lb-close svg { width: 22px; height: 22px; }

/* Lightbox body — image centered with proper spacing for nav arrows */
.hsm-lb-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 72px;
    position: relative;
    min-height: 0;
}

@media (max-width: 1200px) { .hsm-lb-body { padding: 14px 64px; } }
@media (max-width: 900px) { .hsm-lb-body { padding: 12px 52px; } }
@media (max-width: 600px) { .hsm-lb-body { padding: 10px 44px; } }

.hsm-lb-img-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
}

.hsm-lb-img {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s var(--ease);
}

.hsm-lightbox.active .hsm-lb-img { opacity: 1; transform: scale(1); }

.hsm-lb-prompt {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--blue);
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-family: var(--font-body);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(74, 143, 231, 0.5);
    opacity: 0;
    visibility: hidden;
}

.hsm-lightbox.active .hsm-lb-prompt {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.25s;
}

.hsm-lb-prompt:hover {
    background: var(--blue-dark);
    box-shadow: 0 6px 22px rgba(74, 143, 231, 0.6);
    transform: translateY(-2px);
}

.hsm-lb-prompt svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.hsm-lb-prompt:hover svg { transform: translateX(3px); }

@media (max-width: 600px) {
    .hsm-lb-prompt {
        bottom: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Lightbox nav arrows — more visible, closer to content */
.hsm-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    z-index: 20;
}

.hsm-lb-nav:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.hsm-lb-nav:active { transform: translateY(-50%) scale(0.95); }
.hsm-lb-nav:disabled { opacity: 0.15; pointer-events: none; }
.hsm-lb-nav svg { width: 24px; height: 24px; stroke-width: 2.5; }
.hsm-lb-prev { left: 16px; }
.hsm-lb-next { right: 16px; }

@media (max-width: 900px) {
    .hsm-lb-nav { width: 44px; height: 44px; }
    .hsm-lb-nav svg { width: 22px; height: 22px; }
    .hsm-lb-prev { left: 8px; }
    .hsm-lb-next { right: 8px; }
}

@media (max-width: 600px) {
    .hsm-lb-nav { width: 40px; height: 40px; }
    .hsm-lb-nav svg { width: 20px; height: 20px; }
    .hsm-lb-prev { left: 4px; }
    .hsm-lb-next { right: 4px; }
}

/* Lightbox footer — description more readable */
.hsm-lb-footer {
    position: relative;
    z-index: 10;
    padding: 16px 80px 20px;
    text-align: center;
    flex-shrink: 0;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 900px) { .hsm-lb-footer { padding: 14px 56px 16px; } }
@media (max-width: 600px) { .hsm-lb-footer { padding: 12px 16px 14px; } }

.hsm-lb-desc-wrap {
    max-height: 72px;
    overflow-y: auto;
    max-width: 700px;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.hsm-lb-desc-wrap::-webkit-scrollbar { width: 4px; }
.hsm-lb-desc-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

.hsm-lb-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.hsm-lb-hint {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    z-index: 5;
}

.hsm-lb-hint span { display: flex; align-items: center; gap: 6px; }
.hsm-lb-hint kbd { padding: 4px 8px; background: rgba(255,255,255,0.1); border-radius: 4px; font-family: inherit; }

@media (max-width: 768px) { .hsm-lb-hint { display: none; } }

/* =============================================================================
   SEO NAV
   ============================================================================= */

.hsm-seo-nav {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* =============================================================================
   TOAST
   ============================================================================= */

.hsm-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--charcoal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: var(--shadow-lg);
    max-width: 90vw;
    will-change: transform, opacity;
    contain: layout;
}

.hsm-toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hsm-toast.hsm-toast-invite {
    background: var(--white);
    color: var(--charcoal);
    border: 1px solid var(--border);
    padding: 14px 16px 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    left: 24px;
    right: auto;
    bottom: 24px;
    transform: translateX(0) translateY(20px);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-width: 340px;
}

.hsm-toast-invite.visible {
    transform: translateX(0) translateY(0);
}

@media (max-width: 600px) {
    .hsm-toast.hsm-toast-invite {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

.hsm-toast-invite .hsm-toast-text { flex: 1; }
.hsm-toast-invite .hsm-toast-text strong { color: var(--charcoal); font-weight: 600; font-size: 14px; }
.hsm-toast-invite .hsm-toast-text span { display: block; font-size: 12px; color: var(--charcoal-light); margin-top: 2px; }

.hsm-toast-invite .hsm-toast-arrow {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.hsm-toast-invite:hover .hsm-toast-arrow { background: var(--blue-dark); }
.hsm-toast-invite .hsm-toast-arrow svg { width: 16px; height: 16px; }

.hsm-toast-invite .hsm-toast-dismiss {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: var(--charcoal-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: color 0.2s ease;
    position: absolute;
    top: 8px;
    right: 8px;
}

.hsm-toast-invite .hsm-toast-dismiss:hover { color: var(--charcoal); }
.hsm-toast-invite .hsm-toast-dismiss svg { width: 14px; height: 14px; }

/* =============================================================================
   Floating CTA (engagement-gated)
   ============================================================================= */

.hsm-floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-mid);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s var(--ease);
    will-change: transform, opacity;
    contain: layout;
}

.hsm-floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

.hsm-floating-cta:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 8px 30px rgba(74,143,231,0.3);
}

.hsm-floating-cta svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
    .hsm-floating-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
}

/* =============================================================================
   BREADCRUMB (single posts)
   ============================================================================= */
.hsm .hsm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 24px 0;
    max-width: var(--hsm-max-w, 1200px);
    margin: 0 auto;
    font-family: var(--hsm-body);
    font-size: 0.85rem;
    color: var(--hsm-ink-muted, #666);
    flex-wrap: wrap;
}
.hsm .hsm-breadcrumb a {
    color: var(--hsm-ink-muted, #666);
    text-decoration: none;
    transition: color 0.15s;
}
.hsm .hsm-breadcrumb a:hover {
    color: var(--hsm-ink, #111);
    text-decoration: underline;
}
.hsm .hsm-breadcrumb span[aria-current] {
    color: var(--hsm-ink, #111);
    font-weight: 500;
}
.hsm .hsm-bc-sep {
    flex-shrink: 0;
    opacity: 0.4;
}

/* =============================================================================
   SEE ALSO: internal links section
   ============================================================================= */
.hsm-see-also {
    max-width: var(--hsm-max-w, 1200px);
    margin: 0 auto;
    padding: 20px 24px 12px;
    font-family: var(--hsm-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--hsm-ink-muted, #555);
}
.hsm-see-also a {
    color: var(--hsm-accent, #4a8fe7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.hsm-see-also a:hover {
    color: var(--hsm-ink, #111);
    text-decoration: underline;
}

/* =============================================================================
 * Hide tags & comments on listicle posts (moved from inline wp_head hooks)
 * ============================================================================= */
.tagcloud, .post-tags, .entry-tags, .tags-links { display: none !important; }
#comments, .comments-area, .comment-respond { display: none !important; }

/* =============================================================================
 * SEO PAGINATION (v1.3.0) — paginated page styles
 * ============================================================================= */
.hsm-page-header {
    max-width: var(--hsm-max-w, 1200px);
    margin: 0 auto;
    padding: 32px 16px 16px;
    text-align: center;
}
.hsm-page-header h1 {
    font-family: var(--hsm-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--hsm-ink, #111);
    margin: 8px 0;
}
.hsm-page-subtitle {
    color: var(--hsm-ink-muted, #555);
    font-size: 0.95rem;
}

/* Pagination nav */
.hsm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: var(--hsm-max-w, 1200px);
    margin: 32px auto;
    padding: 0 16px;
    flex-wrap: wrap;
}
.hsm-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--hsm-accent, #4a8fe7);
    background: var(--hsm-surface, #f8f9fa);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.hsm-page-link:hover {
    background: var(--hsm-accent, #4a8fe7);
    color: #fff;
}
.hsm-page-link svg {
    width: 18px;
    height: 18px;
}
.hsm-page-nums {
    display: flex;
    gap: 4px;
}
.hsm-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hsm-ink-muted, #555);
    background: var(--hsm-surface, #f8f9fa);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.hsm-page-num:hover {
    background: var(--hsm-accent, #4a8fe7);
    color: #fff;
}
.hsm-page-num.current {
    background: var(--hsm-accent, #4a8fe7);
    color: #fff;
    pointer-events: none;
}

/* View all link */
.hsm-view-all {
    text-align: center;
    padding: 0 16px 32px;
}
.hsm-view-all a {
    color: var(--hsm-accent, #4a8fe7);
    font-weight: 500;
    text-decoration: none;
}
.hsm-view-all a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hsm-page-nums { display: none; }
    .hsm-pagination { gap: 12px; }
}

/* =============================================================================
 * SINGLE-IMAGE PAGE (v1.3.1) — per-image SEO landing pages
 * ============================================================================= */

/* Top nav bar */
.hsm-si-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 24px 12px;
}

.hsm-si-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue, #4A8FE7);
    text-decoration: none;
    transition: color 0.15s;
}

.hsm-si-back:hover {
    color: var(--blue-dark, #3A7BD5);
}

.hsm-si-counter {
    font-size: 0.85rem;
    color: var(--charcoal-light, #5A6A7E);
    font-weight: 500;
}

/* Main content layout */
.hsm-si-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 24px 40px;
}

/* Image */
.hsm-si-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    background: var(--gray-200, #EDF2F7);
    line-height: 0;
}

.hsm-si-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Info panel */
.hsm-si-info {
    padding-top: 8px;
}

.hsm-si-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue, #4A8FE7);
    margin-bottom: 8px;
}

.hsm-si-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal, #2D3748);
    margin: 0 0 16px;
}

.hsm-si-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal-mid, #4A5568);
    margin: 0 0 24px;
}

/* Action buttons */
.hsm-si-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.hsm-si-tryon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--blue, #4A8FE7);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(74, 143, 231, 0.35);
}

.hsm-si-tryon:hover {
    background: var(--blue-dark, #3A7BD5);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(74, 143, 231, 0.45);
    color: #fff;
}

.hsm-si-viewall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--gray-100, #F7FAFC);
    border: 1px solid var(--border, #E2E8F0);
    color: var(--charcoal-mid, #4A5568);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hsm-si-viewall:hover {
    border-color: var(--blue, #4A8FE7);
    color: var(--blue, #4A8FE7);
    transform: translateY(-2px);
}

/* Category/article meta */
.hsm-si-meta {
    font-size: 0.85rem;
    color: var(--charcoal-light, #5A6A7E);
    line-height: 1.5;
}

.hsm-si-from {
    display: block;
    margin-bottom: 4px;
}

.hsm-si-cat {
    color: var(--blue, #4A8FE7);
    text-decoration: none;
    font-weight: 500;
}

.hsm-si-cat:hover {
    text-decoration: underline;
}

/* Single-image page pagination */
.hsm-single-image .hsm-pagination {
    max-width: 960px;
    border-top: 1px solid var(--border, #E2E8F0);
    padding-top: 24px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .hsm-si-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px 16px 32px;
    }

    .hsm-si-nav-top {
        padding: 16px 16px 8px;
    }

    .hsm-si-title {
        font-size: 1.5rem;
    }

    .hsm-si-image-wrap {
        border-radius: 12px;
    }

    .hsm-single-image .hsm-pagination {
        padding: 20px 16px 0;
    }
}

/* =====================================================================
 * v1.3.2: ATTACHMENT PAGE STYLES
 * Dedicated image landing pages for Google Images SEO recovery.
 * Mimics the old Newspaper theme's attachment.php layout.
 * ===================================================================== */

.hsm-attachment-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2D3748;
}

/* Breadcrumb */
.hsm-att-breadcrumb {
    font-size: 13px;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}
.hsm-att-breadcrumb a {
    color: #4A8FE7;
    text-decoration: none;
}
.hsm-att-breadcrumb a:hover {
    text-decoration: underline;
}
.hsm-att-sep {
    margin: 0 6px;
    color: #CBD5E0;
}
.hsm-att-current {
    color: #4A5568;
}

/* Article layout */
.hsm-att-article {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Image */
.hsm-att-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: #F7FAFC;
    line-height: 0;
}
.hsm-att-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info panel */
.hsm-att-info {
    padding-top: 8px;
}
.hsm-att-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #2D3748;
    margin: 0 0 12px;
}
.hsm-att-meta {
    font-size: 14px;
    color: #718096;
    margin: 0 0 16px;
}
.hsm-att-meta a {
    color: #4A8FE7;
    text-decoration: none;
}
.hsm-att-meta a:hover {
    text-decoration: underline;
}
.hsm-att-counter {
    font-weight: 600;
    color: #4A5568;
}
.hsm-att-meta-sep {
    margin: 0 8px;
}

/* Description */
.hsm-att-desc {
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 15px;
    color: #4A5568;
}
.hsm-att-desc p {
    margin: 0;
}

/* Action buttons */
.hsm-att-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.hsm-att-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.hsm-att-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.hsm-att-btn-primary {
    background: #4A8FE7;
    color: #fff;
    border: 2px solid #4A8FE7;
}
.hsm-att-btn-primary:hover {
    background: #3A7BD5;
    border-color: #3A7BD5;
    box-shadow: 0 4px 12px rgba(74,143,231,0.3);
    color: #fff;
}
.hsm-att-btn-outline {
    background: transparent;
    color: #4A8FE7;
    border: 2px solid #E2E8F0;
}
.hsm-att-btn-outline:hover {
    border-color: #4A8FE7;
    background: #F5F9FF;
}

/* Prev/Next navigation */
.hsm-att-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}
.hsm-att-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2D3748;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    max-width: 48%;
}
.hsm-att-nav-link:hover {
    background: #F7FAFC;
}
.hsm-att-nav-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.hsm-att-nav-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hsm-att-nav-dir {
    font-size: 12px;
    font-weight: 600;
    color: #4A8FE7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hsm-att-nav-name {
    font-size: 14px;
    color: #4A5568;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hsm-att-nav-next {
    text-align: right;
    justify-content: flex-end;
}
.hsm-att-nav-placeholder {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hsm-att-article {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hsm-att-title {
        font-size: 22px;
    }
    .hsm-att-actions {
        flex-direction: column;
    }
    .hsm-att-btn {
        justify-content: center;
        width: 100%;
    }
    .hsm-att-nav {
        flex-direction: column;
    }
    .hsm-att-nav-link {
        max-width: 100%;
    }
    .hsm-att-nav-next {
        text-align: left;
        justify-content: flex-start;
    }
}
