/**
 * Ceska Kuchyne - Recipe & Article Styles
 * Optimized for Google Discover
 */

/* ===========================================
   ARTICLE HERO (with featured image)
   =========================================== */

.article-hero {
    position: relative;
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    background: var(--ck-paper-cream);
}

.article-hero__image {
    width: 100%;
}

.article-hero__image img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    display: block;
}

.article-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--ck-space-8) 0 var(--ck-space-6);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.article-hero__category {
    display: block;
    width: fit-content;
    padding: var(--ck-space-1) var(--ck-space-3);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--ck-accent);
    color: white;
    border-radius: var(--ck-radius-full);
    margin-bottom: var(--ck-space-1);
}

.article-hero__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: white;
    margin: 0;
}

/* ===========================================
   ARTICLE HEADER (no featured image)
   =========================================== */

.article-header {
    padding: var(--ck-space-8) 0 var(--ck-space-6);
    text-align: center;
}

.article-category-badge {
    display: block;
    width: fit-content;
    padding: var(--ck-space-1) var(--ck-space-3);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--ck-accent-soft);
    color: var(--ck-accent);
    border-radius: var(--ck-radius-full);
    margin-bottom: var(--ck-space-1);
}

.article-header__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ck-ink);
    margin: 0;
}

/* ===========================================
   ARTICLE BODY
   =========================================== */

.article-body {
    padding: var(--ck-space-6) 0 var(--ck-space-8);
}

/* Recipe info bar */
.recipe-info-bar {
    display: flex;
    justify-content: center;
    gap: var(--ck-space-6);
    padding: var(--ck-space-4);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    margin-bottom: var(--ck-space-6);
}

.recipe-info-item {
    text-align: center;
}

.recipe-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-ink-muted);
    margin-bottom: 4px;
}

.recipe-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
}

/* ===========================================
   ARTICLE SHARE
   =========================================== */

.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ck-space-4);
    padding: var(--ck-space-6) 0;
    margin-top: var(--ck-space-6);
    border-top: 1px solid var(--ck-paper-cream);
}

.article-share__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ck-ink-muted);
    margin: 0;
}

.article-share__buttons {
    display: flex;
    gap: var(--ck-space-2);
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ck-paper-warm);
    border: 1px solid var(--ck-paper-cream);
    border-radius: var(--ck-radius-full);
    color: var(--ck-ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

.share-btn--facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn--pinterest:hover {
    background: #e60023;
    color: white;
}

.share-btn--copy:hover {
    background: var(--ck-ink);
    color: white;
}

.share-btn--copy.is-copied {
    background: var(--ck-green);
    color: white;
}

/* ===========================================
   RELATED SECTION - Infinite Scroll
   =========================================== */

.related-section {
    padding: var(--ck-space-8) 0 var(--ck-space-10);
    background: var(--ck-paper-warm);
    margin-top: var(--ck-space-8);
}

.related-section__header {
    text-align: center;
    margin-bottom: var(--ck-space-6);
}

.related-section__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-2);
}

.related-section__subtitle {
    font-size: 1rem;
    color: var(--ck-ink-muted);
    margin: 0;
}

.related-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ck-space-5);
}

.related-card {
    background: var(--ck-paper-pure);
    border-radius: var(--ck-radius-lg);
    overflow: hidden;
    box-shadow: var(--ck-shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ck-shadow-md);
}

.related-card__image {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--ck-paper-cream);
}

.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card__image img {
    transform: scale(1.05);
}

.related-card__content {
    padding: var(--ck-space-4);
}

.related-card__category {
    display: inline-block;
    padding: 3px var(--ck-space-2);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-accent-dark);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-sm);
    margin-bottom: var(--ck-space-2);
}

.related-card__title {
    font-family: var(--ck-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Load More Button */
.related-section__more {
    text-align: center;
    margin-top: var(--ck-space-6);
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ck-space-2);
    padding: var(--ck-space-3) var(--ck-space-6);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ck-accent);
    background: var(--ck-paper-pure);
    border: 2px solid var(--ck-accent);
    border-radius: var(--ck-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: var(--ck-accent);
    color: white;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn svg {
    width: 18px;
    height: 18px;
}

.load-more-btn.is-loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
    .related-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ck-space-4);
    }
}

@media (max-width: 600px) {
    .related-section {
        padding: var(--ck-space-6) 0 var(--ck-space-8);
        margin-top: var(--ck-space-6);
    }

    .related-section__grid {
        grid-template-columns: 1fr;
        gap: var(--ck-space-4);
    }

    .related-card__content {
        padding: var(--ck-space-3);
    }

    .related-card__title {
        font-size: 0.9375rem;
    }
}

