/*!
 * High Protein Recipes Additions — Stylesheet
 * v1.0.0
 *
 * Olive + Terracotta + Cream palette
 * Aligned with Yummy Recipe theme (sits on top, hides theme header/footer)
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --hpra-olive: #5A6440;
    --hpra-olive-dark: #3F4630;
    --hpra-olive-light: #E9ECE0;
    --hpra-terracotta: #B8553A;
    --hpra-terracotta-dark: #8C3E2A;
    --hpra-terracotta-light: #F7E7DF;
    --hpra-cream: #F9F5EF;
    --hpra-cream-warm: #F3EDE2;
    --hpra-text: #1F1F1F;
    --hpra-text-soft: #4A4A4A;
    --hpra-text-muted: #8A8A8A;
    --hpra-border: #E4DCC9;
    --hpra-border-soft: #F0E8DA;
    --hpra-gold: #C99B3D;
    --hpra-white: #FFFFFF;

    --hpra-serif: 'DM Serif Display', Georgia, serif;
    --hpra-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hpra-script: 'Caveat', cursive;

    --hpra-radius: 4px;
    --hpra-radius-lg: 10px;
    --hpra-shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.06);
    --hpra-shadow-md: 0 8px 24px rgba(60, 40, 20, 0.08);
    --hpra-shadow-lg: 0 16px 40px rgba(60, 40, 20, 0.12);

    --hpra-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --hpra-t: 0.25s var(--hpra-ease);
    --hpra-t-fast: 0.15s var(--hpra-ease);

    --hpra-container: 1200px;
}

/* ============================================================
   HIDE PARENT THEME HEADER + FOOTER
   ============================================================ */
.hpra-active .site-header:not(.hpra-header),
.hpra-active .site-footer:not(.hpra-footer),
.hpra-active #masthead:not(.hpra-header),
.hpra-active #colophon:not(.hpra-footer),
.hpra-active body > header:not(.hpra-header),
.hpra-active body > footer:not(.hpra-footer) {
    display: none !important;
}

/* Push site content below our header */
.hpra-active #content,
.hpra-active .site-main:not(.hpra-main),
.hpra-active #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
#hpra-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--hpra-terracotta), var(--hpra-olive));
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ============================================================
   GLOBAL TYPOGRAPHY
   ============================================================ */
.hpra-active {
    font-family: var(--hpra-sans);
    color: var(--hpra-text);
}

.hpra-main {
    background: var(--hpra-white);
    min-height: 60vh;
}

/* ============================================================
   HEADER
   ============================================================ */
.hpra-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--hpra-cream);
    transition: box-shadow var(--hpra-t);
}
.hpra-header.scrolled {
    box-shadow: var(--hpra-shadow-sm);
}

/* Top bar */
.hpra-topbar {
    background: var(--hpra-olive);
    color: var(--hpra-white);
}
.hpra-topbar-inner {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: stretch;
    gap: 24px;
    min-height: 56px;
}
.hpra-topbar-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hpra-white) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
}
.hpra-topbar-promo:hover {
    color: var(--hpra-white) !important;
    opacity: 0.85;
}
.hpra-topbar-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}
.hpra-topbar-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hpra-topbar-socials a {
    color: var(--hpra-white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--hpra-t-fast);
}
.hpra-topbar-socials a:hover {
    opacity: 0.75;
}
.hpra-topbar-socials svg {
    width: 18px;
    height: 18px;
}
.hpra-topbar-btn {
    background: var(--hpra-terracotta);
    color: var(--hpra-white) !important;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background var(--hpra-t-fast);
    letter-spacing: 0.02em;
}
.hpra-topbar-btn:hover {
    background: var(--hpra-terracotta-dark);
    color: var(--hpra-white) !important;
}

/* Main header */
.hpra-header-main {
    background: var(--hpra-cream);
    border-bottom: 1px solid var(--hpra-border);
}
.hpra-header-inner {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}
.hpra-logo {
    font-family: var(--hpra-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--hpra-text) !important;
    letter-spacing: -0.02em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: lowercase;
}
.hpra-logo i, .hpra-logo em {
    font-style: italic;
    font-weight: 400;
}
.hpra-logo img {
    max-height: 56px;
    width: auto;
    display: block;
}

