:root {
    --dm-primary: #1A1A1A;
    --dm-secondary: #555555;
    --dm-accent: #A82424;
    --dm-background: #F9F7F2;
    --dm-surface: #FFFFFF;
    --dm-text-main: #1A1A1A;
    --dm-text-muted: #666666;
    --dm-border: #D1D1D1;
    --dm-divider: #E0E0E0;
    --dm-heading-font: 'Playfair Display', serif;
    --dm-body-font: 'PT Serif', serif;
    --dm-ui-font: 'Roboto', sans-serif;
}

.newspaper-layout-theme {
    background-color: var(--dm-background);
    color: var(--dm-text-main);
    font-family: var(--dm-body-font);
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--dm-text-muted) !important;
}

.dm-editorial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.dm-transition {
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dm-btn-primary {
    background-color: var(--dm-primary);
    color: var(--dm-surface);
    font-family: var(--dm-ui-font);
    text-transform: uppercase;
    border-radius: 0;
    padding: 12px 24px;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dm-btn-primary:hover {
    background-color: var(--dm-accent);
    color: var(--dm-surface);
    letter-spacing: 1px;
}

.dm-serif-heading {
    font-family: var(--dm-heading-font);
    font-weight: 700;
    color: var(--dm-primary);
}

.dm-divider-hairline {
    border-top: 1px solid var(--dm-border);
    margin: 40px 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== header ===== */
.dm-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D1D1D1;
    z-index: 1050;
    transition: all 0.3s ease;
}

.dm-header.dm-header--scrolled {
    background-color: #F9F7F2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-top-bar {
    background-color: #F9F7F2;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.dm-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dm-logo-img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.dm-header .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.dm-header .nav-link:hover {
    color: #A82424 !important;
}

.dm-header .dropdown-menu {
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}

.dm-header .dropdown-item {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 12px 20px;
    color: #1A1A1A;
    text-transform: uppercase;
    border-bottom: 1px solid #E0E0E0;
}

.dm-header .dropdown-item:last-child {
    border-bottom: none;
}

.dm-header .dropdown-item:hover {
    background-color: #F9F7F2;
    color: #A82424;
}

.dm-btn-premium {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-radius: 0;
    padding: 10px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.dm-btn-premium:hover {
    background-color: #A82424;
}

@media (max-width: 991.98px) {
    .dm-brand-name {
        font-size: 20px;
    }

    .dm-header .navbar-collapse {
        background-color: #FFFFFF;
        padding: 20px 0;
        border-top: 1px solid #E0E0E0;
        margin-top: 15px;
    }

    .dm-header .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #F0F0F0;
    }

    .dm-btn-premium {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
}

/* ===== hero ===== */
.hero-editorial {
    background-color: #F9F7F2;
    color: #1A1A1A;
    font-family: 'PT Serif', serif;
}

.hero-editorial-main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #1A1A1A;
    margin: 0;
}

.hero-editorial-cta {
    border-radius: 0;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-editorial-cta:hover {
    background-color: #A82424;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.hero-editorial-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    background-color: #1A1A1A;
}

.featured-card {
    height: 600px;
}

.hero-editorial-link-wrapper {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.hero-editorial-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-editorial-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-editorial-card:hover .hero-editorial-bg {
    transform: scale(1.05);
}

.hero-editorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.4) 50%, transparent 100%);
}

.hero-editorial-overlay-soft {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.3);
    transition: background 0.3s ease;
}

.hero-editorial-card:hover .hero-editorial-overlay-soft {
    background: rgba(26, 26, 26, 0.5);
}

.hero-editorial-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.hero-editorial-badge {
    background-color: #A82424;
    color: #FFFFFF;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 5px 10px;
}

.hero-editorial-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0;
}

.hero-editorial-title-sm {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.hero-editorial-meta,
.hero-editorial-meta-sm {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
}

.hero-editorial-sidebar {
    background: #FFFFFF;
    padding: 25px;
    border: 1px solid #E0E0E0;
}

.hero-editorial-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    position: relative;
    padding-bottom: 5px;
}

.hero-editorial-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #A82424;
}

.hero-editorial-nav button {
    background: none;
    border: 1px solid #D1D1D1;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666666;
    transition: all 0.2s ease;
}

.hero-editorial-nav button:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-color: #1A1A1A;
}

.hero-editorial-sidebar-list {
    max-height: 500px;
    overflow-y: hidden;
}

.hero-editorial-sidebar-item {
    padding: 15px 0;
    border-bottom: 1px solid #F0F0F0;
}

.hero-editorial-sidebar-item:last-child {
    border-bottom: none;
}

.hero-editorial-tag {
    display: block;
    color: #A82424;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hero-editorial-sidebar-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-editorial-sidebar-item a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-editorial-sidebar-item a:hover {
    color: #A82424;
}

.hero-editorial-sidebar-item p {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 5px;
    line-height: 1.4;
}

.hero-editorial-sidebar-item small {
    color: #999999;
    font-size: 0.75rem;
}

