/* ============================================================
   CHRISTIANITY GERMANY – Subpage Styles
   Shared across all subpages
   ============================================================ */

/* === SUBPAGE HERO === */
.subpage-hero {
    position: relative;
    padding: 9rem 0 5rem;
    background: var(--clr-bg-primary);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, hsla(38, 70%, 40%, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.subpage-hero__label {
    font-family: var(--ff-body);
    font-size: var(--fs-badge);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--clr-accent-gold);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.subpage-hero__label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--clr-accent-gold);
}

.subpage-hero__title {
    font-family: var(--ff-heading);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: var(--fw-black);
    line-height: 1.12;
    color: var(--clr-text-primary);
    margin-bottom: var(--space-lg);
    max-width: 800px;
}

.subpage-hero__subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--clr-text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

.subpage-hero__cross-deco {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.04;
    pointer-events: none;
}

.subpage-hero__cross-deco svg {
    width: clamp(200px, 25vw, 380px);
    height: auto;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-badge);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-2xl);
    letter-spacing: var(--ls-wide);
}

.breadcrumb a {
    color: var(--clr-text-muted);
    transition: color var(--dur-fast);
}

.breadcrumb a:hover {
    color: var(--clr-accent-gold);
}

.breadcrumb__sep {
    opacity: 0.4;
}

.breadcrumb__current {
    color: var(--clr-accent-gold);
}

/* === SEARCH BAR === */
.search-bar {
    position: relative;
    max-width: 620px;
    margin-bottom: var(--space-2xl);
}

.search-bar__input {
    width: 100%;
    padding: 16px 56px 16px 22px;
    border-radius: 100px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-card);
    color: var(--clr-text-primary);
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    transition: border-color var(--dur-fast) var(--ease-out),
        box-shadow var(--dur-fast) var(--ease-out);
}

.search-bar__input::placeholder {
    color: var(--clr-text-muted);
}

.search-bar__input:focus {
    border-color: var(--clr-accent-gold);
    box-shadow: 0 0 0 3px hsla(38, 70%, 55%, 0.1);
    outline: none;
}

.search-bar__icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-muted);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

/* === TAG FILTERS === */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.tag-filter {
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid var(--clr-border);
    background: transparent;
    color: var(--clr-text-secondary);
    font-family: var(--ff-body);
    font-size: var(--fs-badge);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
}

.tag-filter:hover,
.tag-filter.active {
    background: hsla(38, 70%, 55%, 0.1);
    border-color: hsla(38, 70%, 55%, 0.3);
    color: var(--clr-accent-gold);
}

/* === BLOG / POST CARDS === */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.post-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    transition: all var(--dur-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-border-hover);
    box-shadow: 0 20px 50px hsla(0, 0%, 0%, 0.3), 0 0 30px hsla(38, 70%, 55%, 0.08);
}

.post-card__visual {
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.post-card__visual canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.post-card__visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out);
}

.post-card:hover .post-card__visual-image {
    transform: scale(1.05);
    opacity: 1;
}

.post-card__tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 5px 14px;
    border-radius: 100px;
    background: hsla(0, 0%, 0%, 0.55);
    backdrop-filter: blur(10px);
    font-size: var(--fs-badge);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-accent-gold);
    z-index: 1;
}

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

.post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-badge);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
    letter-spacing: var(--ls-wide);
}

.post-card__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--clr-text-muted);
}

.post-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.post-card__excerpt {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-lg);

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-badge);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--clr-accent-gold);
    transition: gap var(--dur-normal) var(--ease-out);
    margin-top: auto;
}

.post-card:hover .post-card__cta {
    gap: var(--space-sm);
}

/* Featured post */
.post-card--featured {
    grid-column: span 2;
}

.post-card--featured .post-card__visual {
    height: 280px;
}