/* Dark mode */
.dark-mode .related-section {
    background: var(--ck-paper);
}

.dark-mode .related-card {
    background: var(--ck-paper-warm);
}

/* Legacy support - simple related links */
.related-section__list {
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-3);
}

.related-link {
    display: flex;
    align-items: center;
    gap: var(--ck-space-3);
    padding: var(--ck-space-3);
    background: var(--ck-paper-pure);
    border-radius: var(--ck-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-link:hover {
    background: var(--ck-paper-cream);
}

.related-link__image {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: var(--ck-radius-sm);
    overflow: hidden;
}

.related-link__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-link__title {
    font-family: var(--ck-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ck-ink);
    line-height: 1.3;
}

/* ===========================================
   AUTHOR BOX - Article Footer
   =========================================== */

.author-box {
    display: flex;
    gap: var(--ck-space-5);
    padding: var(--ck-space-6);
    margin-top: var(--ck-space-6);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    border: 1px solid var(--ck-paper-cream);
}

.author-box__photo {
    flex-shrink: 0;
}

.author-box__photo img {
    width: 100px;
    height: 100px;
    border-radius: var(--ck-radius-full);
    object-fit: cover;
    border: 3px solid var(--ck-paper-pure);
    box-shadow: var(--ck-shadow-md);
}

.author-box__content {
    flex: 1;
    min-width: 0;
}

.author-box__header {
    margin-bottom: var(--ck-space-3);
}

.author-box__label {
    display: inline-block;
    padding: 2px var(--ck-space-2);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-accent-dark);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-sm);
    margin-bottom: var(--ck-space-2);
}

.author-box__name {
    font-family: var(--ck-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 2px;
}

.author-box__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-box__name a:hover {
    color: var(--ck-accent);
}

.author-box__title {
    font-size: 0.875rem;
    color: var(--ck-ink-muted);
}

.author-box__bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ck-ink-soft);
    margin: 0 0 var(--ck-space-3);
}

.author-box__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ck-space-2);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ck-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.author-box__link:hover {
    gap: var(--ck-space-3);
}

.author-box__link svg {
    transition: transform 0.2s ease;
}

.author-box__link:hover svg {
    transform: translateX(2px);
}

/* Responsive */
@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--ck-space-5);
    }

    .author-box__photo img {
        width: 80px;
        height: 80px;
    }

    .author-box__bio {
        font-size: 0.875rem;
    }
}

/* Dark mode */
.dark-mode .author-box {
    background: var(--ck-paper);
    border-color: var(--ck-paper-cream);
}

.dark-mode .author-box__photo img {
    border-color: var(--ck-paper-warm);
}

/* ===========================================
   ABOUT PAGE
   =========================================== */

.about-page {
    padding-top: 0;
}

/* Hero Section */
.about-hero {
    padding: var(--ck-space-10) 0;
    background: linear-gradient(135deg, var(--ck-paper-warm) 0%, var(--ck-paper) 100%);
}

.about-hero__content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--ck-space-8);
    align-items: center;
}

.about-hero__photo {
    position: relative;
}

.about-hero__photo img {
    width: 280px;
    height: 280px;
    border-radius: var(--ck-radius-xl);
    object-fit: cover;
    box-shadow: var(--ck-shadow-lg);
    border: 4px solid var(--ck-paper-pure);
}

.about-hero__badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: var(--ck-space-2);
    padding: var(--ck-space-2) var(--ck-space-4);
    background: var(--ck-gold);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--ck-radius-full);
    box-shadow: var(--ck-shadow-md);
    white-space: nowrap;
}

.about-hero__label {
    display: inline-block;
    padding: var(--ck-space-1) var(--ck-space-3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ck-accent);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-full);
    margin-bottom: var(--ck-space-3);
}

.about-hero__name {
    font-family: var(--ck-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-2);
    line-height: 1.1;
}

.about-hero__title {
    font-size: 1.125rem;
    color: var(--ck-ink-muted);
    margin: 0 0 var(--ck-space-4);
}

.about-hero__intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ck-ink-soft);
    margin: 0 0 var(--ck-space-6);
    max-width: 520px;
}

.about-hero__stats {
    display: flex;
    gap: var(--ck-space-6);
}

.about-stat {
    text-align: center;
}

.about-stat__number {
    display: block;
    font-family: var(--ck-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ck-accent);
    line-height: 1;
}

.about-stat__label {
    font-size: 0.8125rem;
    color: var(--ck-ink-muted);
    margin-top: var(--ck-space-1);
}