/* Main nav */
.hpra-nav {
    display: flex;
    justify-content: center;
}
.hpra-nav-list,
.hpra-nav ul.hpra-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.hpra-nav-list > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}
.hpra-nav-list > li > a {
    font-family: var(--hpra-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--hpra-text) !important;
    padding: 10px 16px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--hpra-t-fast);
    text-transform: none;
    letter-spacing: 0;
    border-radius: 4px;
}
.hpra-nav-list > li > a:hover {
    color: var(--hpra-terracotta) !important;
}
.hpra-nav-list > li.menu-item-has-children > a::after {
    content: '⌄';
    font-size: 0.7em;
    opacity: 0.6;
    margin-left: 2px;
}
.hpra-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--hpra-white);
    border: 1px solid var(--hpra-border);
    border-radius: var(--hpra-radius-lg);
    box-shadow: var(--hpra-shadow-md);
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--hpra-t-fast);
    z-index: 100;
}
.hpra-nav-list > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hpra-nav-list .sub-menu li {
    list-style: none;
    margin: 0;
}
.hpra-nav-list .sub-menu a {
    display: block;
    padding: 8px 18px;
    font-family: var(--hpra-sans);
    font-size: 13px;
    color: var(--hpra-text-soft) !important;
    text-decoration: none !important;
}
.hpra-nav-list .sub-menu a:hover {
    color: var(--hpra-terracotta) !important;
    background: var(--hpra-olive-light);
}

/* Header right */
.hpra-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hpra-search-btn,
.hpra-mobile-toggle {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--hpra-olive-light);
    color: var(--hpra-olive-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--hpra-t-fast);
    padding: 0;
}
.hpra-search-btn:hover,
.hpra-mobile-toggle:hover {
    background: var(--hpra-olive);
    color: var(--hpra-white);
}
.hpra-search-btn svg,
.hpra-mobile-toggle svg {
    width: 18px;
    height: 18px;
}
.hpra-mobile-toggle {
    display: none;
}

/* Search panel */
.hpra-search-panel {
    background: var(--hpra-cream-warm);
    border-top: 1px solid var(--hpra-border);
    padding: 16px 24px;
}
.hpra-search-panel form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}
.hpra-search-panel input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid var(--hpra-border);
    border-radius: 30px;
    background: var(--hpra-white);
    font-family: var(--hpra-sans);
    font-size: 14px;
    color: var(--hpra-text);
}
.hpra-search-panel input[type="search"]:focus {
    outline: none;
    border-color: var(--hpra-terracotta);
    box-shadow: 0 0 0 3px rgba(184, 85, 58, 0.15);
}
.hpra-search-panel button {
    padding: 12px 18px;
    background: var(--hpra-terracotta);
    color: var(--hpra-white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hpra-search-panel button svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
   HERO — split layout
   ============================================================ */
.hpra-hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 420px;
    background: var(--hpra-cream);
}
.hpra-hero-img {
    background: linear-gradient(135deg, #C77F4F, #4A2516);
    background-size: cover;
    background-position: center;
    display: block;
    min-height: 320px;
}
.hpra-hero-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--hpra-cream);
}
.hpra-hero-cat {
    font-family: var(--hpra-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hpra-olive);
    margin-bottom: 14px;
}
.hpra-hero-title {
    font-family: var(--hpra-serif);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    color: var(--hpra-text);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -0.015em;
}
.hpra-hero-title a {
    color: var(--hpra-text) !important;
    text-decoration: none !important;
}
.hpra-hero-title a:hover {
    color: var(--hpra-terracotta) !important;
}
.hpra-hero-excerpt {
    font-size: 15px;
    color: var(--hpra-text-soft);
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 480px;
}
.hpra-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: var(--hpra-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hpra-text) !important;
    padding: 14px 26px;
    border: 2px solid var(--hpra-text);
    text-decoration: none !important;
    background: transparent;
    transition: all var(--hpra-t-fast);
}
.hpra-hero-btn:hover {
    background: var(--hpra-text);
    color: var(--hpra-white) !important;
}
.hpra-hero-btn-light {
    color: var(--hpra-white) !important;
    border-color: var(--hpra-white);
}
.hpra-hero-btn-light:hover {
    background: var(--hpra-white);
    color: var(--hpra-text) !important;
}

/* Hero — full bleed (Template B) */
.hpra-hero-full {
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    background-color: #4A2516;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hpra-hero-full-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.hpra-hero-full-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: var(--hpra-white);
    max-width: 700px;
}
.hpra-hero-full-cat {
    font-family: var(--hpra-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hpra-white);
    margin-bottom: 14px;
    opacity: 0.92;
}
.hpra-hero-full-title {
    font-family: var(--hpra-serif);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.02;
    color: var(--hpra-white);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.hpra-hero-full-title a {
    color: var(--hpra-white) !important;
    text-decoration: none !important;
}
.hpra-hero-full-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hpra-white);
    margin: 0 0 22px;
    opacity: 0.92;
    max-width: 580px;
}