.post-card--featured .post-card__title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* === IMPULSE CARDS (compact) === */
.impulse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.impulse-card {
    border-radius: var(--radius-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all var(--dur-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.impulse-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--grad-gold);
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transition: transform var(--dur-normal) var(--ease-out);
}

.impulse-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateX(4px);
    background: var(--clr-bg-card-hover);
}

.impulse-card:hover::before {
    transform: scaleY(1);
}

.impulse-card__num {
    font-family: var(--ff-heading);
    font-size: 2rem;
    font-weight: var(--fw-black);
    color: var(--clr-accent-gold);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
}

.impulse-card__content {
    flex: 1;
}

.impulse-card__meta {
    font-size: var(--fs-badge);
    color: var(--clr-text-muted);
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-xs);
}

.impulse-card__title {
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.impulse-card__verse {
    font-size: var(--fs-small);
    color: var(--clr-accent-gold);
    font-style: italic;
    opacity: 0.7;
    margin-bottom: var(--space-sm);
}

.impulse-card__excerpt {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === SINGLE POST LAYOUT === */
.single-post {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: var(--space-4xl);
}

.single-post__header {
    margin-bottom: var(--space-2xl);
}

.single-post__verse {
    display: block;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-accent-gold);
    border-left: 2px solid var(--clr-accent-gold);
    padding-left: var(--space-lg);
    margin: var(--space-2xl) 0;
    line-height: 1.7;
}

.single-post__body {
    color: var(--clr-text-secondary);
    line-height: 1.9;
    font-size: var(--fs-body);
}

.single-post__body h2,
.single-post__body h3 {
    font-family: var(--ff-heading);
    color: var(--clr-text-primary);
    margin: var(--space-2xl) 0 var(--space-md);
    line-height: 1.3;
}

.single-post__body h2 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: var(--fw-bold);
}

.single-post__body h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: var(--fw-semi);
}

.single-post__body p {
    margin-bottom: var(--space-lg);
}

.single-post__body strong {
    color: var(--clr-text-primary);
    font-weight: var(--fw-semi);
}

/* === MERCH SHOP === */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.merch-card {
    border-radius: var(--radius-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    transition: all var(--dur-normal) var(--ease-out);
    position: relative;
}

.merch-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-border-hover);
    box-shadow: 0 20px 50px hsla(0, 0%, 0%, 0.3);
}

.merch-card__image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--clr-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-card__image canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
}

.merch-card__mockup {
    position: relative;
    z-index: 1;
    width: 70%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-card__badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: var(--fs-badge);
    font-weight: var(--fw-semi);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    z-index: 2;
}

.merch-card__badge--new {
    background: hsla(38, 70%, 55%, 0.15);
    border: 1px solid hsla(38, 70%, 55%, 0.3);
    color: var(--clr-accent-gold);
}

.merch-card__badge--soon {
    background: hsla(260, 50%, 55%, 0.12);
    border: 1px solid hsla(260, 50%, 55%, 0.25);
    color: var(--clr-accent-violet);
}

.merch-card__body {
    padding: var(--space-xl);
}

.merch-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    margin-bottom: var(--space-xs);
}

.merch-card__desc {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.merch-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.merch-card__price {
    font-family: var(--ff-heading);
    font-size: 1.3rem;
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
}

.merch-card__price-soon {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    font-style: italic;
}

.merch-cta-banner {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, hsla(38, 70%, 55%, 0.06), hsla(260, 50%, 55%, 0.06));
    border: 1px solid var(--clr-border);
    padding: var(--space-2xl) var(--space-3xl);
    text-align: center;
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.merch-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, hsla(38, 70%, 55%, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.merch-cta-banner__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    margin-bottom: var(--space-md);
}

.merch-cta-banner__text {
    color: var(--clr-text-secondary);
    font-size: var(--fs-body);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-inline: auto;
}

/* === VORURTEILE PAGE === */
.prejudice-submit-box {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.prejudice-submit-box__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    margin-bottom: var(--space-sm);
}

.prejudice-submit-box__desc {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.prejudice-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.prejudice-form textarea {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-secondary);
    color: var(--clr-text-primary);
    font-family: var(--ff-body);
    font-size: var(--fs-small);
    resize: vertical;
    min-height: 120px;
    transition: border-color var(--dur-fast) var(--ease-out);
}

.prejudice-form textarea:focus {
    border-color: var(--clr-accent-gold);
    outline: none;
}

.prejudice-form textarea::placeholder {
    color: var(--clr-text-muted);
}

.prejudice-form input[type="text"],
.prejudice-form input[type="email"] {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-secondary);
    color: var(--clr-text-primary);
    font-family: var(--ff-body);
    font-size: var(--fs-small);
    transition: border-color var(--dur-fast) var(--ease-out);
}

