.site-header,
.site-footer {
    background: #f8fafc;
}

.site-main a {
    text-decoration: none;
}

.section {
    margin-block: 1rem;
}

.section-header h2 {
    margin: 0;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav .menu li,
.footer-column .menu li {
    margin: 0;
}


.header-nav .menu,
.header-utility__quick-links .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-nav .menu a,
.footer-column .menu a,
.hero-list a,
.card a {
    color: #0f172a;
}

.article-category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block: 8px;
}

.site-main .article-category-badges a.article-category-badge {
    display: inline-block;
    padding: 5px 10px;
    background: var(--pm-color-primary);
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.site-main .article-category-badges a.article-category-badge:hover,
.site-main .article-category-badges a.article-category-badge:focus-visible {
    color: #414141;
    filter: brightness(0.9);
}

.header-utility,
.header-branding {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.header-branding__search form {
    display: flex;
    gap: 0.5rem;
}

.header-branding__search input[type='search'] {
    min-width: 0;
    width: 100%;
}

.button--club {
    font-weight: 600;
}

.banner-slot {
    border: 1px dashed #64748b;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f1f5f9;
}

.banner-slot__label {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: lowercase;
}

.banner-slot__contain {
    width: 100%;
    overflow: hidden;
}

.banner-slot__contain > * {
    max-width: 100%;
}

.banner-slot__contain img,
.banner-slot__contain iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.banner-slot[data-banner-type='ad'] strong::before {
    content: 'Hirdetés · ';
    color: #334155;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    gap: 0.5rem;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
}

.carousel-arrow-icon {
    display: block;
    width: 18px;
    height: 30px;
    fill: none;
    stroke: #d2d2d2;
    stroke-width: 3.5px;
    stroke-linecap: butt;
    stroke-linejoin: bevel;
}

.carousel-arrow-icon--next {
    transform: scaleX(-1);
}

.carousel-item[hidden] {
    display: none !important;
}

.carousel-track .carousel-item,
.topic-band-carousel__track .carousel-item {
    display: block;
    /*
     * These are custom, JS-driven carousel items. Bootstrap uses the same
     * class name and floats its carousel slides with a negative margin. That
     * removes the visible card from the track's height calculation and lets
     * the following homepage section slide underneath it.
     */
    float: none;
    width: 100%;
    margin-right: 0;
}

.topic-band-topics-three__col {
    padding: 0 1.25rem;
    border-right: 1px solid #d1d5db;
}

.topic-band-topics-three__col:last-child {
    border-right: 0;
}

.topic-band-card__category {
    margin-bottom: 0.75rem;
    text-align: center;
}

.topic-band-card__image-link {
    display: block;
    aspect-ratio: 219 / 136;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #d1d5db;
}

.topic-band-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-band-card__image--placeholder {
    display: block;
}

.topic-band-card__title {
    margin-bottom: 0.5rem;
}

.carousel-button--edge {
    font-size: 1.5rem;
    line-height: 1;
    border: 0;
    background: transparent;
    color: #9ca3af;
}

.topic-band__meta {
    font-size: 0.875rem;
    color: #64748b;
}

.author-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.podcast-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.podcast-player-placeholder {
    border: 1px dashed #94a3b8;
    border-radius: 0.5rem;
    background: #f8fafc;
    padding: 1rem;
    color: #334155;
}

.site-footer {
    background: #e5e7eb;
    color: #1f2937;
}

.site-footer a {
    color: #1f2937;
}

.site-footer__meta {
    border-color: #cbd5e1 !important;
    font-size: 0.9rem;
}


@media (max-width: 991.98px) {
    .header-branding__search form {
        flex-wrap: wrap;
    }
}

.podcast-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.podcast-list-item__cover {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.podcast-archive-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.podcast-archive-card__fallback {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
}

.patika-cikkek-archive__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.patika-cikkek-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
}

.patika-cikkek-filter label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.patika-cikkek-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.patika-cikk-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.patika-cikk-card__image img,
.patika-cikk-card__image--placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.patika-cikk-card__image--placeholder {
    background: #f3f4f6;
    color: #6b7280;
    display: grid;
    place-items: center;
}

.patika-cikk-card__content {
    padding: 1rem;
}

.patika-cikk-card__meta {
    color: #6b7280;
    font-size: 0.9rem;
}

.page-numbers {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    margin: 2rem 0 0;
    padding: 0;
}

.page-numbers a,
.page-numbers span {
    border: 1px solid #d1d5db;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    text-decoration: none;
}

@media (max-width: 960px) {
    .patika-cikkek-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .patika-cikkek-grid {
        grid-template-columns: 1fr;
    }
}

.patika-forum {
    background: #f8fafc;
}

.patika-forum-hero {
    margin-bottom: 2rem;
}

.patika-forum-hero__content {
    background: linear-gradient(135deg, #e7f6f2 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 16px 40px rgba(var(--pm-color-primary-rgb), 0.08);
}

.patika-forum-eyebrow,
.patika-forum-badge {
    color: #0f766e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.patika-forum-section {
    margin-bottom: 3rem;
}

.patika-forum-section__header {
    margin-bottom: 1.25rem;
}

.patika-forum-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.patika-forum-topic-card,
.patika-forum-qa,
.patika-forum-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(var(--pm-color-primary-rgb), 0.06);
}

.patika-forum-topic-card {
    overflow: hidden;
}

.patika-forum-topic-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.patika-forum-topic-card__body,
.patika-forum-qa,
.patika-forum-panel {
    padding: 1.25rem;
}

.patika-forum-topic-card h3 a,
.patika-forum-qa h3 a {
    color: #0f172a;
    text-decoration: none;
}

.patika-forum-topic-card__expert,
.patika-forum-muted,
.patika-forum-qa__meta {
    color: #64748b;
    font-size: 0.95rem;
}

.patika-forum-question-list {
    display: grid;
    gap: 1rem;
}

.patika-forum-qa {
    scroll-margin-top: 110px;
}

.patika-forum-qa__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.patika-forum-qa__question,
.patika-forum-qa__answer {
    margin-top: 1rem;
}

.patika-forum-qa__question > strong,
.patika-forum-qa__answer > strong {
    display: block;
    margin-bottom: 0.35rem;
}

.patika-forum-topic__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
}

.patika-forum-topic__sidebar {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.patika-forum-back {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.patika-forum-form {
    display: grid;
    gap: 1rem;
}

.patika-forum-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.patika-forum-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    font-weight: 400 !important;
}

.patika-forum-hp {
    left: -10000px;
    position: absolute;
}

@media (max-width: 991.98px) {
    .patika-forum-topic-grid,
    .patika-forum-topic__layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .patika-forum-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .patika-forum-qa__header {
        display: block;
    }
}

.authors-directory-search {
    max-width: 720px;
}

.authors-directory__results {
    margin-top: 3rem;
}

.authors-directory-card__avatar {
    height: 160px;
    object-fit: cover;
    width: 160px;
}

.authors-directory-card__bio {
    max-width: 28rem;
}