/* Hero — centered (Template C) */
.hpra-hero-centered {
    text-align: center;
    padding: 64px 24px 56px;
    background: var(--hpra-cream);
    border-bottom: 1px solid var(--hpra-border);
}
.hpra-hero-centered-img {
    display: block;
    width: 100%;
    max-width: 680px;
    height: 340px;
    margin: 0 auto 32px;
    background-color: #C77F4F;
    background-size: cover;
    background-position: center;
}
.hpra-hero-centered .hpra-hero-title {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hpra-hero-centered .hpra-hero-excerpt {
    max-width: 560px;
    margin: 0 auto 22px;
}
.hpra-hero-centered .hpra-hero-btn {
    align-self: center;
}

/* ============================================================
   AUTHOR INTRO (Template D)
   ============================================================ */
.hpra-author-intro {
    text-align: center;
    padding: 60px 24px 50px;
    background: var(--hpra-olive-light);
    border-bottom: 1px solid var(--hpra-border);
}
.hpra-author-intro-avatar {
    margin-bottom: 14px;
}
.hpra-author-intro-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--hpra-cream);
    box-shadow: var(--hpra-shadow-md);
    display: inline-block;
}
.hpra-author-intro-label {
    font-family: var(--hpra-script);
    font-size: 1.4rem;
    color: var(--hpra-olive-dark);
    line-height: 1;
    margin-bottom: 2px;
}
.hpra-author-intro-name {
    font-family: var(--hpra-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--hpra-text);
    margin: 4px 0 12px;
    letter-spacing: -0.02em;
}
.hpra-author-intro-text {
    max-width: 560px;
    margin: 0 auto 16px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hpra-text-soft);
}
.hpra-author-intro-link {
    font-family: var(--hpra-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hpra-olive-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

/* ============================================================
   GRID + CARDS
   ============================================================ */
.hpra-grid-section {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 60px 24px 50px;
}
.hpra-grid-section.hpra-grid-centered {
    text-align: center;
}
.hpra-grid-section.hpra-grid-centered .hpra-grid-h {
    margin-bottom: 36px;
}
.hpra-grid-h {
    font-family: var(--hpra-serif);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 400;
    color: var(--hpra-text);
    margin: 0 0 28px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.hpra-cards {
    display: grid;
    gap: 28px;
}
.hpra-cards-2 { grid-template-columns: repeat(2, 1fr); }
.hpra-cards-3 { grid-template-columns: repeat(3, 1fr); }
.hpra-cards-4 { grid-template-columns: repeat(4, 1fr); }

.hpra-card {
    background: transparent;
}
.hpra-card-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}
.hpra-card-img {
    aspect-ratio: 1 / 1;
    background-color: var(--hpra-cream-warm);
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    transition: transform 0.4s var(--hpra-ease);
}
.hpra-card-link:hover .hpra-card-img {
    transform: scale(1.02);
}
.hpra-card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0.35;
}
.hpra-card-cat {
    font-family: var(--hpra-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hpra-olive);
    margin-bottom: 6px;
}
.hpra-card-title {
    font-family: var(--hpra-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--hpra-text);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
    transition: color var(--hpra-t-fast);
}
.hpra-card-link:hover .hpra-card-title {
    color: var(--hpra-terracotta);
}

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.hpra-cat-tiles-section {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 30px 24px 80px;
    text-align: center;
}
.hpra-cat-tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 28px;
}
.hpra-cat-tile {
    background: var(--hpra-olive-light);
    padding: 26px 12px;
    text-align: center;
    text-decoration: none !important;
    color: var(--hpra-text) !important;
    transition: all var(--hpra-t-fast);
    border-radius: var(--hpra-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.hpra-cat-tile:hover {
    background: var(--hpra-olive);
    color: var(--hpra-white) !important;
    transform: translateY(-2px);
}
.hpra-cat-tile-emoji {
    font-size: 32px;
    margin-bottom: 4px;
}
.hpra-cat-tile-name {
    font-family: var(--hpra-serif);
    font-size: 1rem;
    font-weight: 400;
    color: inherit;
    letter-spacing: -0.01em;
}
.hpra-cat-tile-count {
    font-size: 11px;
    color: var(--hpra-text-muted);
}
.hpra-cat-tile:hover .hpra-cat-tile-count {
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.hpra-cat-header {
    background: var(--hpra-cream);
    padding: 50px 24px 40px;
    text-align: center;
    border-bottom: 1px solid var(--hpra-border);
}
.hpra-breadcrumb {
    font-family: var(--hpra-sans);
    font-size: 12px;
    color: var(--hpra-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.hpra-breadcrumb a {
    color: var(--hpra-text-muted) !important;
    text-decoration: none !important;
}
.hpra-breadcrumb a:hover {
    color: var(--hpra-terracotta) !important;
}
.hpra-breadcrumb .hpra-sep {
    margin: 0 8px;
    color: var(--hpra-border);
}
.hpra-cat-eyebrow {
    font-family: var(--hpra-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hpra-olive);
    margin-bottom: 10px;
}
.hpra-cat-title {
    font-family: var(--hpra-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--hpra-text);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.hpra-cat-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hpra-text-soft);
}

/* Category layouts */
.hpra-cat-layout {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 50px 24px 60px;
}
.hpra-cat-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}
.hpra-cat-main { min-width: 0; }

/* Sidebar widgets */
.hpra-cat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hpra-widget {
    background: var(--hpra-white);
    border: 1px solid var(--hpra-border-soft);
    padding: 24px;
    border-radius: var(--hpra-radius);
}
.hpra-widget-title {
    font-family: var(--hpra-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--hpra-text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hpra-border);
    position: relative;
    letter-spacing: -0.01em;
}
.hpra-widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--hpra-terracotta);
}

.hpra-widget-about {
    text-align: center;
    padding: 28px 22px;
}
.hpra-widget-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 3px solid var(--hpra-cream);
    box-shadow: var(--hpra-shadow-sm);
    display: inline-block;
}
.hpra-widget-about-label {
    font-family: var(--hpra-script);
    font-size: 1.1rem;
    color: var(--hpra-olive-dark);
    line-height: 1;
}
.hpra-widget-about-name {
    font-family: var(--hpra-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--hpra-text);
    margin: 4px 0 10px;
    letter-spacing: -0.01em;
}
.hpra-widget-about-text {
    font-size: 13px;
    color: var(--hpra-text-soft);
    line-height: 1.6;
    margin: 0 0 12px;
}
.hpra-widget-about-link {
    font-family: var(--hpra-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hpra-olive-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

.hpra-widget-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hpra-border-soft);
    align-items: center;
    text-decoration: none !important;
}
.hpra-widget-post:last-child { border-bottom: none; }
.hpra-widget-post-img {
    width: 54px;
    height: 54px;
    background-color: var(--hpra-cream-warm);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 4px;
}
.hpra-widget-post-title {
    font-family: var(--hpra-serif);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--hpra-text) !important;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.hpra-widget-post:hover .hpra-widget-post-title {
    color: var(--hpra-terracotta) !important;
}