.prejudice-form input:focus {
    border-color: var(--clr-accent-gold);
    outline: none;
}

.prejudice-form input::placeholder {
    color: var(--clr-text-muted);
}

/* Answered prejudice entry */
.prejudice-entry {
    border-radius: var(--radius-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    transition: border-color var(--dur-fast) var(--ease-out);
}

.prejudice-entry:hover {
    border-color: var(--clr-border-hover);
}

.prejudice-entry__question {
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    cursor: pointer;
    user-select: none;
}

.prejudice-entry__q-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: hsla(0, 50%, 60%, 0.1);
    border: 1px solid hsla(0, 50%, 60%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: var(--fw-black);
    color: hsl(0, 60%, 65%);
    line-height: 1;
}

.prejudice-entry__q-text {
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: var(--fw-semi);
    color: var(--clr-text-primary);
    line-height: 1.4;
    flex: 1;
}

.prejudice-entry__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--clr-text-muted);
    transition: transform var(--dur-normal) var(--ease-out);
    margin-top: 2px;
}

.prejudice-entry.open .prejudice-entry__chevron {
    transform: rotate(180deg);
}

.prejudice-entry__answer {
    padding: 0 var(--space-xl) 0 calc(var(--space-xl) + 36px + var(--space-lg));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding var(--dur-normal) var(--ease-out);
}

.prejudice-entry.open .prejudice-entry__answer {
    max-height: 400px;
    padding-bottom: var(--space-xl);
}

.prejudice-entry__a-content {
    padding-top: var(--space-md);
    border-top: 1px solid var(--clr-border);
    display: flex;
    gap: var(--space-lg);
}

.prejudice-entry__a-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: hsla(38, 70%, 55%, 0.1);
    border: 1px solid hsla(38, 70%, 55%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: var(--fw-black);
    color: var(--clr-accent-gold);
}

.prejudice-entry__a-text {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.8;
    flex: 1;
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--clr-text-muted);
    font-size: var(--fs-body);
    display: none;
}

.no-results.visible {
    display: block;
}

/* === PAGE SECTION COMMON === */
.page-section {
    padding: var(--section-pad-y) 0;
    position: relative;
}

.page-section--dark {
    background: var(--clr-bg-secondary);
}

/* === EMPTY STATE === */
.coming-soon-box {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--clr-bg-card);
    border: 1px dashed hsla(38, 70%, 55%, 0.2);
}

.coming-soon-box__icon {
    font-size: 3rem;
    margin-bottom: var(--space-xl);
    display: block;
}

.coming-soon-box__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
    margin-bottom: var(--space-sm);
}

.coming-soon-box__text {
    color: var(--clr-text-secondary);
    font-size: var(--fs-body);
    max-width: 420px;
    margin: 0 auto var(--space-xl);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-card--featured {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .subpage-hero {
        padding: 7rem 0 4rem;
    }

    .subpage-hero__cross-deco {
        display: none;
    }

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

    .post-card--featured {
        grid-column: span 1;
    }

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

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

    .merch-cta-banner {
        padding: var(--space-2xl) var(--space-xl);
    }

    .prejudice-entry__answer {
        padding-left: var(--space-xl);
    }
}