/* Bio Section */
.about-bio {
    padding: var(--ck-space-10) 0;
}

.about-section__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-6);
    text-align: center;
}

.about-bio__content {
    max-width: 700px;
    margin: 0 auto;
}

.about-bio__content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ck-ink-soft);
    margin: 0 0 var(--ck-space-5);
}

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

/* Quote */
.about-quote {
    max-width: 600px;
    margin: var(--ck-space-8) auto;
    padding: var(--ck-space-6);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    border-left: 4px solid var(--ck-accent);
    text-align: center;
}

.about-quote p {
    font-family: var(--ck-font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--ck-ink);
    line-height: 1.6;
    margin: 0 0 var(--ck-space-3);
}

.about-quote cite {
    font-size: 0.9375rem;
    font-style: normal;
    color: var(--ck-ink-muted);
}

/* Credentials Section */
.about-credentials {
    padding: var(--ck-space-10) 0;
    background: var(--ck-paper-warm);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ck-space-4);
    max-width: 800px;
    margin: 0 auto;
}

.credential-card {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-3);
    padding: var(--ck-space-4);
    background: var(--ck-paper-pure);
    border-radius: var(--ck-radius-md);
    box-shadow: var(--ck-shadow-sm);
}

.credential-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ck-green);
    border-radius: var(--ck-radius-full);
    color: white;
}

.credential-card__icon svg {
    width: 20px;
    height: 20px;
}

.credential-card__text {
    font-size: 0.9375rem;
    color: var(--ck-ink-soft);
    margin: 0;
    padding-top: var(--ck-space-2);
}

/* Philosophy Section */
.about-philosophy {
    padding: var(--ck-space-10) 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ck-space-5);
}

.philosophy-card {
    text-align: center;
    padding: var(--ck-space-6);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ck-shadow-md);
}

.philosophy-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--ck-space-4);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-full);
    color: var(--ck-accent);
}

.philosophy-card__icon svg {
    width: 28px;
    height: 28px;
}

.philosophy-card__title {
    font-family: var(--ck-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-2);
}

.philosophy-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ck-ink-muted);
    margin: 0;
}

/* CTA Section */
.about-cta {
    padding: var(--ck-space-10) 0;
    background: linear-gradient(135deg, var(--ck-accent) 0%, var(--ck-accent-dark) 100%);
}

.about-cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: white;
    margin: 0 0 var(--ck-space-3);
}

.about-cta__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--ck-space-6);
}

.about-cta .btn--primary {
    background: white;
    color: var(--ck-accent);
    border: none;
}

.about-cta .btn--primary:hover {
    background: var(--ck-paper-cream);
}

/* Latest Recipes on About */
.about-latest {
    padding: var(--ck-space-10) 0;
}

/* Responsive */
@media (max-width: 900px) {
    .about-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--ck-space-6);
    }

    .about-hero__photo {
        justify-self: center;
    }

    .about-hero__photo img {
        width: 200px;
        height: 200px;
    }

    .about-hero__intro {
        max-width: none;
    }

    .about-hero__stats {
        justify-content: center;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: var(--ck-space-8) 0;
    }

    .about-hero__photo img {
        width: 160px;
        height: 160px;
    }

    .about-hero__stats {
        gap: var(--ck-space-4);
    }

    .about-stat__number {
        font-size: 1.5rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .about-quote {
        padding: var(--ck-space-4);
    }

    .about-quote p {
        font-size: 1.0625rem;
    }
}

/* Dark mode */
.dark-mode .about-hero {
    background: linear-gradient(135deg, var(--ck-paper) 0%, var(--ck-paper-warm) 100%);
}

.dark-mode .about-hero__photo img {
    border-color: var(--ck-paper-warm);
}

.dark-mode .about-credentials {
    background: var(--ck-paper);
}

.dark-mode .credential-card {
    background: var(--ck-paper-warm);
}

.dark-mode .philosophy-card {
    background: var(--ck-paper);
}

.dark-mode .about-quote {
    background: var(--ck-paper);
}

/* ===========================================
   CONTACT PAGE
   =========================================== */

.contact-page {
    padding-top: 0;
}

/* Hero */
.contact-hero {
    padding: var(--ck-space-8) 0;
    background: linear-gradient(135deg, var(--ck-paper-warm) 0%, var(--ck-paper) 100%);
    text-align: center;
}

.contact-hero__label {
    display: inline-block;
    padding: var(--ck-space-1) var(--ck-space-3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ck-accent);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-full);
    margin-bottom: var(--ck-space-3);
}