.hpra-widget-catlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.hpra-widget-catlist li {
    list-style: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--hpra-border-soft);
    font-size: 13px;
    margin: 0 !important;
}
.hpra-widget-catlist li:last-child { border-bottom: none; }
.hpra-widget-catlist a {
    color: var(--hpra-text-soft) !important;
    text-decoration: none !important;
}
.hpra-widget-catlist a:hover {
    color: var(--hpra-terracotta) !important;
}
.hpra-widget-catcount {
    font-size: 11px;
    color: var(--hpra-text-muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.hpra-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hpra-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1.5px solid var(--hpra-border);
    background: var(--hpra-white);
    color: var(--hpra-text-soft) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hpra-sans);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--hpra-radius);
    transition: all var(--hpra-t-fast);
}
.hpra-pagination .page-numbers.current,
.hpra-pagination .page-numbers:hover {
    background: var(--hpra-terracotta);
    border-color: var(--hpra-terracotta);
    color: var(--hpra-white) !important;
}

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.hpra-single .entry-title,
.hpra-single .post-title,
.hpra-single .single-post-title,
.hpra-single h1.entry-title {
    font-family: var(--hpra-serif) !important;
    font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    margin-bottom: 18px !important;
}

.hpra-single .entry-content,
.hpra-single .post-content,
.hpra-single article {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--hpra-text);
}