@media (max-width: 991px) {
    .featured-card {
        height: 400px;
    }

    .hero-editorial-main-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .hero-editorial-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-editorial-main-title {
        font-size: 1.5rem;
    }

    .featured-card {
        height: 350px;
    }

    .hero-editorial-sidebar-list {
        max-height: none;
    }
}

/* ===== latest_news ===== */
.latest-news-section {
    background-color: #F9F7F2;
    padding: 80px 0;
    overflow: hidden
}

.latest-news-header {
    text-align: center;
    margin-bottom: 50px
}

.latest-news-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: #1A1A1A;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 15px
}

.latest-news-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #A82424
}

.latest-news-subtitle {
    font-family: 'PT Serif', serif;
    font-size: 16px;
    color: #555555;
    max-width: 600px;
    margin: 0 auto
}

.latest-news-card {
    background-color: #FFFFFF;
    border: 0.5px solid #D1D1D1;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease
}

.latest-news-card:hover {
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.08)
}

.latest-news-img-box {
    position: relative;
    height: 240px;
    overflow: hidden
}

.latest-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1)
}

.latest-news-card:hover .latest-news-img {
    transform: scale(1.05)
}

.latest-news-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 6px 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 2;
    transition: background-color 0.3s ease
}

.latest-news-badge:hover {
    background-color: #A82424;
    color: #FFFFFF
}

.latest-news-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.latest-news-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #666666;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.latest-news-meta i {
    color: #A82424;
    margin-right: 5px
}

.latest-news-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px
}

.latest-news-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease
}

.latest-news-title a:hover {
    color: #A82424
}

.latest-news-link {
    margin-top: auto;
    display: inline-block;
    padding: 12px 24px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease
}

.latest-news-link:hover {
    background-color: #A82424;
    color: #FFFFFF
}

@media (max-width:767px) {
    .latest-news-section {
        padding: 50px 0
    }

    .latest-news-main-title {
        font-size: 28px
    }

    .latest-news-title {
        font-size: 18px
    }

    .latest-news-img-box {
        height: 200px
    }
}

/* ===== home_hacks ===== */
.home-hacks-block {
    background-color: #F9F7F2;
    padding: 100px 0;
    overflow: hidden;
}

.home-hacks-block .section-category {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #A82424;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.home-hacks-block .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 32px;
    color: #1A1A1A;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.home-hacks-block .section-divider {
    width: 60px;
    height: 2px;
    background-color: #1A1A1A;
    margin: 0 auto 40px;
}

.home-hacks-block .hacks-card {
    background: #FFFFFF;
    border: 0.5px solid #D1D1D1;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.home-hacks-block .hacks-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
}

.home-hacks-block .hacks-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.home-hacks-block .hacks-card:hover .hacks-image-wrapper img {
    opacity: 0.85;
}

.home-hacks-block .hacks-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-hacks-block .hacks-meta-date {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #666666;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.home-hacks-block .hacks-headline {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.home-hacks-block .hacks-link {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s;
}

.home-hacks-block .hacks-link:hover {
    color: #A82424;
}

.home-hacks-block .hacks-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.home-hacks-block .hacks-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.home-hacks-block .hacks-btn:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .home-hacks-block {
        padding: 60px 0;
    }

    .home-hacks-block .section-title {
        font-size: 24px !important;
    }

    .home-hacks-block .hacks-headline {
        font-size: 16px !important;
    }

    .home-hacks-block h2 {
        font-size: 16px !important;
    }

    .home-hacks-block h3 {
        font-size: 14px !important;
    }
}

/* ===== health_beauty ===== */
.health-beauty-section {
    background-color: #F9F7F2;
    padding: 80px 0;
    color: #1A1A1A;
    overflow: hidden;
}

.health-beauty-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.health-beauty-section .divider-line {
    width: 60px;
    height: 2px;
    background-color: #A82424;
    margin-bottom: 20px;
}

.health-beauty-section .section-subtitle {
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    color: #555555;
}

.health-beauty-section .filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.health-beauty-section .btn-filter {
    background: #FFFFFF;
    border: 1px solid #D1D1D1;
    padding: 10px 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 0;
    cursor: pointer;
    color: #1A1A1A;
}

.health-beauty-section .btn-filter.active,
.health-beauty-section .btn-filter:hover {
    background: #1A1A1A;
    color: #FFFFFF;
    border-color: #1A1A1A;
}

.health-beauty-section .health-card {
    background: #FFFFFF;
    border: 0.5px solid #D1D1D1;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
    border-radius: 0;
    position: relative;
}

.health-beauty-section .health-card:hover {
    transform: translateY(-8px);
}

.health-beauty-section .card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.health-beauty-section .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease;
}

.health-beauty-section .card-link-img:hover .card-img {
    opacity: 0.85;
}

.health-beauty-section .category-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #A82424;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    text-transform: uppercase;
}

.health-beauty-section .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.health-beauty-section .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.health-beauty-section .card-title-link {
    text-decoration: none;
}

.health-beauty-section .card-title-link:hover .card-title {
    color: #A82424;
}

.health-beauty-section .card-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #666666;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: auto;
}

.health-beauty-section .card-meta i {
    color: #A82424;
    margin-right: 5px;
}