.contact-hero__title {
    font-family: var(--ck-font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-3);
}

.contact-hero__text {
    font-size: 1.0625rem;
    color: var(--ck-ink-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Section */
.contact-main {
    padding: var(--ck-space-10) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--ck-space-8);
    align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: var(--ck-paper-pure);
    padding: var(--ck-space-6);
    border-radius: var(--ck-radius-lg);
    box-shadow: var(--ck-shadow-md);
}

.contact-form__title {
    font-family: var(--ck-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-5);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ck-space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-2);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ck-ink-soft);
}

.form-group input,
.form-group textarea {
    padding: var(--ck-space-3) var(--ck-space-4);
    font-size: 1rem;
    font-family: inherit;
    color: var(--ck-ink);
    background: var(--ck-paper-warm);
    border: 2px solid transparent;
    border-radius: var(--ck-radius-md);
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--ck-paper-pure);
    border-color: var(--ck-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ck-ink-subtle);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Error & Success */
.contact-error {
    display: flex;
    align-items: center;
    gap: var(--ck-space-2);
    padding: var(--ck-space-3) var(--ck-space-4);
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.9375rem;
    border-radius: var(--ck-radius-md);
    margin-bottom: var(--ck-space-4);
}

.contact-success {
    text-align: center;
    padding: var(--ck-space-8) var(--ck-space-4);
}

.contact-success__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--ck-space-4);
    background: var(--ck-green);
    border-radius: var(--ck-radius-full);
    color: white;
}

.contact-success__icon svg {
    width: 32px;
    height: 32px;
}

.contact-success__title {
    font-family: var(--ck-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-2);
}

.contact-success__text {
    color: var(--ck-ink-muted);
    margin: 0 0 var(--ck-space-5);
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-5);
}

.contact-author-card {
    background: var(--ck-paper-pure);
    padding: var(--ck-space-5);
    border-radius: var(--ck-radius-lg);
    box-shadow: var(--ck-shadow-sm);
    text-align: center;
}

.contact-author-card__photo {
    width: 100px;
    height: 100px;
    border-radius: var(--ck-radius-full);
    object-fit: cover;
    margin: 0 auto var(--ck-space-3);
    border: 3px solid var(--ck-paper-cream);
}

.contact-author-card__name {
    font-family: var(--ck-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 2px;
}

.contact-author-card__title {
    font-size: 0.875rem;
    color: var(--ck-accent);
    margin: 0 0 var(--ck-space-3);
}

.contact-author-card__bio {
    font-size: 0.875rem;
    color: var(--ck-ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* Contact Info */
.contact-info {
    background: var(--ck-paper-pure);
    padding: var(--ck-space-5);
    border-radius: var(--ck-radius-lg);
    box-shadow: var(--ck-shadow-sm);
}

.contact-info__title {
    font-family: var(--ck-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-4);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-3);
    padding: var(--ck-space-3) 0;
    border-bottom: 1px solid var(--ck-paper-cream);
}

.contact-info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-full);
    color: var(--ck-accent);
}

.contact-info__icon svg {
    width: 18px;
    height: 18px;
}

.contact-info__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-ink-subtle);
    margin-bottom: 2px;
}

.contact-info__value {
    font-size: 0.9375rem;
    color: var(--ck-ink);
    text-decoration: none;
}

.contact-info__value:hover {
    color: var(--ck-accent);
}

/* Contact Note */
.contact-note {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-3);
    padding: var(--ck-space-4);
    background: var(--ck-gold-soft);
    border-radius: var(--ck-radius-md);
    color: var(--ck-ink-soft);
    font-size: 0.875rem;
}

.contact-note svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--ck-gold);
}

.contact-note p {
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.contact-faq {
    padding: var(--ck-space-10) 0;
    background: var(--ck-paper-warm);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-3);
}

.faq-item {
    background: var(--ck-paper-pure);
    border-radius: var(--ck-radius-md);
    overflow: hidden;
    box-shadow: var(--ck-shadow-sm);
}

.faq-item__question {
    padding: var(--ck-space-4) var(--ck-space-5);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--ck-accent);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 var(--ck-space-5) var(--ck-space-4);
}

.faq-item__answer p {
    font-size: 0.9375rem;
    color: var(--ck-ink-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--ck-space-6);
    }

    .contact-sidebar {
        order: -1;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--ck-space-4);
    }
}

/* Dark mode */
.dark-mode .contact-hero {
    background: linear-gradient(135deg, var(--ck-paper) 0%, var(--ck-paper-warm) 100%);
}