/* Byline */
.hpra-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--hpra-sans);
    font-size: 14px;
    color: var(--hpra-text-muted);
    margin: 0 0 16px;
}
.hpra-byline .hpra-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--hpra-white);
    box-shadow: var(--hpra-shadow-sm);
    display: inline-block;
}
.hpra-byline a {
    color: var(--hpra-text) !important;
    font-weight: 600;
    text-decoration: none !important;
}
.hpra-byline a:hover {
    color: var(--hpra-terracotta) !important;
}
.hpra-byline .hpra-sep {
    color: var(--hpra-border);
}

/* Action buttons row */
.hpra-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 32px;
}
.hpra-jump-btn,
.hpra-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hpra-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 22px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all var(--hpra-t-fast);
    border: 2px solid var(--hpra-terracotta);
}
.hpra-jump-btn {
    background: var(--hpra-terracotta);
    color: var(--hpra-white) !important;
}
.hpra-jump-btn:hover {
    background: var(--hpra-terracotta-dark);
    border-color: var(--hpra-terracotta-dark);
    color: var(--hpra-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--hpra-shadow-sm);
}
.hpra-comment-btn {
    background: transparent;
    color: var(--hpra-terracotta) !important;
}
.hpra-comment-btn:hover {
    background: var(--hpra-terracotta-light);
    color: var(--hpra-terracotta) !important;
}

/* Author bio card at bottom */
.hpra-author-bio {
    background: var(--hpra-cream);
    border: 1px solid var(--hpra-border);
    border-radius: var(--hpra-radius-lg);
    padding: 32px;
    margin: 48px auto;
    max-width: 720px;
    display: flex;
    gap: 24px;
    align-items: center;
    box-shadow: var(--hpra-shadow-sm);
}
.hpra-author-bio-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--hpra-white);
    box-shadow: var(--hpra-shadow-md);
    display: block;
}
.hpra-author-bio-content { flex: 1; }
.hpra-author-bio-label {
    font-family: var(--hpra-script);
    font-size: 1.2rem;
    color: var(--hpra-olive-dark);
    line-height: 1;
}
.hpra-author-bio-name {
    font-family: var(--hpra-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--hpra-text);
    margin: 4px 0 10px;
    letter-spacing: -0.02em;
}
.hpra-author-bio-text {
    font-size: 15px;
    color: var(--hpra-text-soft);
    margin: 0 0 12px;
    line-height: 1.65;
}
.hpra-author-bio-link {
    font-family: var(--hpra-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hpra-olive-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

/* ============================================================
   SOCIAL SHARE RAIL (injected by JS)
   ============================================================ */
.hpra-share-rail {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    transition: opacity var(--hpra-t);
    pointer-events: none;
}
.hpra-share-rail.visible {
    opacity: 1;
    pointer-events: auto;
}
.hpra-share-rail a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--hpra-white);
    color: var(--hpra-text-soft);
    border: 1px solid var(--hpra-border);
    box-shadow: var(--hpra-shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all var(--hpra-t-fast);
}
.hpra-share-rail a:hover {
    background: var(--hpra-terracotta);
    color: var(--hpra-white);
    border-color: var(--hpra-terracotta);
    transform: translateX(2px);
}
.hpra-share-rail svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 1200px) { .hpra-share-rail { display: none; } }

/* Share row on mobile */
.hpra-share-row {
    display: none;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}
.hpra-share-row a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hpra-olive-light);
    color: var(--hpra-olive-dark);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.hpra-share-row svg { width: 18px; height: 18px; }
@media (max-width: 1200px) { .hpra-share-row { display: flex; } }

/* ============================================================
   ENTRY CONTENT TYPOGRAPHY (writer output)
   ============================================================ */