.health-beauty-section .btn-action {
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.3s ease;
    border-radius: 0;
}

.health-beauty-section .btn-action:hover {
    background: #333333;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .health-beauty-section {
        padding: 50px 0;
    }

    .health-beauty-section .section-title {
        font-size: 1.8rem;
    }

    .health-beauty-section .btn-filter {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

/* ===== newsletter ===== */
.newsletter-block {
    background-color: #F9F7F2;
    padding: 80px 0;
    border-top: 1px solid #D1D1D1;
    border-bottom: 1px solid #D1D1D1;
}

.newsletter-block .newsletter-container {
    position: relative;
    z-index: 1;
}

.newsletter-block .newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.newsletter-block .newsletter-text {
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
    max-width: 500px;
}

.newsletter-block .newsletter-form-wrapper {
    background: #FFFFFF;
    padding: 40px;
    border: 1px solid #D1D1D1;
}

.newsletter-block .newsletter-field-group {
    margin-bottom: 20px;
}

.newsletter-block .newsletter-label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1A1A1A;
    margin-bottom: 8px;
    font-weight: 500;
}

.newsletter-block .newsletter-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #D1D1D1;
    padding: 10px 0;
    font-family: 'PT Serif', serif;
    font-size: 1rem;
    color: #1A1A1A;
    background: transparent;
    transition: border-color 0.3s ease;
}

.newsletter-block .newsletter-input:focus {
    outline: none;
    border-color: #A82424;
}

.newsletter-block .newsletter-input::placeholder {
    color: #A0A0A0;
    font-style: italic;
}

.newsletter-block .newsletter-submit-btn {
    width: 100%;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.newsletter-block .newsletter-submit-btn:hover {
    background-color: #A82424;
    letter-spacing: 2.5px;
}

@media (max-width: 991px) {
    .newsletter-block {
        padding: 60px 0;
    }

    .newsletter-block .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-block .newsletter-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .newsletter-block .newsletter-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .newsletter-block .newsletter-title {
        font-size: 1.5rem;
    }
}

/* ===== footer ===== */
.domowy-magazyn-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

.domowy-magazyn-footer .disclaimer-box {
    border: 1px solid #A82424;
    background-color: rgba(168, 36, 36, 0.05);
    border-radius: 0;
}

.domowy-magazyn-footer .disclaimer-title {
    color: #A82424;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.domowy-magazyn-footer .disclaimer-text {
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.domowy-magazyn-footer .footer-logo {
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

.domowy-magazyn-footer .footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #FFFFFF;
}

.domowy-magazyn-footer .footer-brand-desc {
    font-family: 'PT Serif', serif;
    color: #D1D1D1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.domowy-magazyn-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A82424;
    border-bottom: 1px solid #A82424;
    padding-bottom: 10px;
    display: inline-block;
}

.domowy-magazyn-footer .footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
    padding: 4px 0;
}

.domowy-magazyn-footer .footer-link:hover {
    color: #A82424;
    padding-left: 5px;
}

.domowy-magazyn-footer .footer-nav li {
    margin-bottom: 8px;
}

.domowy-magazyn-footer .footer-contact i {
    color: #A82424;
    width: 20px;
}

.domowy-magazyn-footer .footer-text {
    font-size: 0.9rem;
    color: #D1D1D1;
}

.domowy-magazyn-footer .footer-divider {
    height: 1px;
    background-color: #555555;
}

.domowy-magazyn-footer .footer-legal-text,
.domowy-magazyn-footer .footer-copyright {
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .domowy-magazyn-footer .footer-heading {
        margin-top: 20px;
    }

    .domowy-magazyn-footer .footer-bottom-info {
        text-align: center;
    }

    .domowy-magazyn-footer .footer-legal-text {
        margin-bottom: 15px;
    }
}

.dm-repeat-theme {
    background-color: #F9F7F2;
    color: #1A1A1A;
    font-family: 'PT Serif', serif;
    overflow-x: hidden;
}

.dm-hero {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D1D1D1;
}

.dm-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #1A1A1A;
    font-size: 2.5rem;
}

.dm-hero-subtitle {
    font-size: 1.1rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
}

.dm-search-wrapper {
    position: relative;
}

.dm-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
}

.dm-search-wrapper .form-control {
    padding-left: 40px;
    border-radius: 0;
    border: 1px solid #D1D1D1;
    background-color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

.dm-filter-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}

.dm-article-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dm-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.dm-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.dm-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.dm-article-card:hover .dm-card-img-wrapper img {
    opacity: 0.9;
}

.dm-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #A82424;
    color: #FFFFFF;
    padding: 4px 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dm-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

.dm-card-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dm-card-title a:hover {
    color: #A82424;
}

.dm-card-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #666666;
    border-top: 1px solid #F0F0F0;
    padding-top: 10px;
}

.dm-btn-more {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    width: fit-content;
}

.dm-btn-more:hover {
    background-color: #A82424;
}

.dm-no-results h3 {
    color: #A82424;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .dm-hero-title {
        font-size: 1.5rem;
    }

    .dm-hero-subtitle {
        font-size: 0.9rem;
    }
}