.dark-mode .contact-form-wrapper,
.dark-mode .contact-author-card,
.dark-mode .contact-info,
.dark-mode .faq-item {
    background: var(--ck-paper-warm);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background: var(--ck-paper);
}

.dark-mode .contact-faq {
    background: var(--ck-paper);
}

/* ===========================================
   NEWSLETTER SIGNUP
   =========================================== */

.newsletter-section {
    padding: var(--ck-space-8) 0;
    background: linear-gradient(135deg, var(--ck-accent) 0%, var(--ck-accent-dark) 100%);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--ck-space-4);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--ck-radius-full);
    color: white;
}

.newsletter-icon svg {
    width: 28px;
    height: 28px;
}

.newsletter-title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: white;
    margin: 0 0 var(--ck-space-2);
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--ck-space-5);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: var(--ck-space-3);
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--ck-space-3) var(--ck-space-4);
    font-size: 1rem;
    background: white;
    border: none;
    border-radius: var(--ck-radius-full);
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--ck-ink-subtle);
}

.newsletter-form button {
    padding: var(--ck-space-3) var(--ck-space-5);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ck-accent);
    background: white;
    border: none;
    border-radius: var(--ck-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--ck-paper-cream);
}

.newsletter-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: var(--ck-space-3) 0 0;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: var(--ck-space-4);
    padding-top: var(--ck-space-4);
    border-top: 1px solid var(--ck-paper-cream);
}

.footer-newsletter__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-3);
}

.footer-newsletter__form {
    display: flex;
    gap: var(--ck-space-2);
}

.footer-newsletter__form input {
    flex: 1;
    padding: var(--ck-space-2) var(--ck-space-3);
    font-size: 0.875rem;
    background: var(--ck-paper-warm);
    border: 1px solid var(--ck-paper-cream);
    border-radius: var(--ck-radius-md);
    outline: none;
}

.footer-newsletter__form input:focus {
    border-color: var(--ck-accent);
}

.footer-newsletter__form button {
    padding: var(--ck-space-2) var(--ck-space-4);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--ck-accent);
    border: none;
    border-radius: var(--ck-radius-md);
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-newsletter__form button:hover {
    background: var(--ck-accent-dark);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-newsletter__form {
        flex-direction: column;
    }
}

/* ===========================================
   LEGACY RECIPE HERO (backwards compatibility)
   =========================================== */

.recipe-hero {
    position: relative;
    aspect-ratio: 16/9;
    max-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.recipe-hero__bg {
    position: absolute;
    inset: 0;
}

.recipe-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(45, 37, 32, 0.95) 0%,
        rgba(45, 37, 32, 0.7) 30%,
        rgba(45, 37, 32, 0.3) 60%,
        transparent 100%
    );
}

.recipe-hero__content {
    position: relative;
    z-index: 1;
    padding: var(--ck-space-8) 0;
    color: white;
}

.recipe-hero__category {
    display: inline-block;
    padding: var(--ck-space-1) var(--ck-space-4);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--ck-accent);
    border-radius: var(--ck-radius-full);
    margin-bottom: var(--ck-space-4);
}

.recipe-hero__title {
    font-family: var(--ck-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: white;
    margin: 0 0 var(--ck-space-4);
    max-width: 800px;
}

.recipe-hero__excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: var(--ck-space-6);
}

/* ===========================================
   RECIPE META BAR
   =========================================== */

.recipe-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ck-space-4);
    padding: var(--ck-space-4);
    background: var(--ck-paper-pure);
    border-radius: var(--ck-radius-lg);
    box-shadow: 0 4px 20px rgba(45, 37, 32, 0.08);
    margin-top: calc(var(--ck-space-6) * -1);
    position: relative;
    z-index: 10;
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: var(--ck-space-3);
    padding-right: var(--ck-space-4);
    border-right: 1px solid var(--ck-paper-cream);
}

.recipe-meta-item:last-child {
    border-right: none;
}

.recipe-meta-item__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-md);
    color: var(--ck-accent);
}

.recipe-meta-item__icon svg {
    width: 22px;
    height: 22px;
}

.recipe-meta-item__label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-ink-subtle);
    margin-bottom: 2px;
}

.recipe-meta-item__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
}

/* Difficulty dots */
.difficulty-dots {
    display: flex;
    gap: 4px;
}

.difficulty-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ck-paper-cream);
}

.difficulty-dot.is-filled {
    background: var(--ck-gold);
}

@media (max-width: 768px) {
    .recipe-meta-bar {
        gap: var(--ck-space-3);
        padding: var(--ck-space-3);
    }

    .recipe-meta-item {
        flex: 1 1 calc(50% - var(--ck-space-3));
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--ck-paper-cream);
        padding-bottom: var(--ck-space-3);
    }

    .recipe-meta-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ===========================================
   RECIPE ACTIONS
   =========================================== */