.hpra-single .entry-content h2,
.hpra-single .post-content h2,
.hpra-single article h2 {
    font-family: var(--hpra-serif) !important;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem) !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
    margin: 2em 0 0.6em !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hpra-border);
}
.hpra-single .entry-content h3,
.hpra-single article h3 {
    font-family: var(--hpra-serif) !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    letter-spacing: -0.01em !important;
    margin: 1.5em 0 0.4em !important;
}
.hpra-single .entry-content p {
    margin: 0 0 1.3em;
    color: var(--hpra-text);
}
.hpra-single .entry-content ul,
.hpra-single .entry-content ol {
    margin: 0 0 1.4em;
    padding-left: 22px;
}
.hpra-single .entry-content ul li,
.hpra-single .entry-content ol li {
    margin-bottom: 0.6em;
    padding-left: 4px;
}
.hpra-single .entry-content ul li::marker {
    color: var(--hpra-terracotta);
}
.hpra-single .entry-content a {
    color: var(--hpra-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    font-weight: 500;
}
.hpra-single .entry-content blockquote {
    border: none;
    border-left: 4px solid var(--hpra-terracotta);
    background: var(--hpra-terracotta-light);
    padding: 20px 24px;
    margin: 28px 0;
    font-family: var(--hpra-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--hpra-text);
}
.hpra-single .entry-content img {
    border-radius: var(--hpra-radius);
    margin: 24px auto;
    box-shadow: var(--hpra-shadow-sm);
    max-width: 100%;
    height: auto;
}
.hpra-single .entry-content strong {
    color: var(--hpra-text);
    font-weight: 700;
}

/* ============================================================
   TASTY RECIPES PLUGIN
   ============================================================ */
.tasty-recipes {
    background: var(--hpra-white) !important;
    border: 2px solid var(--hpra-border) !important;
    border-radius: var(--hpra-radius-lg) !important;
    overflow: hidden !important;
    margin: 36px auto !important;
    max-width: 760px !important;
    box-shadow: var(--hpra-shadow-md) !important;
    font-family: var(--hpra-sans) !important;
}
.tasty-recipes-entry-header {
    background: var(--hpra-terracotta-light) !important;
    padding: 28px 32px !important;
    border-bottom: 2px solid var(--hpra-border) !important;
}
.tasty-recipes-entry-header h2,
.tasty-recipes .tasty-recipes-title {
    font-family: var(--hpra-serif) !important;
    font-size: 1.7rem !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
}
.tasty-recipes-rating-stars,
.tasty-recipes-ratings-buttons {
    color: var(--hpra-gold) !important;
}
.tasty-recipes-rating-stars svg path { fill: var(--hpra-gold) !important; }
.tasty-recipes-times,
.tasty-recipes-details {
    display: flex !important;
    flex-wrap: wrap !important;
    background: var(--hpra-white) !important;
    border-top: 1px solid var(--hpra-border) !important;
}
.tasty-recipes-prep-time,
.tasty-recipes-cook-time,
.tasty-recipes-total-time,
.tasty-recipes-yield,
.tasty-recipes-category,
.tasty-recipes-method,
.tasty-recipes-cuisine,
.tasty-recipes-details > div {
    flex: 1 1 110px !important;
    padding: 16px 14px !important;
    text-align: center !important;
    border-right: 1px solid var(--hpra-border-soft) !important;
    font-size: 14px !important;
    color: var(--hpra-text) !important;
}
.tasty-recipes-prep-time:last-child,
.tasty-recipes-cook-time:last-child,
.tasty-recipes-total-time:last-child,
.tasty-recipes-yield:last-child,
.tasty-recipes-details > div:last-child { border-right: none !important; }
.tasty-recipes-label {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--hpra-text-muted) !important;
    margin-bottom: 4px !important;
}
.tasty-recipes-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 18px 24px !important;
    background: var(--hpra-cream) !important;
    border-bottom: 1px solid var(--hpra-border) !important;
    justify-content: center !important;
}
.tasty-recipes-buttons a,
.tasty-recipes-buttons button {
    background: var(--hpra-terracotta) !important;
    color: var(--hpra-white) !important;
    border: 2px solid var(--hpra-terracotta) !important;
    border-radius: 30px !important;
    padding: 9px 18px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
}
.tasty-recipes-buttons a:hover {
    background: var(--hpra-terracotta-dark) !important;
    border-color: var(--hpra-terracotta-dark) !important;
    color: var(--hpra-white) !important;
}
.tasty-recipes-ingredients,
.tasty-recipes-instructions,
.tasty-recipes-notes,
.tasty-recipes-nutrition,
.tasty-recipes-equipment {
    padding: 24px 32px !important;
}
.tasty-recipes-ingredients-header,
.tasty-recipes-instructions-header,
.tasty-recipes-notes-header,
.tasty-recipes-nutrition-header,
.tasty-recipes-equipment-header {
    font-family: var(--hpra-serif) !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    margin: 0 0 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--hpra-terracotta) !important;
    display: inline-block !important;
    letter-spacing: -0.01em !important;
}
.tasty-recipes-ingredients ul {
    list-style: none !important;
    padding: 0 !important;
}
.tasty-recipes-ingredients li {
    font-size: 15px !important;
    padding: 10px 0 10px 28px !important;
    border-bottom: 1px solid var(--hpra-border-soft) !important;
    position: relative !important;
    color: var(--hpra-text) !important;
    list-style: none !important;
}
.tasty-recipes-ingredients li:last-child { border-bottom: none !important; }
.tasty-recipes-ingredients li::before {
    content: '' !important;
    position: absolute !important;
    left: 4px;
    top: 18px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--hpra-terracotta);
    border-radius: 2px;
}
.tasty-recipes-instructions {
    background: var(--hpra-cream) !important;
    border-top: 1px solid var(--hpra-border) !important;
}
.tasty-recipes-instructions ol {
    list-style: none !important;
    padding: 0 !important;
    counter-reset: tr-step;
}
.tasty-recipes-instructions li {
    font-size: 15px !important;
    padding: 14px 0 14px 48px !important;
    border-bottom: 1px solid var(--hpra-border-soft) !important;
    position: relative !important;
    color: var(--hpra-text) !important;
    line-height: 1.75 !important;
    counter-increment: tr-step;
    list-style: none !important;
}
.tasty-recipes-instructions li:last-child { border-bottom: none !important; }
.tasty-recipes-instructions li::before {
    content: counter(tr-step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 32px;
    height: 32px;
    background: var(--hpra-terracotta);
    color: var(--hpra-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hpra-serif);
    font-size: 0.95rem;
    font-weight: 400;
    box-shadow: 0 3px 8px rgba(184, 85, 58, 0.2);
}
.tasty-recipes-notes {
    background: var(--hpra-olive-light) !important;
    border-top: 1px solid var(--hpra-border) !important;
}
.tasty-recipes-notes-header {
    color: var(--hpra-olive-dark) !important;
    border-bottom-color: var(--hpra-olive) !important;
}
.tasty-recipes-nutrition {
    background: var(--hpra-cream-warm) !important;
    border-top: 1px solid var(--hpra-border) !important;
}
.tasty-recipes-nutrition ul {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
}
.tasty-recipes-nutrition li {
    font-size: 13px !important;
    color: var(--hpra-text-soft) !important;
    list-style: none !important;
    padding: 0 !important;
    border: none !important;
}
.tasty-recipes-nutrition strong { color: var(--hpra-text) !important; font-weight: 700 !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.hpra-footer {
    background: var(--hpra-text);
    color: rgba(255,255,255,0.7);
    margin-top: 80px;
}
.hpra-footer-inner {
    max-width: var(--hpra-container);
    margin: 0 auto;
    padding: 60px 24px 0;
}
.hpra-footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
}
.hpra-footer-col h4 {
    font-family: var(--hpra-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--hpra-white);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    letter-spacing: -0.01em;
}
.hpra-footer-col ul,
.hpra-footer-col .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.hpra-footer-col li {
    list-style: none !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hpra-footer-col li:last-child { border-bottom: none; }
.hpra-footer-col a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color var(--hpra-t-fast);
    display: block;
}
.hpra-footer-col a:hover {
    color: var(--hpra-white) !important;
}

.hpra-footer-brand .hpra-footer-logo {
    font-family: var(--hpra-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--hpra-white);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    text-transform: lowercase;
}
.hpra-footer-brand .hpra-footer-logo i,
.hpra-footer-brand .hpra-footer-logo em {
    font-style: italic;
}
.hpra-footer-brand .hpra-footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}
.hpra-footer-tagline {
    font-family: var(--hpra-script);
    font-size: 1.1rem;
    color: var(--hpra-gold);
    margin-bottom: 10px;
}
.hpra-footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0;
}

