/*
Theme Name: PWS-2026
Theme URI: https://example.com/pws-2026
Author: Your Name
Author URI: https://example.com
Description: Basic WordPress theme using Bootstrap 5.3.8, responsive layout for mobile and desktop.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: bootstrap, responsive, custom-layout
Text Domain: pws-2026
*/

@font-face {
    font-family: 'Newsreader';
    src: url('fonts/Newsreader/static/Newsreader_14pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('fonts/Newsreader/static/Newsreader_14pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
}

.logo {
    height: 92px !important;
    max-height: 92px !important;
    width: auto !important;
}

@media (min-width: 992px) {
    .logo {
        height: 60px !important;
        max-height: 60px !important;
    }
}

.social-header-icon {
    height: 20px;
    margin-right: 5px;
    opacity: 0.8;
    display: inline-block;
    float: left;
}

/* Navigation link styling */
.navbar-nav .nav-link {
    font: 16px 'Inter', sans-serif;
    color: #212529; /* default Bootstrap text color */
}

/* Ensure dropdown menus work on hover for desktop (optional) */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Adjust spacing for mobile toggle */
.navbar-toggler {
    border-color: rgba(0,0,0,.1);
}

/* Custom spacing for the nav container */
.navbar .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center !important;
}

@media (max-width: 991.98px) {
    .navbar .container {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .logo-section {
        order: 1;
    }

    .navbar-toggler {
        order: 2;
        flex-shrink: 0;
        align-self: center;
    }

    #navbarNav {
        order: 3;
        flex-basis: 100%;
    }

    #mainNav:not(.is-sticky) .logo-section {
        flex: 0 1 auto !important;
        width: auto !important;
        flex-direction: column;
        gap: 0;
        padding: 21px 0;
        border: none;
    }

    #mainNav:not(.is-sticky) .logo-section::before {
        display: none;
    }

    #mainNav:not(.is-sticky) .logo-container {
        width: auto;
    }

    /* .logo-container is only as wide as the logo on mobile, so its own ::after line
       (anchored to it) only spans that width and cuts off. Disable it here and draw
       the divider off #mainNav itself instead, which is always full width. */
    #mainNav:not(.is-sticky) .logo-container::after {
        display: none;
    }

    #mainNav:not(.is-sticky)::after {
        display: block; /* overrides the unrelated "#mainNav::after { display: none; }" rule elsewhere in this file */
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        border-bottom: 1px solid #d0d0d0;
        pointer-events: none;
    }
}

/* Custom spacing between nav items */
.navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Ensure the logo does not shrink on small screens */
@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 60px !important;
    }
}

/* Sticky menu: nav sticks to the top on scroll, ad banners are left behind */
#mainNav {
    position: relative;
    z-index: 1030;
    transition: padding .15s ease, box-shadow .15s ease;
    border-top: 1px solid #e0e0e0;
}

#mainNav:not(.is-sticky) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Header spacing variables */
:root {
    --nav-line-gap: 6px; /* gap between menu and each thin line above/below - reduced to tighten spacing */
}

/* Full-width bottom rule under the navbar (spans entire viewport) - sits visually below the container-scoped bar */
#mainNav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px; /* bring the full-width line closer to the nav so spacing matches */
    height: 1px; /* thin subtle line */
    background: #e0e0e0; /* slightly lighter */
    z-index: 0;
}

/* Make the navbar content establish a positioned context so its pseudo-element can be centered and limited in width */
#navbarNav {
    position: relative;
    padding-top: var(--nav-line-gap);
    padding-bottom: var(--nav-line-gap);
}

/* Ensure logo container spacing matches the gap */
#mainNav:not(.is-sticky) .logo-container {
    padding-bottom: 0; /* remove extra inner padding so gap is controlled by navbar padding */
    margin-bottom: 0 !important; /* keep margin 0 so gap is only from #navbarNav padding-top */
}

/* Keep the centered, container-scoped bar above the buttons/menu (shorter line). */
#mainNav:not(.is-sticky) .logo-container::after {
    left: -1rem;
    right: -1rem;
    bottom: 0;
    border-bottom: 1px solid #d0d0d0;
    content: "";
    position: absolute;
}


/* Remove navbar-scoped pseudo so we can control both lines relative to #mainNav */
#navbarNav::after { display: none; }

/* When sticky, the box-shadow is the only separator needed - hide the extra thin line to avoid a double border */
#mainNav.is-sticky::after { display: none; }
#mainNav.is-sticky #navbarNav { padding-bottom: 8px; }

/* Make decorative lines non-interactive so they don't affect hover/box-model of menu items */
#mainNav::after,
#mainNav::before,
#mainNav:not(.is-sticky) .logo-container::after {
    pointer-events: none;
}

/* Ensure nav content sits above decorative lines for correct hover behavior */
#navbarNav { position: relative; z-index: 2; }
.navbar-nav .nav-link { position: relative; z-index: 3; }

#mainNav:not(.is-sticky) #navbarNav {
    padding-bottom: 7px;
}

/* End header rules */


#navbarNav .header-social-icons,
#navbarNav .header-search {
    padding-top: 0;
    padding-bottom: 0;
}
/* small fix: ensure no unexpected min-height and control gap at navbar level */
#navbarNav {
    min-height: 0;
    padding-top: 0; /* gap above menu items */
    padding-bottom: 8px; /* gap below menu items */
}