.recipe-actions {
    display: flex;
    align-items: center;
    gap: var(--ck-space-2);
    margin-left: auto;
}

.recipe-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ck-space-2);
    padding: var(--ck-space-2) var(--ck-space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ck-ink-muted);
    background: var(--ck-paper-cream);
    border: none;
    border-radius: var(--ck-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.recipe-action-btn:hover {
    background: var(--ck-accent);
    color: white;
}

.recipe-action-btn.is-saved {
    background: var(--ck-accent);
    color: white;
}

.recipe-action-btn svg {
    width: 18px;
    height: 18px;
}

/* ===========================================
   RECIPE CONTENT
   =========================================== */

.recipe-content {
    padding: var(--ck-space-8) 0;
}

.recipe-content__layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--ck-space-8);
    align-items: start;
}

@media (max-width: 900px) {
    .recipe-content__layout {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   INGREDIENTS BOX
   =========================================== */

.ingredients-box {
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    padding: var(--ck-space-5);
    position: sticky;
    top: calc(var(--ck-header-height) + var(--ck-space-4));
}

.ingredients-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ck-space-4);
    padding-bottom: var(--ck-space-3);
    border-bottom: 1px solid var(--ck-paper-cream);
}

.ingredients-box__title {
    font-family: var(--ck-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0;
}

.ingredients-box__servings {
    display: flex;
    align-items: center;
    gap: var(--ck-space-2);
    font-size: 0.875rem;
    color: var(--ck-ink-muted);
}

.servings-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ck-paper-pure);
    border: 1px solid var(--ck-paper-cream);
    border-radius: var(--ck-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.servings-btn:hover {
    border-color: var(--ck-accent);
    color: var(--ck-accent);
}

.servings-count {
    font-weight: 600;
    color: var(--ck-ink);
    min-width: 20px;
    text-align: center;
}

/* Ingredients List */
.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ingredients-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-3);
    padding: var(--ck-space-3) 0;
    border-bottom: 1px dashed var(--ck-paper-cream);
    font-size: 0.9375rem;
    color: var(--ck-ink-soft);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.ingredients-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ck-accent);
    border-radius: var(--ck-radius-sm);
    margin-top: 2px;
    transition: all 0.2s ease;
}

.ingredients-list li.is-checked {
    opacity: 0.5;
    text-decoration: line-through;
}

.ingredients-list li.is-checked::before {
    background: var(--ck-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.ingredient-amount {
    font-weight: 600;
    color: var(--ck-ink);
}

@media (max-width: 900px) {
    .ingredients-box {
        position: static;
    }
}

/* ===========================================
   RECIPE INSTRUCTIONS
   =========================================== */

.recipe-instructions {
    flex: 1;
}

.recipe-instructions__title {
    font-family: var(--ck-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-6);
}

/* Recipe Step */
.recipe-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--ck-space-4);
    margin-bottom: var(--ck-space-6);
    padding-bottom: var(--ck-space-6);
    border-bottom: 1px solid var(--ck-paper-cream);
}

.recipe-step:last-child {
    border-bottom: none;
}

.recipe-step__number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ck-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ck-accent);
    background: var(--ck-accent-soft);
    border-radius: var(--ck-radius-md);
}

.recipe-step__content {
    padding-top: var(--ck-space-2);
}

.recipe-step__content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ck-ink-soft);
    margin: 0;
}

.recipe-step__content p + p {
    margin-top: 1em;
}

.recipe-step__image {
    margin-top: var(--ck-space-4);
    border-radius: var(--ck-radius-md);
    overflow: hidden;
}

.recipe-step__image img {
    width: 100%;
    height: auto;
}

.recipe-step__tip {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-3);
    margin-top: var(--ck-space-4);
    padding: var(--ck-space-4);
    background: var(--ck-gold-soft);
    border-radius: var(--ck-radius-md);
    font-size: 0.875rem;
    color: var(--ck-ink-soft);
}

.recipe-step__tip svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--ck-gold);
}

/* ===========================================
   ARTICLE CONTENT (Non-recipe posts)
   Optimized for readability - longer paragraphs, better typography
   =========================================== */

.article-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--ck-ink);
    max-width: 680px;
    margin: 0 auto;
}

/* Headings - clear hierarchy with accent underline */
.article-content h2 {
    font-family: var(--ck-font-display);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ck-ink);
    margin: 2.5em 0 1em;
    padding-top: 0.5em;
    padding-bottom: 0.6em;
}