.hpra-footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.hpra-footer-newsletter input[type="email"] {
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: var(--hpra-white);
    font-size: 13px;
    font-family: var(--hpra-sans);
}
.hpra-footer-newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.4);
}
.hpra-footer-newsletter button {
    padding: 10px 18px;
    background: var(--hpra-terracotta);
    color: var(--hpra-white);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--hpra-t-fast);
}
.hpra-footer-newsletter button:hover {
    background: var(--hpra-terracotta-dark);
}
.hpra-footer-newsletter p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

.hpra-footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.hpra-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}
.hpra-footer-socials {
    display: flex;
    gap: 10px;
}
.hpra-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all var(--hpra-t-fast);
}
.hpra-footer-socials a:hover {
    background: var(--hpra-terracotta);
    color: var(--hpra-white) !important;
    transform: translateY(-2px);
}
.hpra-footer-socials svg { width: 16px; height: 16px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#hpra-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--hpra-terracotta);
    color: var(--hpra-white);
    border: none;
    box-shadow: var(--hpra-shadow-md);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(16px);
    transition: all var(--hpra-t);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#hpra-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
#hpra-back-to-top:hover {
    background: var(--hpra-terracotta-dark);
    transform: translateY(-2px);
}
#hpra-back-to-top svg {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
}