/* ===== PAGE: about ===== */
.dm-about-container {
  background-color: #F9F7F2;
  color: #1A1A1A;
  font-family: 'PT Serif', serif;
}

.dm-about-container .dm-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #1A1A1A;
  line-height: 1.2;
}

.dm-about-container .dm-lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  color: #555555;
}

.dm-about-container .dm-newspaper-columns {
  column-count: 1;
  column-gap: 2rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .dm-about-container .dm-newspaper-columns {
    column-count: 2;
  }
}

.dm-about-container .dm-image-wrapper {
  position: relative;
  border: 1px solid #D1D1D1;
  padding: 10px;
  background: #fff;
}

.dm-about-container .dm-divider {
  height: 1px;
  background: #D1D1D1;
  width: 100%;
}

.dm-about-container .dm-info-card {
  background: #fff;
  border-color: #E0E0E0 !important;
  transition: transform 0.3s ease;
}

.dm-about-container .dm-info-card:hover {
  transform: translateY(-5px);
}

.dm-about-container .text-accent {
  color: #A82424;
}

.dm-contact-container {
  background-color: #F9F7F2;
}

.dm-contact-container .dm-contact-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1A1A;
}

.dm-contact-container .dm-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #A82424;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dm-contact-container .dm-form .form-control {
  border: none;
  border-bottom: 1px solid #D1D1D1 !important;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent !important;
}

.dm-contact-container .dm-form .form-control:focus {
  border-bottom-color: #A82424 !important;
}

.dm-contact-container .dm-form .form-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #666666;
  margin-left: 0;
}

.dm-contact-container .btn-primary {
  background-color: #1A1A1A !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.dm-contact-container .btn-primary:hover {
  background-color: #A82424 !important;
}

.dm-contact-container .dm-wa-btn {
  border: none !important;
  font-family: 'Roboto', sans-serif;
}

@media (max-width: 767px) {
  .dm-about-container .dm-section-title {
    font-size: 1.5rem;
  }
  .dm-about-container .dm-lead-text {
    font-size: 1.1rem;
  }
}

/* ===== PAGE: premium-subscription ===== */
.subscription-section {
  background-color: #F9F7F2;
  color: #1A1A1A;
  font-family: 'PT Serif', serif;
}

.subscription-section .subscription-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #1A1A1A;
}

.subscription-section .subscription-lead {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.6;
}

.subscription-section .pricing-card {
  background: #FFFFFF;
  border: 1px solid #D1D1D1;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.subscription-section .pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.subscription-section .pricing-card.selected {
  border: 2px solid #A82424;
}

.subscription-section .pricing-card.featured {
  border-color: #A82424;
}

.subscription-section .pricing-card-header {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
}

.subscription-section .pricing-icon {
  font-size: 2rem;
  color: #A82424;
  margin-bottom: 1rem;
}

.subscription-section .pricing-plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #1A1A1A;
}

.subscription-section .pricing-price {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
}

.subscription-section .pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.subscription-section .pricing-price .period {
  font-size: 1rem;
  color: #666666;
}

.subscription-section .pricing-card-body {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.subscription-section .pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.subscription-section .pricing-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.subscription-section .pricing-features li i {
  color: #A82424;
  margin-right: 10px;
  width: 20px;
}

.subscription-section .pricing-features li.muted {
  color: #D1D1D1;
}

.subscription-section .pricing-features li.muted i {
  color: #D1D1D1;
}

.subscription-section .badge-featured {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #A82424;
  color: #FFFFFF;
  padding: 5px 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.subscription-section .btn-select-plan {
  background-color: #FFFFFF;
  border: 2px solid #1A1A1A;
  color: #1A1A1A;
  padding: 12px 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.subscription-section .pricing-card.selected .btn-select-plan,
.subscription-section .btn-select-plan:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

.subscription-section .subscription-form-container {
  background: #FFFFFF;
  border: 1px solid #D1D1D1;
}

.subscription-section .selected-plan-text {
  font-size: 1.1rem;
  color: #555555;
}

.subscription-section .btn-submit-subscription {
  background-color: #A82424;
  color: #FFFFFF;
  border: none;
  padding: 18px 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease;
}

.subscription-section .btn-submit-subscription:hover:not(:disabled) {
  background-color: #8E1E1E;
}

.subscription-section .btn-submit-subscription:disabled {
  background-color: #D1D1D1;
  cursor: not-allowed;
}

.subscription-section .form-disclaimer a {
  color: #A82424;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .subscription-section .subscription-title {
    font-size: 1.75rem;
  }
  .subscription-section .pricing-price .amount {
    font-size: 2rem;
  }
}

/* ===== PAGE: privacy ===== */
.privacy-content-block {
  background-color: #F9F7F2;
  font-family: 'PT Serif', serif;
  line-height: 1.6;
  color: #1A1A1A;
}

.privacy-content-block .privacy-card {
  border: 1px solid #D1D1D1;
  background-color: #FFFFFF;
}

.privacy-content-block .privacy-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 20px;
}

.privacy-content-block .privacy-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #A82424;
}

.privacy-content-block .uppercase-title {
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: #666666;
}