.article-content h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--ck-accent);
    border-radius: 2px;
    margin-top: 0.5em;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-family: var(--ck-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ck-ink);
    margin: 2em 0 0.75em;
}

.article-content h4 {
    font-family: var(--ck-font-body);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ck-ink);
    margin: 1.75em 0 0.5em;
}

/* Paragraphs - larger, more comfortable reading */
.article-content p {
    margin-bottom: 1.75em;
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* First paragraph after heading - slightly larger */
.article-content h2 + p,
.article-content h3 + p {
    font-size: 1.1875rem;
}

/* Links */
.article-content a {
    color: var(--ck-accent);
    text-decoration: underline;
    text-decoration-color: rgba(198, 93, 26, 0.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: text-decoration-color 0.2s ease;
}

.article-content a:hover {
    text-decoration-color: var(--ck-accent);
}

/* Lists - better spacing */
.article-content ul,
.article-content ol {
    margin: 1.75em 0;
    padding-left: 1.75em;
}

.article-content li {
    margin-bottom: 0.75em;
    line-height: 1.7;
}

.article-content li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
.article-content li ul,
.article-content li ol {
    margin: 0.75em 0 0.5em;
}

/* Blockquotes - callout style */
.article-content blockquote {
    margin: 2.5em 0;
    padding: var(--ck-space-6);
    background: var(--ck-paper-warm);
    border-left: 4px solid var(--ck-accent);
    border-radius: 0 var(--ck-radius-lg) var(--ck-radius-lg) 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--ck-ink-soft);
}

.article-content blockquote p {
    margin-bottom: 1em;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */
.article-content img {
    border-radius: var(--ck-radius-lg);
    margin: 2em 0;
    box-shadow: var(--ck-shadow-md);
    width: 100%;
    height: auto;
}

/* First image in article - hero style */
.article-content > p:first-of-type img,
.article-content > img:first-child,
.article-content > figure:first-child img {
    width: calc(100% + 80px);
    max-width: none;
    margin-left: -40px;
    margin-right: -40px;
    margin-top: 0;
    margin-bottom: 2.5em;
    border-radius: var(--ck-radius-xl);
    box-shadow: var(--ck-shadow-lg);
}

@media (max-width: 768px) {
    .article-content > p:first-of-type img,
    .article-content > img:first-child,
    .article-content > figure:first-child img {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
        border-radius: var(--ck-radius-lg);
    }
}

.article-content figure {
    margin: 2em 0;
}

.article-content figcaption {
    font-size: 0.875rem;
    color: var(--ck-ink-muted);
    text-align: center;
    margin-top: var(--ck-space-3);
    font-style: italic;
}

/* Strong/bold text */
.article-content strong,
.article-content b {
    font-weight: 600;
    color: var(--ck-ink);
}

/* Key takeaways / highlight box */
.article-content .wp-block-group,
.article-content .highlight-box {
    background: var(--ck-gold-soft);
    padding: var(--ck-space-5);
    border-radius: var(--ck-radius-lg);
    margin: 2em 0;
}

/* Drop cap for first paragraph (only if it starts with text, not image) */
.article-content > p:first-of-type:not(:has(img))::first-letter {
    float: left;
    font-family: var(--ck-font-display);
    font-size: 3.5em;
    line-height: 0.8;
    padding-right: 0.1em;
    padding-top: 0.1em;
    color: var(--ck-accent);
    font-weight: 600;
}

/* If first element is image, apply drop cap to second paragraph */
.article-content > img:first-child + p::first-letter,
.article-content > figure:first-child + p::first-letter,
.article-content > p:first-of-type:has(img) + p::first-letter {
    float: left;
    font-family: var(--ck-font-display);
    font-size: 3.5em;
    line-height: 0.8;
    padding-right: 0.1em;
    padding-top: 0.1em;
    color: var(--ck-accent);
    font-weight: 600;
}

/* Mobile adjustments for article content */
@media (max-width: 768px) {
    .article-content {
        font-size: 1.0625rem;
        line-height: 1.75;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 2em 0 0.75em;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-content p {
        margin-bottom: 1.5em;
    }

    .article-content > p:first-of-type::first-letter {
        font-size: 2.75em;
    }
}

/* ===========================================
   AUTHOR BOX
   =========================================== */

.author-box {
    display: flex;
    align-items: flex-start;
    gap: var(--ck-space-5);
    padding: var(--ck-space-6);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-lg);
    margin: var(--ck-space-8) 0;
}

.author-box__avatar {
    flex-shrink: 0;
}

.author-box__avatar img {
    width: 80px;
    height: 80px;
    border-radius: var(--ck-radius-full);
    object-fit: cover;
}

.author-box__info {
    flex: 1;
}

.author-box__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ck-ink-muted);
    margin-bottom: var(--ck-space-1);
}