/* Ensure hover backgrounds don't overflow the nav area */
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
    background-color: transparent; /* rely on underline or color change instead of full-box background */
}

/* Optional subtle hover without changing box model */
.navbar-nav .nav-link.hover-underline:hover {
    box-shadow: inset 0 -3px 0 0 rgba(200,0,20,0.06);
}
/* Full-width bottom rule under the navbar (spans entire viewport) - sits visually below the container-scoped bar */








































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































#mainNav::after {
    display: none;
}


/* Make the navbar content establish a positioned context so its pseudo-element can be centered and limited in width */
#navbarNav {
    position: relative;
    padding-top: var(--nav-line-gap);
    padding-bottom: var(--nav-line-gap);
}

/* Ensure logo container spacing matches the gap */
#mainNav:not(.is-sticky) .logo-container {
    padding-bottom: 0; /* remove extra inner padding so gap is controlled by navbar padding */
    margin-bottom: 0 !important; /* keep margin 0 so gap is only from #navbarNav padding-top */
}

/* Keep the centered, container-scoped bar above the buttons/menu (shorter line). */
#mainNav:not(.is-sticky) .logo-container::after {
    left: -1rem;
    right: -1rem;
    bottom: 0;
    border-bottom: 1px solid #d0d0d0;
    content: "";
    position: absolute;
}


/* Remove navbar-scoped pseudo so we can control both lines relative to #mainNav */
#navbarNav::after { display: none; }

/* Add a centered, container-width-limited line above the full-width one */

/* When sticky, the box-shadow is the only separator needed - hide the extra thin line to avoid a double border */
#mainNav.is-sticky::after { display: none; }
#mainNav.is-sticky #navbarNav { padding-bottom: 8px; }

/* Make decorative lines non-interactive so they don't affect hover/box-model of menu items */
#mainNav::after,
#mainNav::before,
#mainNav:not(.is-sticky) .logo-container::after {
    pointer-events: none;
}

/* Ensure nav content sits above decorative lines for correct hover behavior */
#navbarNav { position: relative; z-index: 2; }
.navbar-nav .nav-link { position: relative; z-index: 3; }

#mainNav:not(.is-sticky) #navbarNav {
    padding-bottom: 7px;
}

/* End header rules */



























































































































#mainNav:not(.is-sticky) .logo-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 21px 0;
    width: 100%;
}

#mainNav:not(.is-sticky) .logo-section::before {
    content: "";
    position: absolute;
    left: -1rem;
    right: -1rem;
    top: 0;
    border-top: 1px solid #d0d0d0;
}

#mainNav:not(.is-sticky) .logo-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

#mainNav:not(.is-sticky) #navbarNav {
    position: relative;
    margin-top: 0 !important;
    padding-bottom: 0;
}

#mainNav:not(.is-sticky) #navbarNav::after {
    display: none;
}

#mainNav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

#mainNav.is-sticky .container {
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

#mainNav.is-sticky .logo-section {
    order: -1;
    flex: 0 0 auto;
    padding: 0;
}

#mainNav.is-sticky .logo-container {
    width: auto !important;
    flex: 0 0 auto;
    text-align: left !important;
    margin-bottom: 0 !important;
}

#mainNav.is-sticky .logo {
    height: 40px !important;
    max-height: 40px !important;
}

#mainNav.is-sticky .header-social-icons {
    display: none !important;
}

/* Full (non-sticky) menu row: social icons on the left edge, menu on left, search + PL/EN on the right edge */
@media (min-width: 992px) {
    #navbarNav {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 0.1rem;
        padding-right: 1rem;
    }

    #navbarNav .header-social-icons {
        justify-self: start;
    }

    #navbarNav .navbar-nav {
        justify-self: center;
    }

    #navbarNav .header-search {
        justify-self: end;
    }

    /* When sticky, allow nav to use more horizontal space but keep centered */
    #mainNav.is-sticky #navbarNav {
        grid-template-columns: auto 1fr auto;
        width: 100%;
        max-width: none;
        margin: 0;
        flex: 1 1 auto;
        min-width: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #mainNav.is-sticky #navbarNav .navbar-nav {
        justify-self: center;
    }
}

/* ==== Homepage / article layout placeholders ==== */

.btn-hotel-red, .btn-primary {
    background-color: #c80114 !important;
    border-color: #c80114 !important;
    color: #fff !important;
    font-weight: 700;
}

.btn-hotel-red:hover, .btn-primary:hover {
    background-color: #a30011 !important;
    border-color: #a30011 !important;
    color: #fff !important;
}

.btn-hotel-red {
    font-size: 1rem;
    padding: .75rem 1rem;
    border-radius: .5rem;
}

.btn-primary:focus, .btn-hotel-red:focus {
    box-shadow: 0 0 0 0.2rem rgba(200,0,20,0.25) !important;
}