.privacy-content-block .privacy-toc {
  background-color: #F9F7F2;
  padding: 20px;
  border: 1px solid #E0E0E0;
}

.privacy-content-block .privacy-toc a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
}

.privacy-content-block .privacy-toc a:hover {
  color: #A82424;
}

.privacy-content-block h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1A1A;
}

.privacy-content-block p, 
.privacy-content-block li {
  color: #333333;
  font-size: 1.05rem;
}

.privacy-content-block hr {
  border-color: #D1D1D1;
  opacity: 1;
}

.privacy-content-block ul li {
  margin-bottom: 8px;
  position: relative;
  list-style: none;
  padding-left: 20px;
}

.privacy-content-block ul li::before {
  content: '\f111';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 6px;
  position: absolute;
  left: 0;
  top: 10px;
  color: #A82424;
}

@media (max-width: 768px) {
  .privacy-content-block .privacy-title {
    font-size: 24px;
  }
  .privacy-content-block .privacy-card {
    padding: 20px !important;
  }
  .privacy-content-block h2 {
    font-size: 20px;
  }
}

/* ===== PAGE: terms ===== */
.terms-content-section { background-color: #F9F7F2; min-height: 80vh; }
.terms-content-section .terms-sidebar { background-color: #FFFFFF; border: 1px solid #D1D1D1; }
.terms-content-section .terms-sidebar-title { font-family: 'Playfair Display', serif; font-weight: 700; color: #1A1A1A; border-bottom: 2px solid #A82424; display: inline-block; padding-bottom: 5px; }
.terms-content-section .terms-nav-link { color: #555555; text-decoration: none; font-family: 'Roboto', sans-serif; font-size: 0.9rem; transition: color 0.3s ease; }
.terms-content-section .terms-nav-link:hover { color: #A82424; }
.terms-content-section .terms-article { border-top: 5px solid #1A1A1A; }
.terms-content-section h1 { font-family: 'Playfair Display', serif; color: #1A1A1A; letter-spacing: 1px; line-height: 1.2; }
.terms-content-section h2 { font-family: 'Playfair Display', serif; color: #1A1A1A; border-left: 3px solid #A82424; padding-left: 15px; margin-top: 40px; }
.terms-content-section p, .terms-content-section li { font-family: 'PT Serif', serif; color: #1A1A1A; line-height: 1.8; margin-bottom: 1.2rem; }
.terms-content-section ul { padding-left: 20px; }
.terms-content-section .btn-dark { background-color: #1A1A1A; color: #FFFFFF; transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); border: none; }
.terms-content-section .btn-dark:hover { background-color: #A82424; letter-spacing: 1px; }
@media (max-width: 768px) {
  .terms-content-section h1 { font-size: 1.8rem; }
  .terms-content-section h2 { font-size: 1.4rem; }
  .terms-content-section .terms-article { padding: 20px !important; }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-section {
    background-color: #F9F7F2;
    padding: 80px 0;
    font-family: 'PT Serif', serif;
    color: #1A1A1A;
}

.disclaimer-section .disclaimer-article {
    background-color: #FFFFFF;
    padding: 60px;
    border: 1px solid #D1D1D1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
}

.disclaimer-section .disclaimer-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: #1A1A1A;
}

.disclaimer-section .disclaimer-breadcrumb {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #A82424;
    margin-bottom: 20px;
}

.disclaimer-section .disclaimer-divider {
    width: 60px;
    height: 4px;
    background-color: #1A1A1A;
    margin: 0 auto 40px;
    opacity: 1;
}

.disclaimer-section .disclaimer-sub-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.disclaimer-section .disclaimer-body p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.disclaimer-section .disclaimer-footer {
    border-top: 1px solid #D1D1D1;
}

.disclaimer-section .btn-outline-dark {
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.disclaimer-section .btn-outline-dark:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .disclaimer-section {
        padding: 40px 0;
    }
    .disclaimer-section .disclaimer-article {
        padding: 30px 20px;
    }
    .disclaimer-section .disclaimer-title {
        font-size: 1.8rem;
    }
    .disclaimer-section .disclaimer-body p {
        text-align: left;
    }
}

/* ===== PAGE: cookies ===== */
.cookies-page-content { background-color: #F9F7F2; color: #1A1A1A; font-family: 'PT Serif', serif; }
.cookies-page-content .cookies-main-title { font-family: 'Playfair Display', serif; font-weight: 700; color: #1A1A1A; font-size: 2.5rem; }
.cookies-page-content .cookies-divider { width: 60px; height: 3px; background-color: #A82424; }
.cookies-page-content .cookies-date { font-family: 'Roboto', sans-serif; font-size: 0.8rem; letter-spacing: 2px; color: #666666; }
.cookies-page-content h2 { font-family: 'Playfair Display', serif; font-weight: 700; color: #1A1A1A; margin-bottom: 1.5rem; position: relative; }
.cookies-page-content .cookies-sidebar { background: #FFFFFF; border-left: 4px solid #1A1A1A; }
.cookies-page-content .js-cookies-nav a { font-family: 'Roboto', sans-serif; font-weight: 500; transition: color 0.3s ease; border-bottom: 1px solid transparent; }
.cookies-page-content .js-cookies-nav a:hover { color: #A82424 !important; border-bottom: 1px solid #A82424; }
.cookies-page-content .cookies-text-body p { line-height: 1.8; margin-bottom: 1.25rem; font-size: 1.1rem; }
.cookies-page-content .table { font-family: 'Roboto', sans-serif; font-size: 0.95rem; background: #FFFFFF; }
.cookies-page-content hr { border-top: 1px solid #D1D1D1; opacity: 1; }
.cookies-page-content .cookies-action-box { border: 1px dashed #D1D1D1; }
.cookies-page-content .btn-dark { background-color: #1A1A1A; border: none; font-family: 'Roboto', sans-serif; letter-spacing: 1px; transition: all 0.3s ease; }
.cookies-page-content .btn-dark:hover { background-color: #A82424; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
@media (max-width: 768px) {
  .cookies-page-content .cookies-main-title { font-size: 1.8rem; }
  .cookies-page-content .cookies-sidebar { border-left: none; border-top: 4px solid #1A1A1A; margin-bottom: 2rem; }
}

.main-comment-card {
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
    padding: 24px;
    position: relative;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #1A1A1A;
    border-radius: 0;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1A1A1A;
    font-size: 1.15rem;
    text-transform: none;
}

.comment-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.comment-content {
    font-family: 'PT Serif', serif;
    color: #1A1A1A;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 12px;
}

.comment-action {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #A82424;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
    letter-spacing: 0.5px;
}

.comment-action:hover {
    color: #1A1A1A;
    opacity: 0.8;
}

.reply-comment-card {
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
    border-left: 4px solid #A82424;
    padding: 20px;
    position: relative;
}

.reply-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #1A1A1A;
    border-radius: 0;
}

.reply-comment-card::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #D1D1D1;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1A1A1A;
    font-size: 1.05rem;
}

.comment-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.65rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.comment-content {
    font-family: 'PT Serif', serif;
    color: #1A1A1A;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 10px;
}

.comment-action {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    color: #A82424;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}


/* ===== PAGE TEMPLATE: news-list ===== */
.dm-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D1D1D1;
    z-index: 1050;
    transition: all 0.3s ease;
}

.dm-header.dm-header--scrolled {
    background-color: #F9F7F2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-top-bar {
    background-color: #F9F7F2;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.dm-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dm-logo-img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.dm-header .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.dm-header .nav-link:hover {
    color: #A82424 !important;
}

.dm-header .dropdown-menu {
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}

.dm-header .dropdown-item {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 12px 20px;
    color: #1A1A1A;
    text-transform: uppercase;
    border-bottom: 1px solid #E0E0E0;
}

.dm-header .dropdown-item:last-child {
    border-bottom: none;
}

.dm-header .dropdown-item:hover {
    background-color: #F9F7F2;
    color: #A82424;
}

.dm-btn-premium {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-radius: 0;
    padding: 10px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border: none;
}

.dm-btn-premium:hover {
    background-color: #A82424;
}

.domowy-magazyn-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

.domowy-magazyn-footer .disclaimer-box {
    border: 1px solid #A82424;
    background-color: rgba(168, 36, 36, 0.05);
    border-radius: 0;
}

.domowy-magazyn-footer .disclaimer-title {
    color: #A82424;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.domowy-magazyn-footer .disclaimer-text {
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.domowy-magazyn-footer .footer-logo {
    max-width: 50px;
    height: auto;
}

.domowy-magazyn-footer .footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

.domowy-magazyn-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A82424;
    border-bottom: 1px solid #A82424;
    padding-bottom: 10px;
    display: inline-block;
}

.domowy-magazyn-footer .footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.domowy-magazyn-footer .footer-link:hover {
    color: #A82424;
    padding-left: 5px;
}

.dm-detail-wrapper {
    background-color: #F9F7F2;
    font-family: 'PT Serif', serif;
}

.dm-article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.2;
}

.dm-article-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.dm-article-content-body h2,
.dm-article-content-body h3 {
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-tabs .nav-tabs {
    border-bottom: 2px solid #1A1A1A;
}

.article-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #555;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 13px;
}

.article-tabs .nav-link.active {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.comment-avatar,
.reply-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.comment-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.comment-action {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #A82424;
    text-decoration: none;
}

.comment-action:hover {
    text-decoration: underline;
}

.sidebar-widget .widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #A82424;
}

.x-small {
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .dm-brand-name {
        font-size: 20px;
    }

    .dm-article-title {
        font-size: 1.8rem;
    }
}

/* ===== site-wide fixes ===== */
.domowy-magazyn-footer .footer-logo {
    filter: brightness(0) invert(1);
}

.dm-privacy-consent {
    margin: 18px 0;
    font-family: var(--dm-ui-font);
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--dm-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0 !important;
}

.dm-privacy-consent a {
    color: var(--dm-accent);
    font-weight: 700;
}

.dm-privacy-consent .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    float: none !important;
    margin: 2px 0 0 0 !important;
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    border-radius: 0;
    border-color: var(--dm-primary);
    box-shadow: none !important;
    cursor: pointer;
    background-color: #FFFFFF;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.dm-privacy-consent .form-check-input:checked {
    background-color: var(--dm-accent);
    border-color: var(--dm-accent);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M3 8l3 3l7-7'/%3e%3c/svg%3e");
}

.dm-privacy-consent .form-check-input::before,
.dm-privacy-consent .form-check-input::after {
    display: none !important;
}

.dm-privacy-consent .form-check-label {
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.comment-action.is-liked,
.comment-action.is-liked i {
    color: var(--dm-accent);
}

.reply-context {
    border: 1px solid var(--dm-border);
    border-left: 4px solid var(--dm-accent);
    background: #F9F7F2;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-family: var(--dm-ui-font);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.reply-cancel {
    border: 0;
    background: transparent;
    color: var(--dm-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.comment-reply-note {
    font-family: var(--dm-ui-font);
    color: var(--dm-text-muted);
    font-size: 0.78rem;
    margin-top: 4px;
}

.comment-rating {
    color: #A82424;
    letter-spacing: 2px;
    margin-top: 6px;
}

.hacks-summary {
    font-family: var(--dm-body-font);
    color: var(--dm-text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: -8px 0 20px;
}

.dm-contact-form-wrapper input,
.dm-contact-form-wrapper textarea {
    padding: 5px !important;
}

.dm-company-details {
    background: #F9F7F2;
    border: 1px solid var(--dm-border);
    border-left: 4px solid var(--dm-accent);
}

.subscription-email-field label {
    font-family: var(--dm-ui-font);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dm-primary);
    font-weight: 700;
}

.subscription-email-field input {
    border: 1px solid var(--dm-border);
    padding: 12px 14px;
    font-family: var(--dm-ui-font);
}

.privacy-content-block,
.terms-content-section,
.disclaimer-section,
.cookies-page-content {
    background-color: #F9F7F2;
    color: var(--dm-text-main);
}

.privacy-content-block .privacy-card,
.terms-content-section .terms-article,
.disclaimer-section .disclaimer-article,
.cookies-page-content .cookies-article {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: #FFFFFF;
    border: 1px solid var(--dm-divider);
    box-shadow: 0 8px 28px rgba(26, 26, 26, 0.06);
    padding: 48px;
}

.terms-content-section .row,
.cookies-page-content .row,
.disclaimer-section .row {
    justify-content: center;
}

.terms-content-section aside,
.cookies-page-content .col-md-4 {
    display: none !important;
}

.terms-content-section .col-lg-8,
.cookies-page-content .col-md-8,
.disclaimer-section .col-12.col-lg-10 {
    width: 100%;
    max-width: 920px;
    flex: 0 0 100%;
}

.privacy-content-block h1,
.terms-content-section h1,
.disclaimer-section .disclaimer-title,
.cookies-page-content .cookies-main-title {
    font-family: var(--dm-heading-font);
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--dm-primary);
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 2.5rem;
}

.privacy-content-block h1::after,
.terms-content-section h1::after,
.disclaimer-section .disclaimer-title::after,
.cookies-page-content .cookies-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--dm-accent);
    margin: 18px auto 0;
}

.privacy-content-block h2,
.terms-content-section h2,
.disclaimer-section .disclaimer-sub-title,
.cookies-page-content h2 {
    font-family: var(--dm-heading-font);
    color: var(--dm-primary);
    font-size: 1.35rem;
    font-weight: 700;
    border-left: 0;
    padding-left: 0;
    margin: 2rem 0 1rem;
}

.privacy-content-block p,
.privacy-content-block li,
.terms-content-section p,
.terms-content-section li,
.disclaimer-section .disclaimer-body p,
.cookies-page-content p,
.cookies-page-content li {
    font-family: var(--dm-body-font);
    color: #333333;
    font-size: 1.08rem;
    line-height: 1.8;
}

.privacy-content-block ul,
.terms-content-section ul,
.cookies-page-content ul {
    list-style: none;
    padding-left: 0;
}

.privacy-content-block ul li,
.terms-content-section ul li,
.cookies-page-content ul li {
    position: relative;
    padding-left: 28px;
}

.privacy-content-block ul li::before,
.terms-content-section ul li::before,
.cookies-page-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--dm-accent);
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 0.78rem;
}

.disclaimer-section .disclaimer-body .row {
    display: block;
}

.disclaimer-section .disclaimer-body [class*="col-"] {
    width: 100%;
    max-width: none;
}

.disclaimer-section .disclaimer-breadcrumb,
.disclaimer-section .disclaimer-divider,
.cookies-page-content .cookies-divider,
.cookies-page-content .cookies-date {
    display: none;
}

@media (max-width: 768px) {
    .privacy-content-block .privacy-card,
    .terms-content-section .terms-article,
    .disclaimer-section .disclaimer-article,
    .cookies-page-content .cookies-article {
        padding: 30px 20px;
    }

    .privacy-content-block h1,
    .terms-content-section h1,
    .disclaimer-section .disclaimer-title,
    .cookies-page-content .cookies-main-title {
        font-size: 1.8rem;
    }
}

/* ===== PAGE TEMPLATE: home-hacks-list ===== */
.dm-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D1D1D1;
    z-index: 1050;
    transition: all 0.3s ease;
}

.dm-header.dm-header--scrolled {
    background-color: #F9F7F2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-top-bar {
    background-color: #F9F7F2;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.dm-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dm-logo-img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.dm-header .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.dm-header .nav-link:hover {
    color: #A82424 !important;
}

.dm-header .dropdown-menu {
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}

.dm-header .dropdown-item {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 12px 20px;
    color: #1A1A1A;
    text-transform: uppercase;
    border-bottom: 1px solid #E0E0E0;
}

.dm-header .dropdown-item:last-child {
    border-bottom: none;
}

.dm-header .dropdown-item:hover {
    background-color: #F9F7F2;
    color: #A82424;
}

.dm-btn-premium {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-radius: 0;
    padding: 10px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border: none;
}

.dm-btn-premium:hover {
    background-color: #A82424;
}

.domowy-magazyn-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

.domowy-magazyn-footer .disclaimer-box {
    border: 1px solid #A82424;
    background-color: rgba(168, 36, 36, 0.05);
    border-radius: 0;
}

.domowy-magazyn-footer .disclaimer-title {
    color: #A82424;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.domowy-magazyn-footer .disclaimer-text {
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.domowy-magazyn-footer .footer-logo {
    max-width: 50px;
    height: auto;
}

.domowy-magazyn-footer .footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

.domowy-magazyn-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A82424;
    border-bottom: 1px solid #A82424;
    padding-bottom: 10px;
    display: inline-block;
}

.domowy-magazyn-footer .footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.domowy-magazyn-footer .footer-link:hover {
    color: #A82424;
    padding-left: 5px;
}

.dm-detail-wrapper {
    background-color: #F9F7F2;
    font-family: 'PT Serif', serif;
}

.dm-article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.2;
}

.dm-article-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.dm-article-content-body h2,
.dm-article-content-body h3 {
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-tabs .nav-tabs {
    border-bottom: 2px solid #1A1A1A;
}

.article-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #555;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 13px;
}

.article-tabs .nav-link.active {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.comment-avatar,
.reply-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.comment-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.comment-action {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #A82424;
    text-decoration: none;
}

.comment-action:hover {
    text-decoration: underline;
}

.sidebar-widget .widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #A82424;
}

.x-small {
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .dm-brand-name {
        font-size: 20px;
    }

    .dm-article-title {
        font-size: 1.8rem;
    }
}

/* ===== PAGE TEMPLATE: health-beauty-list ===== */
.dm-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D1D1D1;
    z-index: 1050;
    transition: all 0.3s ease;
}

.dm-header.dm-header--scrolled {
    background-color: #F9F7F2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-top-bar {
    background-color: #F9F7F2;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.dm-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dm-logo-img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.dm-header .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.dm-header .nav-link:hover {
    color: #A82424 !important;
}

.dm-header .dropdown-menu {
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}

.dm-header .dropdown-item {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 12px 20px;
    color: #1A1A1A;
    text-transform: uppercase;
    border-bottom: 1px solid #E0E0E0;
}

.dm-header .dropdown-item:last-child {
    border-bottom: none;
}

.dm-header .dropdown-item:hover {
    background-color: #F9F7F2;
    color: #A82424;
}

.dm-btn-premium {
    background-color: #1A1A1A;
    color: #FFFFFF !important;
    border-radius: 0;
    padding: 10px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border: none;
}

.dm-btn-premium:hover {
    background-color: #A82424;
}

.domowy-magazyn-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

.domowy-magazyn-footer .disclaimer-box {
    border: 1px solid #A82424;
    background-color: rgba(168, 36, 36, 0.05);
    border-radius: 0;
}

.domowy-magazyn-footer .disclaimer-title {
    color: #A82424;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.domowy-magazyn-footer .disclaimer-text {
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.domowy-magazyn-footer .footer-logo {
    max-width: 50px;
    height: auto;
}

.domowy-magazyn-footer .footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

.domowy-magazyn-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A82424;
    border-bottom: 1px solid #A82424;
    padding-bottom: 10px;
    display: inline-block;
}

.domowy-magazyn-footer .footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.domowy-magazyn-footer .footer-link:hover {
    color: #A82424;
    padding-left: 5px;
}

.dm-detail-wrapper {
    background-color: #F9F7F2;
    font-family: 'PT Serif', serif;
}

.dm-article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.2;
}

.dm-article-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.dm-article-content-body h2,
.dm-article-content-body h3 {
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-tabs .nav-tabs {
    border-bottom: 2px solid #1A1A1A;
}

.article-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #555;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 13px;
}

.article-tabs .nav-link.active {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.comment-avatar,
.reply-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.comment-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.comment-action {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #A82424;
    text-decoration: none;
}

.comment-action:hover {
    text-decoration: underline;
}

.sidebar-widget .widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #A82424;
}

.x-small {
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .dm-brand-name {
        font-size: 20px;
    }

    .dm-article-title {
        font-size: 1.8rem;
    }
}