/* ============================================================
   COMMENTS (basic styling)
   ============================================================ */
.hpra-single .comments-area,
.hpra-single #comments {
    background: var(--hpra-cream);
    border: 1px solid var(--hpra-border);
    border-radius: var(--hpra-radius-lg);
    padding: 36px;
    max-width: 720px;
    margin: 48px auto 0;
}
.hpra-single .comments-title {
    font-family: var(--hpra-serif) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: var(--hpra-text) !important;
    margin-bottom: 24px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hpra-border);
    letter-spacing: -0.01em !important;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .hpra-cards-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hpra-cards-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hpra-cards-2 { grid-template-columns: repeat(2, 1fr); }
    .hpra-cat-tiles { grid-template-columns: repeat(3, 1fr); }
    .hpra-cat-layout-sidebar { grid-template-columns: 1fr; }
    .hpra-cat-sidebar { order: 2; }
    .hpra-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .hpra-hero-split { grid-template-columns: 1fr; min-height: auto; }
    .hpra-hero-content { padding: 40px 28px; }
}

@media (max-width: 768px) {
    .hpra-header-inner {
        padding: 14px 18px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    .hpra-logo {
        font-size: 1.5rem;
    }
    .hpra-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--hpra-white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 80px 24px 24px;
        flex-direction: column;
        align-items: flex-start;
        z-index: 999;
        overflow-y: auto;
    }
    .hpra-nav.open {
        display: flex;
    }
    .hpra-nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }
    .hpra-nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--hpra-border-soft);
    }
    .hpra-nav-list > li > a {
        padding: 14px 0;
        font-size: 1.15rem;
        width: 100%;
    }
    .hpra-nav-list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 16px;
        background: transparent;
    }
    .hpra-mobile-toggle { display: inline-flex; }

    .hpra-topbar-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 16px;
        text-align: center;
    }
    .hpra-topbar-promo {
        justify-content: center;
        padding: 4px 0;
    }
    .hpra-topbar-thumb { width: 28px; height: 28px; }
    .hpra-topbar-socials { justify-content: center; }
    .hpra-topbar-btn {
        padding: 8px 16px;
        align-self: center;
    }

    .hpra-hero-full {
        min-height: 380px;
    }
    .hpra-hero-full-content { padding: 30px 24px; }

    .hpra-hero-centered { padding: 40px 18px; }
    .hpra-hero-centered-img { height: 220px; }

    .hpra-author-intro { padding: 40px 18px; }
    .hpra-author-intro-name { font-size: 1.6rem; }

    .hpra-grid-section { padding: 40px 18px 30px; }
    .hpra-cat-layout { padding: 36px 18px; }
    .hpra-cat-header { padding: 36px 18px 28px; }

    .hpra-cards-4 { grid-template-columns: 1fr; gap: 28px; }
    .hpra-cards-3 { grid-template-columns: 1fr; gap: 28px; }
    .hpra-cards-2 { grid-template-columns: 1fr; gap: 28px; }
    .hpra-cat-tiles { grid-template-columns: repeat(2, 1fr); }

    .hpra-author-bio {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        margin: 32px 18px;
    }
    .hpra-author-bio-avatar img { width: 90px; height: 90px; }

    .hpra-footer-cols { grid-template-columns: 1fr; gap: 28px; }
    .hpra-footer-inner { padding: 40px 20px 0; }
    .hpra-footer-bottom { flex-direction: column; text-align: center; }

    #hpra-back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }

    .hpra-single .entry-content { padding: 0 4px; }
    .hpra-actions { flex-direction: row; gap: 8px; }
    .hpra-jump-btn, .hpra-comment-btn { padding: 9px 16px; font-size: 12px; }

    .tasty-recipes-entry-header,
    .tasty-recipes-ingredients,
    .tasty-recipes-instructions,
    .tasty-recipes-notes,
    .tasty-recipes-nutrition { padding: 20px 22px !important; }
    .tasty-recipes-instructions li { padding-left: 42px !important; }
    .tasty-recipes-instructions li::before { width: 28px; height: 28px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hpra-cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hpra-cat-tile { padding: 20px 8px; }
    .hpra-cat-tile-emoji { font-size: 26px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .hpra-header,
    .hpra-footer,
    .hpra-share-rail,
    .hpra-share-row,
    .hpra-actions,
    #hpra-back-to-top,
    #hpra-progress,
    .hpra-author-bio { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
}