.placeholder-img {
    position: relative;
    background-color: #d9d9d9;
    background-image: linear-gradient(135deg, #e6e6e6 25%, #cfcfcf 25%, #cfcfcf 50%, #e6e6e6 50%, #e6e6e6 75%, #cfcfcf 75%, #cfcfcf 100%);
    background-size: 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: .8rem;
    text-align: center;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.article-tags {
    position: absolute;
    z-index: 3;
    top: .5rem;
    right: .5rem;
    display: flex;
    max-width: calc(100% - 1rem);
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.article-tag {
    display: block;
    background: rgba(255, 255, 255, .9);
    color: #212529;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
    padding: .25rem .5rem;
}

.article-tag:hover {
    background: #fff;
    color: #212529;
}

.article-tag:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

.category-badge {
    display: inline-block;
    color: #c80114;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
}

.category-badge:hover {
    color: #a30011;
}

.category-badge-div {
    padding-bottom: 4px;
}

/* Main featured article */
.article-image-rounded {
    border-radius: 3px;
}

.main-article-card {
    position: relative;
    isolation: isolate;
    margin: 0;
}

.main-article-link {
    display: block;
    position: relative;
    height: 400px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.main-article-image {
    position: absolute;
    inset: 0;
    display: block;
    background-color: #d9d9d9;
    background-image: linear-gradient(135deg, #e6e6e6 25%, #cfcfcf 25%, #cfcfcf 50%, #e6e6e6 50%, #e6e6e6 75%, #cfcfcf 75%, #cfcfcf 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-article-link.is-image-zoomed,
.main-article-link:focus-visible {
    width: calc(100% + 8px);
    height: 408px;
    margin: -4px;
}

.main-article-link:focus-visible {
    outline: 3px solid #d81f26;
    outline-offset: 3px;
}

.main-article-body {
    padding-top: 1rem;
}

.main-article-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
}

.main-article-date {
    color: #6c757d;
    font-size: .85rem;
}

.main-article-title {
    margin: 0 0 .5rem;
    font-family: 'Newsreader', serif;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
}

.main-article-title a {
    color: #212529;
    text-decoration: none;
}

.main-article-title a:hover {
    color: #c80114;
}

.main-article-excerpt {
    color: #6c757d;
    margin: 0 0 .75rem;
}

.main-conference-excerpt {
    padding: 10px 0px;
}

.main-article-readmore {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #c80114;
    font-weight: 700;
    text-decoration: none;
}

.main-article-readmore:hover {
    color: #a30011;
    text-decoration: underline;
}

.main-article-readmore--block {
    display: flex;
    margin-top: .4rem;
}

@media (max-width: 575.98px) {
    .main-article-link {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-article-image {
        transition: none;
    }

    .main-article-link.is-image-zoomed .main-article-image,
    .main-article-link:focus-visible .main-article-image {
        transform: none;
    }
}

/* Older/secondary articles stacked next to the main article */
.older-article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.older-article:last-child {
    border-bottom: none;
}

.older-article:first-child {
    padding-top: 0;
}

.older-article-link {
    position: relative;
    display: block;
    flex: 0 0 110px;
    width: 110px;
    height: 69px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.older-article-image {
    position: absolute;
    inset: 0;
    display: block;
    background-color: #d9d9d9;
    background-image: linear-gradient(135deg, #e6e6e6 25%, #cfcfcf 25%, #cfcfcf 50%, #e6e6e6 50%, #e6e6e6 75%, #cfcfcf 75%, #cfcfcf 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .2s ease;
}

.older-article-link.is-image-zoomed .older-article-image,
.older-article-link:focus-visible .older-article-image {
    transform: scale(1.06);
}

.older-article-link:focus-visible {
    outline: 3px solid #d81f26;
    outline-offset: 3px;
}

.older-article-body {
    flex: 1 1 auto;
    min-width: 0;
}

.older-article-title {
    margin: .35rem 0;
    font-family: 'Newsreader', serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
}

.older-article-title a {
    color: #212529;
    text-decoration: none;
}

.older-article-title a:hover {
    color: #c80114;
}

.older-article-date {
    color: #6c757d;
    font-size: .8rem;
}

@media (prefers-reduced-motion: reduce) {
    .older-article-image {
        transition: none;
    }
}

/* Aktualności section */
.aktualnosci-heading {
    position: relative;
    width: fit-content;
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-bottom: .75rem;
    margin-bottom: 1.5rem;
}

.aktualnosci-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: .5rem;
    background-color: #c80114;
}

.aktualnosci-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .aktualnosci-grid {
        grid-template-columns: 1fr;
    }
}

.aktualnosc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aktualnosc-card .placeholder-img {
    height: 150px;
}

#aktualnosc-card-7,
#aktualnosc-card-8,
#aktualnosc-card-9 {
    margin-top: 5px;
}

.aktualnosc-article-link {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.aktualnosc-article-image {
    display: block;
    height: 150px;
    background-color: #d9d9d9;
    background-image: linear-gradient(135deg, #e6e6e6 25%, #cfcfcf 25%, #cfcfcf 50%, #e6e6e6 50%, #e6e6e6 75%, #cfcfcf 75%, #cfcfcf 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .2s ease;
}

.aktualnosc-article-link.is-image-zoomed .aktualnosc-article-image,
.aktualnosc-article-link:focus-visible .aktualnosc-article-image {
    transform: scale(1.04);
}

.aktualnosc-article-link:focus-visible {
    outline: 3px solid #d81f26;
    outline-offset: 3px;
}

.aktualnosc-card-body {
    padding-top: .75rem;
}

@media (prefers-reduced-motion: reduce) {
    .aktualnosc-article-image {
        transition: none;
    }
}


/* "Z branży" strip (below the main article + older articles row) */
.branzowe-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 0.5rem;
    margin-bottom: 2rem;
    /* border-top: 1px solid #e5e5e5; */
}

.branzowe-strip-label {
    position: relative;
    flex: 0 0 auto;
    width: fit-content;
    font-family: 'Newsreader', serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-bottom: .75rem;
    color: #212529;
}

.branzowe-strip-label::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: .5rem;
    background-color: #c80114;
}

.branzowe-strip-label--featured {
    color: #c80114;
}

.branzowe-strip-label--featured::after {
    background-color: transparent;
}

.branzowe-strip-list {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
}

.branzowe-strip-item {
    flex: 1 1 180px;
    min-width: 0;
}

.branzowe-strip-title {
    margin: 0 0 .35rem;
    font-size: .9rem;
    line-height: 1.3;
}

.branzowe-strip-title a {
    color: #212529;
    text-decoration: none;
}

.branzowe-strip-title a:hover {
    color: #c80114;
}

.branzowe-strip-title a:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

.branzowe-strip-time {
    display: none;
    color: #6c757d;
    font-size: .8rem;
}

.branzowe-strip-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
    color: #c80114;
    font-weight: 700;
    text-decoration: none;
}

.branzowe-strip-cta:hover {
    color: #a30011;
    text-decoration: underline;
}

.branzowe-strip-cta:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .branzowe-strip {
        flex-direction: column;
        gap: 1rem;
    }

    .branzowe-strip-list {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .branzowe-strip-item {
        flex-basis: auto;
    }

    .branzowe-strip-cta {
        margin-left: 0;
    }
}

.sidebar-current-issue-cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #d81f26;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0;
    padding-top: 0;
}

.sidebar-current-issue-cta:hover {
    text-decoration: underline;
}

.sidebar-current-issue-cta:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

.sidebar-current-issue-cta-container {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    /* border-top: 1px solid #e0e0e0; removed - jedna linia border wystarczy */
}

@media (min-width: 992px) {
    .front-page-cta-row {
        row-gap: 0;
    }

    .site-sidebar {
        display: flex;
        flex-direction: column;
        /* height: 100%; removed - prevents artificial stretching */
    }

    .sidebar-current-issue {
        /* display: flex; removed - prevents artificial stretching */
        /* flex: 1 1 auto; removed - prevents artificial stretching */
        /* flex-direction: column; removed */
    }

    /* .sidebar-current-issue-cta {
        margin-top: auto; removed - link is now inside list
    } */
}

/* Sidebar (visible on page.php, single.php and the homepage) */

/* Related posts ("Więcej w tym temacie") heading + card grid */
.related-heading {
    position: relative;
    width: fit-content;
    margin: 0 0 1.25rem;
    padding-bottom: .9rem;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #212529;
}

.related-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 260px;
    height: 1px;
    background-color: #d0d0d0;
}

.related-heading::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background-color: #c80114;
    z-index: 1;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    background-color: #d9d9d9;
}

.related-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-thumb-icon {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .8rem;
}

.related-card-body {
    padding-top: .75rem;
}

.related-card-tag {
    display: inline-block;
    margin-bottom: .35rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #c80114;
    text-decoration: none;
}

.related-card-tag:hover {
    text-decoration: underline;
}

.related-card-title {
    margin: 0 0 .5rem;
    font-size: .95rem;
    line-height: 1.35;
}

.related-card-title a {
    color: #212529;
    text-decoration: none;
}

.related-card-title a:hover {
    color: #c80114;
}

.related-card-date {
    margin: 0;
    font-size: .8rem;
    color: #6c757d;
}

.related-more-wrap {
    text-align: center;
}

.related-more-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.5rem;
    border: 1px solid #c80114;
    border-radius: 4px;
    color: #c80114;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
}