.author-box__name {
    font-family: var(--ck-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0 0 var(--ck-space-2);
}

.author-box__bio {
    font-size: 0.9375rem;
    color: var(--ck-ink-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ===========================================
   RELATED RECIPES
   =========================================== */

.related-recipes {
    padding: var(--ck-space-10) 0;
    background: var(--ck-paper-warm);
}

.related-recipes__header {
    text-align: center;
    margin-bottom: var(--ck-space-6);
}

.related-recipes__title {
    font-family: var(--ck-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0;
}

.related-recipes__subtitle {
    font-size: 1rem;
    color: var(--ck-ink-muted);
    margin: var(--ck-space-2) 0 0;
}

/* Compact related recipes (right after article) */
.related-recipes--compact {
    padding: var(--ck-space-6) 0;
    background: transparent;
    border-top: 1px solid var(--ck-paper-cream);
    margin-top: var(--ck-space-6);
}

.related-recipes--compact .related-recipes__title {
    font-size: 1.25rem;
    margin-bottom: var(--ck-space-4);
    text-align: left;
}

.related-recipes__list {
    display: flex;
    flex-direction: column;
    gap: var(--ck-space-3);
}

.related-item {
    display: flex;
    align-items: center;
    gap: var(--ck-space-4);
    padding: var(--ck-space-3);
    background: var(--ck-paper-warm);
    border-radius: var(--ck-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-item:hover {
    background: var(--ck-paper-cream);
    transform: translateX(4px);
}

.related-item__image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--ck-radius-sm);
    overflow: hidden;
}

.related-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item__title {
    font-family: var(--ck-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ck-ink);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .related-item__image {
        width: 70px;
        height: 50px;
    }

    .related-item__title {
        font-size: 0.9375rem;
    }
}

/* ===========================================
   PRINT STYLES
   =========================================== */

.print-recipe-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ck-space-2);
    padding: var(--ck-space-2) var(--ck-space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ck-ink-muted);
    background: var(--ck-paper-cream);
    border: none;
    border-radius: var(--ck-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.print-recipe-btn:hover {
    background: var(--ck-ink);
    color: white;
}

@media print {
    /* Hide non-essential elements */
    .site-header,
    .site-footer,
    .recipe-actions,
    .related-recipes,
    .comments-section,
    .mobile-bottom-bar,
    .print-recipe-btn,
    .recipe-card__save,
    .recipe-hero__overlay,
    nav,
    .ad-slot {
        display: none !important;
    }

    /* Reset colors for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    /* Recipe hero - just show image */
    .recipe-hero {
        min-height: auto;
        page-break-after: avoid;
    }

    .recipe-hero__bg img {
        position: static;
        max-height: 300px;
        object-fit: contain;
    }

    .recipe-hero__content {
        color: black;
        padding: 20px 0;
    }

    .recipe-hero__title {
        color: black;
        font-size: 24pt;
    }

    .recipe-hero__category {
        background: #ddd;
        color: black;
    }

    /* Meta bar */
    .recipe-meta-bar {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-top: 0;
    }

    /* Layout for print */
    .recipe-content__layout {
        display: block;
    }

    .ingredients-box {
        position: static;
        background: #f5f5f5;
        page-break-inside: avoid;
        margin-bottom: 30px;
    }

    .ingredients-list li::before {
        border-color: black;
    }

    /* Instructions */
    .recipe-step {
        page-break-inside: avoid;
    }

    .recipe-step__number {
        background: #f5f5f5;
        color: black;
    }

    .recipe-step__tip {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }

    /* Links */
    a {
        color: black !important;
        text-decoration: none !important;
    }

    /* Page margins */
    @page {
        margin: 2cm;
    }
}

/* ===========================================
   MOBILE ADJUSTMENTS
   =========================================== */

@media (max-width: 768px) {
    .recipe-hero {
        aspect-ratio: 16/9;
        max-height: 50vh;
    }

    .recipe-hero__content {
        padding: var(--ck-space-5) 0;
    }

    .recipe-hero__title {
        font-size: 1.75rem;
    }

    .recipe-hero__excerpt {
        font-size: 1rem;
        display: none;
    }

    .recipe-step {
        grid-template-columns: 40px 1fr;
        gap: var(--ck-space-3);
    }

    .recipe-step__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