.related-more-btn:hover {
    background-color: #c80114;
    color: #fff;
}

/* Keep original sidebar styles below */



/* Sidebar (visible on page.php, single.php and the homepage) */




























































































































































































































.site-sidebar {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    padding: 1.25rem;
}

.sidebar-widget {
    margin-bottom: 1.5rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-cover .placeholder-img {
    aspect-ratio: 3 / 4;
    margin-bottom: 1rem;
}

.sidebar-cover-label {
    display: block;
    color: #6c757d;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.sidebar-cover-content {
    margin-bottom: 1rem;
}

.sidebar-cover-title {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.sidebar-cover-topic {
    color: #6c757d;
    font-size: .85rem;
    margin: 0 0 1rem;
}

.sidebar-cover-topic-label {
    font-weight: 500;
    text-transform: uppercase;
}

.sidebar-cover-topic a {
    color: #6c757d;
    text-decoration: none;
}

.sidebar-cover-topic a:hover {
    color: #c80114;
    text-decoration: none;
}

.sidebar-cover-content > :first-child {
    margin-top: 0;
}

.sidebar-cover-content > :last-child {
    margin-bottom: 0;
}

.sidebar-cover-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sidebar-login {
    font-size: .85rem;
    text-align: center;
    margin-top: .75rem;
}

.sidebar-login a {
    color: #d81f26;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-current-issue {
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.sidebar-current-issue-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2px;
    margin: 0 0 .75rem;
}

.sidebar-current-issue-heading {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.sidebar-current-issue-badge {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 40%;
    margin-right: 10px;
    color: #d81f26;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.sidebar-current-issue-badge .bi {
    font-size: 1rem;
    line-height: 1;
}

.sidebar-current-issue-list {
    display: block;
}

.sidebar-current-issue-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-current-issue-item:first-child {
    padding-top: 0;
}

.sidebar-current-issue-lock {
    flex: 0 0 auto;
    line-height: 1;
    margin-top: .2rem;
    color: #212529;
}

.sidebar-current-issue-title {
    margin: 0;
    font-size: .9rem;
    line-height: 1.3;
}

.sidebar-current-issue-title a {
    color: #212529;
    text-decoration: none;
}

.sidebar-current-issue-title a:hover {
    color: #d81f26;
    text-decoration: underline;
}

.sidebar-current-issue-title a:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

.sidebar-more-aktualnosci {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ==== Footer promo section (banners + link columns + newsletter) ==== */

.footer-promo-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer-ad-label {
    font-size: .7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

/* "— Reklama ————" label shown by pwsAdInserter() above a non-empty ad block */
.ad-label-divider {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .75rem;
    color: #999;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ad-label-divider::before {
    content: "";
    flex: 0 0 20px;
    height: 1px;
    background-color: #d9d9d9;
}

.ad-label-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background-color: #d9d9d9;
}

/* Wrapper around the banner returned by pwsAdInserter() - always centered */
.ad-inserter-block {
    text-align: center;
}

.footer-col-heading {
    position: relative;
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
    width: fit-content;
}

.footer-col-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: .5rem;
    background-color: #c80114;
}

.footer-col-heading.text-red {
    color: #d81f26;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
}

.footer-link-list li {
    margin-bottom: .6rem;
}

.footer-link-list a {
    color: #212529;
    text-decoration: none;
}

.footer-link-list a:hover {
    text-decoration: underline;
}

.footer-feature {
    margin-bottom: .75rem;
}

.footer-feature .placeholder-img {
    aspect-ratio: 4 / 3;
}

.footer-feature-training {
    position: relative;
    z-index: 0;
}

.footer-feature-training-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
}

.footer-feature-training-image {
    display: block;
    aspect-ratio: 4 / 3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-feature-training-link--sm-radius {
    border-radius: 3px;
}

.footer-feature-training-link.is-image-zoomed,
.footer-feature-training-link:focus-visible {
    z-index: 1;
    transform: scale(1.02);
}

.footer-feature-training-link:focus-visible {
    outline: 2px solid #d81f26;
    outline-offset: 2px;
}

.footer-feature-title {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    left: 0;
    margin: 0;
    padding: .5rem .6rem;
    border-radius: 0 6px 6px 0;
    background: rgba(255, 255, 255, .92);
    color: #212529;
    font-size: .8rem;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.footer-thumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-thumb-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
    font-size: .8rem;
}

.footer-thumb-image {
    display: block;
    flex: 0 0 90px;
    width: 90px;
    height: 51px;
    overflow: hidden;
    border-radius: 6px;
}

.footer-thumb-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-thumb-item a {
    color: #212529;
    text-decoration: none;
}

.footer-thumb-item a:hover {
    text-decoration: underline;
}

.footer-contest-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contest-logo {
    flex: 0 1 auto;
    min-width: 0;
    display: none; /* odsłaniane przez js/pws.js po przeliczeniu rozmiaru logotypów */
}

/* Ostatnie logo ("Hotelarz Roku") jest na ciemnym tle - większy odstęp, żeby wizualnie zrównoważyć */
.footer-contest-logo:last-child {
    margin-left: 1rem;
}

.footer-contest-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 50px; /* domyślnie małe; docelowy rozmiar liczy js/pws.js po załadowaniu strony */
}

.newsletter-block p {
    font-size: .85rem;
    color: #555;
}

.footer-newsletter-heading {
    font-family: 'Newsreader', serif;
    font-size: 22px;
}

/* Oba przyciski E-Tygodnika w spójnym, mniejszym rozmiarze (odpowiednik .btn-sm).
   Ustawione tu, bo motyw twardo nadpisuje padding .btn-hotel-red, więc samo .btn-sm by nie zadziałało. */
.newsletter-actions .btn {
    font-size: .875rem;
    padding: .25rem .5rem;
    border-radius: .25rem;
    font-weight: 700;
}

.footer-col-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-col-subheading {
    font-size: .7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-feature-body {
    margin-top: .75rem;
    display: flex;
    flex-direction: column;
    padding: 7px;
}

.footer-feature-body .main-article-readmore {
    display: flex;
    margin-top: .75rem;
}

.footer-feature-heading {
    margin: 0 0 .4rem;
    font-family: 'Newsreader', serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
}

.footer-feature-heading a {
    color: #212529;
    text-decoration: none;
}

.footer-feature-heading a:hover {
    color: #c80114;
}

.footer-dated-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.footer-dated-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.footer-dated-item:last-child {
    border-bottom: none;
}

.footer-dated-item-arrow {
    flex-shrink: 0;
    color: #c80114;
    font-weight: 700;
}

.branzowe-strip-item-arrow {
    display: block;
    margin-top: .35rem;
    color: #c80114;
    font-weight: 700;
}

.footer-feature-training-image--conference {
    aspect-ratio: 16 / 6;
    border-radius: 2px 2px 0 0;
}

.footer-feature-training--conference {
    border-left: 1px #eeeeee solid;
    border-right: 1px #eeeeee solid;
    border-bottom: 1px #eeeeee solid;
    border-radius: 2px;
    overflow: hidden;
}

.footer-feature-training-link--conference {
    border-radius: 2px 2px 0 0;
}

.konferencja-1-miejsce-underline {
    width: 70px;
    margin-top: 20px;
    margin-bottom: 11px;
    border-bottom: 3px #c80114 solid;
}

/* ==== Login / premium paywall panel ==== */
.login-container {
    border-top: 3px solid #c80114;
    background: #fff;
}

.login-panel {
    display: flex;
    flex-wrap: wrap;
}

.login-panel-col {
    padding: 2.5rem;
}

.login-panel-col--info {
    flex: 1 1 60%;
    min-width: 280px;
}

.login-panel-col--form {
    flex: 1 1 40%;
    min-width: 280px;
    border-left: 1px solid #e5e5e5;
}

.login-panel-eyebrow {
    color: #6c757d;
    font-size: .85rem;
    margin: 0 0 .75rem;
}

.login-panel-heading {
    font-family: 'Newsreader', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.login-panel-col--form .login-panel-heading {
    font-size: 1.4rem;
}

.login-panel-lead {
    color: #212529;
    margin: 0 0 1.5rem;
}

.login-panel-features {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-panel-feature {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    gap: .5rem;
    font-size: .9rem;
}

.login-panel-feature-dash {
    flex: 0 0 auto;
    color: #c80114;
    font-weight: 700;
}

.login-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.login-panel-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1rem;
}

.login-panel-input {
    border-radius: .375rem;
}

.login-panel-remember {
    margin: .25rem 0 .5rem;
}

.login-panel-forgot {
    display: inline-block;
    margin-top: .75rem;
    color: #c80114;
    font-weight: 600;
    text-decoration: underline;
}

.login-panel-forgot:hover {
    color: #a30011;
}

.login-panel-footer {
    padding: 1rem 2.5rem;
    border-top: 1px solid #e5e5e5;
    color: #6c757d;
    font-size: .9rem;
}

.login-panel-footer-link {
    color: #c80114;
    font-weight: 600;
    text-decoration: none;
}

.login-panel-footer-link:hover {
    color: #a30011;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .login-panel-col--form {
        border-left: none;
        border-top: 1px solid #e5e5e5;
    }
}

@media (max-width: 480px) {
    .login-panel-features {
        flex-wrap: wrap;
    }

    .login-panel-feature {
        flex-basis: 100%;
    }
}

.archive-breadcrumb {
    color: #6c757d;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.archive-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.archive-breadcrumb a:hover {
    color: #c80114;
}

/* ==== Archiwum numerów page ==== */
.archive-issues-heading {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.archive-year-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.archive-year-label {
    flex: 0 0 auto;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.archive-year-select-wrap {
    position: relative;
    flex: 1 1 auto;
}

.archive-year-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    width: 10px;
    height: 10px;
    border-right: 2px solid #6c757d;
    border-bottom: 2px solid #6c757d;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.archive-year-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: .85rem 2.5rem .85rem 1.25rem;
    border: 1px solid #d0d0d0;
    border-radius: .5rem;
    background: #fff;
    font-size: 1rem;
    color: #212529;
}

.archive-issue-item {
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: .75rem;
    background: #fff;
}

.archive-issue-title {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.archive-issue-title a {
    color: #212529;
}

.archive-issue-title a:hover {
    color: #c80114;
}

.archive-issue-cover .cover-content {
    text-align: center;
}

.archive-issue-cover .cover-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==== Kontakt page ==== */
.kontakt-heading {
    position: relative;
    width: fit-content;
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 2.5rem;
    padding-bottom: .75rem;
    margin-bottom: 2rem;
}

.kontakt-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: .5rem;
    background-color: #c80114;
}

.kontakt-section-heading {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.kontakt-org-name {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 1.4rem;
    margin: 0 0 .35rem;
}

.kontakt-org-address,
.kontakt-org-contact {
    color: #6c757d;
    font-size: .9rem;
    margin: 0 0 .25rem;
}

.kontakt-org-contact a {
    color: #c80114;
    text-decoration: underline;
}

.kontakt-divider {
    border: none;
    border-top: 1px solid #a0a0a0;
    margin: 1.5rem 0;
}

.kontakt-people,
.kontakt-departments {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem 1.5rem;
}

.kontakt-person,
.kontakt-department {
    flex: 1 1 0;
    min-width: 0;
}

.kontakt-person:not(:first-child),
.kontakt-department:not(:first-child) {
    padding-left: 1.5rem;
    border-left: 1px solid #eae4e4;
}

@media (max-width: 575.98px) {
    .kontakt-people,
    .kontakt-departments {
        flex-wrap: wrap;
    }

    .kontakt-person,
    .kontakt-department {
        flex-basis: 100%;
    }

    .kontakt-person:not(:first-child),
    .kontakt-department:not(:first-child) {
        padding-left: 0;
        border-left: none;
    }
}

.kontakt-department-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}

.kontakt-person-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.kontakt-person-role {
    color: #6c757d;
    font-size: .85rem;
    margin: 0 0 .35rem;
}

.kontakt-person-contact {
    font-size: .85rem;
    color: #6c757d;
    margin: 0;
}

.kontakt-person-contact a {
    color: #c80114;
    text-decoration: underline;
}

/* ==== Cookie consent modal ==== */
.cookie-consent-dialog {
    max-width: 880px;
}

.cookie-consent-content {
    border: none;
    border-radius: .75rem;
}

.cookie-consent-body {
    padding: 2.5rem;
    text-align: center;
}

.cookie-consent-logo {
    height: 56px;
    margin-bottom: 1.5rem;
}

.cookie-consent-heading {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.cookie-consent-body p {
    text-align: left;
    color: #212529;
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-consent-btn {
    flex: 1 1 220px;
    padding: .85rem 1.5rem;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    border-radius: .5rem;
}

.cookie-consent-btn--accept {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.cookie-consent-btn--accept:hover {
    background-color: #212529;
    border-color: #212529;
    color: #fff;
}

.cookie-consent-btn--reject {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

.cookie-consent-btn--reject:hover {
    background-color: #f5f5f5;
}

.cookie-consent-links {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: .8rem;
}

.cookie-consent-links a {
    color: #6c757d;
    text-decoration: underline;
}

/* ==== Site footer ==== */

#footer-pws {
    background-color: #d01218;
    color: #fff;
    padding: 2rem 0 1rem;
}

.footer-logo {
    max-height: 40px;
    margin-left: -5px;
    margin-bottom: 10px;
}

.pws-footer-menu-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    line-height: 2;
}

.pws-footer-menu-link:hover {
    color: #fff;
    text-decoration: underline;
}

.pws-footer-menu-link.bold {
    font-weight: 700;
}

.scroll-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #212529;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
}

.post-title {
    display: block;
    overflow: hidden; /* clearfix */
}

.post-title .tag-categories {
    float: right;
    white-space: nowrap;
    background: #d4d4d4;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    margin-top: 14px;
}

/* Archive list adjustments */
.archive-thumb-link { max-width: 200px; }

.archive-lead { color: #6c757d; font-size: 0.95rem; }
.archive-meta { font-size: 0.85rem; color: #6c757d; }
.small-date { font-size: 13px; }

@media (max-width: 767.98px) {
    .archive-item .d-flex { display: block; }
    .archive-thumb-link { width: 100%; max-width: 100%; margin-bottom: .75rem; }
    .archive-thumb-link img { width: 100%; height: auto; }
}





























































































































































































































































































.tag-categories.category-badge {
    font-size: 0.85rem;
}

.tag-categories a {
    color: #c80114;
    text-decoration: none;
}

.tag-categories a:hover {
    color: #c80114;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .post-title .tag-categories {
        float: none;
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Domyślne style edytora WordPress dla treści artykułu (klasy dodawane automatycznie przez edytor) */

/* Pagination styling: center, red links, reduced gaps */
nav.pagination {
    display: flex;
    justify-content: center;
    text-align: center;
}
nav.pagination .nav-links {
    display: inline-flex;
    gap: 10px; /* smaller spacing between links */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
nav.pagination .page-numbers,
nav.pagination a.page-numbers {
    color: #c80114;
    text-decoration: none;
    padding: 6px 10px;
}
nav.pagination .page-numbers.current {
    font-weight: 700;
    color: #fff;
    background: #c80114;
    border-radius: 4px;
}
nav.pagination .page-numbers:hover {
    text-decoration: underline;
}
nav.pagination .prev.page-numbers,
nav.pagination .next.page-numbers {
    font-weight: 600;
}

@media (max-width: 480px) {
    nav.pagination .nav-links { gap: 8px; }
    nav.pagination .page-numbers { padding: 6px 8px; }
}

/* End pagination styling */





































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































/* Archive list and thumbnail styles */
.archive-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}
.archive-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.archive-thumb-link { flex: 0 0 200px; }
.archive-thumb-link img { width: 200px; height: auto; display:block; object-fit:cover; }
.archive-category { display: block; margin-bottom: .35rem; }
.archive-thumb-placeholder { width:200px; height:150px; background:#efefef; border-radius:6px; display:block; position:relative; }
.archive-thumb-placeholder-icon { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-size: 22px; color: #bdbdbd; width: 22px; height:22px; display:inline-block; }

.archive-thumb-placeholder svg { display:block; }

/* If Bootstrap Icons aren't loaded, fallback style for pseudo-icon */
.bi {
    display: inline-block;
    font-style: normal;
    speak: none;
    line-height: 1;
}


.archive-body { flex: 1 1 auto; }
.archive-item .post-title {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.25;
}

.archive-title-link {
    color: #212529;
}
.archive-title-link:hover { color: #c80114; }
.small-date { font-size: 13px; }

/* Link style for issue number and department in single post meta */
.meta-link-red { color: #c80114; text-decoration: none; font-weight: 600; }
.meta-link-red:hover { text-decoration: underline; }

/* Social share block under the article title */
.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .75rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

.post-share-label {
    margin-right: .25rem;
}

.post-share-link {
    display: inline-flex;
    align-items: center;
}

.post-share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #212529;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.post-share-copy:hover {
    color: #c80114;
}

.post-share-copy-feedback {
    font-size: .8rem;
    color: #6c757d;
}

/* Clamp lead text to two lines for consistent layout */
.archive-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* fallback for non-webkit */
    max-height: 3.6em; /* ~2 lines at 1.8em line-height */
}

/* Ensure meta and content spacing */
.archive-meta { margin-bottom: 6px; }
.post-content .archive-lead { margin: 0 0 0.5rem 0; }

/* Comments styling */
.comment-author {
    font-weight: 700;
}
.comment-meta {
    font-size: 0.9rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}
.comment-content { margin-top: 0.5rem; }

/* Smaller date under author in comments */
.comment-author + .comment-meta { font-size: 0.85rem; color: #6c757d; }

/* Disable edit link display (if any) */
.comment-edit-link { display: none !important; }

/* Adjust reply link color to match theme */
.comment-reply-link { color: #c80114 !important; }

/* Comments section redesign */
.comments-block {
    margin-top: 1rem;
}

.comments-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #212529;
}

.comments-heading::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background-color: #d0d0d0;
}

.comments-heading-count {
    font-weight: 400;
    color: #6c757d;
    text-transform: none;
}

.comments-logged-in {
    font-size: .9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.comments-logged-in a {
    color: inherit;
    text-decoration: underline;
}

.comments-form-wrap {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.comments-form-col {
    flex: 1 1 60%;
    min-width: 280px;
}

.comments-textarea {
    resize: vertical;
    min-height: 110px;
}

.comments-form-col .form-submit {
    margin: .75rem 0 0;
    text-align: right;
}

.comments-disclaimer-col {
    flex: 1 1 260px;
    max-width: 320px;
}

.comments-disclaimer {
    margin: 0;
    font-style: italic;
    font-size: .85rem;
    line-height: 1.6;
    color: #6c757d;
}

/* Newsletter signup bar under comments (UI only, no subscription logic) */
.comments-newsletter-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
    padding: 1.5rem;
    background-color: #f2f2f2;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .comments-newsletter-bar {
        flex-wrap: wrap;
    }
}

.comments-newsletter-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #c80114;
    color: #fff;
    font-size: 1.75rem;
}

.comments-newsletter-text {
    flex: 1 1 0%;
    min-width: 0;
}

.comments-newsletter-heading {
    margin: 0 0 .25rem;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #212529;
}

.comments-newsletter-desc {
    margin: 0;
    font-size: .9rem;
    color: #555;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .comments-newsletter-desc {
        white-space: normal;
    }
}

.comments-newsletter-action {
    flex: 0 0 auto;
}

.comments-newsletter-btn {
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .comments-newsletter-action {
        flex-basis: 100%;
        width: 100%;
        margin-top: .5rem;
    }

    .comments-newsletter-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}






























































































































































































































































































/* Make sure sidebar login area spacing is pleasant */
.sidebar-login { margin-top: 1rem; }

/* Small screens: adjust thumbnail stacking */
@media (max-width: 767px) {
    .archive-thumb-link { flex: 0 0 120px; }
    .archive-thumb-link img { width: 120px; }
    .archive-thumb-placeholder { width: 120px; height: 90px; }
}

/* End archive styles */
























































































































































































































































































































.post-content::after {
    content: "";
    display: table;
    clear: both;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content .alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.post-content .alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.post-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.post-content .alignnone {
    margin: 0.5rem 0 1rem;
}

.post-content .wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.post-content .wp-caption img {
    display: block;
    margin: 0 auto;
}

.post-content .wp-caption.alignleft,
.post-content .wp-caption.alignright,
.post-content .wp-caption.aligncenter {
    margin-bottom: 1rem;
}

.post-content .wp-caption-text,
.post-content figcaption {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    padding: 0.5rem 0;
}

.post-content figure {
    margin: 0 0 1rem;
    max-width: 100%;
}

.post-content figure.alignleft,
.post-content figure.alignright,
.post-content figure.aligncenter {
    margin-bottom: 1rem;
}

.post-content .wp-block-image {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.post-content .has-text-align-left {
    text-align: left;
}

.post-content .has-text-align-center {
    text-align: center;
}

.post-content .has-text-align-right {
    text-align: right;
}

.post-content blockquote {
    margin: 1.5rem 0;
    padding: 0.5rem 1.5rem;
    border-left: 4px solid #d4d4d4;
    color: #495057;
    font-style: italic;
}

.post-content table {
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.post-content table th,
.post-content table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
}

.post-content .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
    list-style: none;
    padding: 0;
}

.post-content .gallery-item {
    margin: 0;
}

.post-content .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.post-content .gallery-caption {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}
