:root {
    --primary-text: #1A1A1A;
    --secondary-text: #666666;
    --background-main: #FFFFFF;
    --background-alt: #F9F9F9;
    --accent-primary: #FF3B30;
    --accent-secondary: #007AFF;
    --border-color: #EEEEEE;
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.rexv-main-layout {
    font-family: var(--font-body);
    color: var(--primary-text);
    background-color: var(--background-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 900;
    color: var(--primary-text);
}

.rexv-btn-editorial {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.rexv-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rexv-card-hover:hover {
    transform: translateY(-5px);
}

* {
    box-sizing: border-box;
}

/* ===== nagwek ===== */
.rexv-header {
    z-index: 1030;
    background-color: #FFFFFF;
}

.rexv-header .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #EEEEEE;
}

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

.rexv-header .rexv-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #1A1A1A;
    letter-spacing: -0.5px;
}

.rexv-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A1A !important;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.rexv-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FF3B30;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.rexv-header .nav-link:hover {
    color: #FF3B30 !important;
}

.rexv-header .nav-link:hover::after {
    width: 80%;
}

.rexv-header .nav-link.active {
    color: #FF3B30 !important;
}

.rexv-header .nav-link.active::after {
    width: 80%;
}

.rexv-header .navbar-toggler:focus {
    shadow: none;
    outline: none;
}

.rexv-header .navbar-toggler i {
    color: #1A1A1A;
}

@media (max-width: 991.98px) {
    .rexv-header .navbar-collapse {
        background-color: #FFFFFF;
        padding: 1.5rem 0;
        border-top: 1px solid #EEEEEE;
        margin-top: 1rem;
    }

    .rexv-header .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #F9F9F9;
    }

    .rexv-header .nav-link::after {
        display: none;
    }

    .rexv-header .nav-link:hover {
        padding-left: 10px;
    }
}

/* ===== odkryjnowoczesnystylycia ===== */
.rexv-hero-block {
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.rexv-hero-block .hero-featured-card {
    height: 500px;
    border-radius: 0px;
    background-color: #000;
}

.rexv-hero-block .hero-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s ease;
}

.rexv-hero-block .hero-featured-card:hover .hero-featured-img {
    transform: scale(1.05);
}

.rexv-hero-block .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.rexv-hero-block .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.rexv-hero-block .hero-title-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

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

    .rexv-hero-block .hero-featured-card {
        height: 350px;
    }
}

.rexv-hero-block .badge-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    color: #FFFFFF;
}

.rexv-hero-block .badge-style {
    background-color: #AF52DE;
}

.rexv-hero-block .badge-health {
    background-color: #FF2D55;
}

.rexv-hero-block .badge-productivity {
    background-color: #5856D6;
}

.rexv-hero-block .badge-digital {
    background-color: #5AC8FA;
}

.rexv-hero-block .sidebar-thumb {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.rexv-hero-block .sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rexv-hero-block .sidebar-item:hover .sidebar-thumb img {
    transform: scale(1.1);
}

.rexv-hero-block .sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.rexv-hero-block .sidebar-item:hover .sidebar-title {
    color: #FF3B30;
    text-decoration: underline;
}

.rexv-hero-block .hero-bottom-container {
    background-color: #F9F9F9;
    border-radius: 8px;
}

.rexv-hero-block .bottom-thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.rexv-hero-block .bottom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rexv-hero-block .bottom-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.4;
}

.rexv-hero-block .bottom-card:hover .bottom-title {
    color: #FF3B30;
}

.rexv-hero-block .js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rexv-hero-block .js-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== trendyistyl-przegld ===== */
.trends-preview {
    padding: 80px 0;
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.trends-preview__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1A1A1A;
    margin-bottom: 10px;
    font-weight: 900;
}

.trends-preview__subtitle {
    color: #666666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.trends-preview__link-all {
    color: #FF3B30;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.trends-preview__link-all:hover {
    color: #1A1A1A;
}

.trends-preview__card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.trends-preview__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trends-preview__image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.trends-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trends-preview__card:hover .trends-preview__img {
    transform: scale(1.05);
}

.trends-preview__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF3B30;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.trends-preview__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trends-preview__card--horizontal .trends-preview__content {
    padding: 20px;
}

.trends-preview__meta {
    font-size: 0.85rem;
    color: #AF52DE;
    margin-bottom: 12px;
    font-weight: 500;
}

.trends-preview__heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.trends-preview__card--horizontal .trends-preview__heading {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.trends-preview__heading a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trends-preview__heading a:hover {
    color: #FF3B30;
    text-decoration: underline;
}

.trends-preview__excerpt {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trends-preview__btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1A1A1A;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.trends-preview__btn:hover {
    background: #FF3B30;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .trends-preview {
        padding: 40px 0;
    }

    .trends-preview__title {
        font-size: 1.8rem;
    }

    .trends-preview__card--horizontal .trends-preview__image-wrapper {
        aspect-ratio: 21/9;
    }

    .trends-preview__heading {
        font-size: 1.2rem;
    }
}

/* ===== zdrowieiwellness-przegld ===== */
.health-preview {
    background-color: #FFFFFF;
    overflow: hidden;
}

.health-preview__category-label {
    display: inline-block;
    color: #FF2D55;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.health-preview__main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #1A1A1A;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.health-preview__subtitle {
    font-family: 'Inter', sans-serif;
    color: #666666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.health-preview__btn-all {
    display: inline-flex;
    align-items: center;
    color: #1A1A1A;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #FF2D55;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.health-preview__btn-all:hover {
    color: #FF2D55;
    border-color: #1A1A1A;
}

.health-card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
}

.health-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.health-card--highlighted {
    border: 2px solid rgba(255, 45, 85, 0.1);
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.05);
}

.health-card__image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.health-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.health-card:hover .health-card__img {
    transform: scale(1.05);
}

.health-card__tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF2D55;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.health-card__content {
    padding: 1.5rem;
}

.health-card__meta {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.health-card__date {
    font-size: 0.8rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.health-card__title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.health-card:hover .health-card__title {
    color: #FF2D55;
    text-decoration: underline;
}

.health-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.health-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #1A1A1A;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.health-card__btn:hover {
    background: #FF2D55;
    color: #FFFFFF;
}

.js-reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .health-preview__main-title {
        font-size: 1.75rem;
    }

    .health-preview__subtitle {
        font-size: 1rem;
    }

    .health-card__title {
        font-size: 1.15rem;
    }
}

/* ===== produktywnoitechnologie-przegld ===== */
.tech-preview-section {
    background-color: #FFFFFF;
    overflow: hidden;
}

.tech-preview-section .tech-preview-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.2;
}

.tech-preview-section .tech-preview-subtitle {
    font-family: 'Inter', sans-serif;
    color: #666666;
    font-size: 1.1rem;
    max-width: 600px;
}

.tech-preview-section .tech-preview-link {
    color: #FF3B30;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tech-preview-section .tech-preview-link:hover {
    color: #007AFF;
}

.tech-preview-section .tech-preview-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-preview-section .tech-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.tech-preview-section .tech-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-preview-section .tech-preview-card:hover .tech-card-img {
    transform: scale(1.05);
}

.tech-preview-section .tech-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5856D6;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-preview-section .tech-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tech-preview-section .tech-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tech-preview-section .tech-preview-card:hover .tech-card-title {
    text-decoration: underline;
    color: #5856D6;
}

.tech-preview-section .tech-card-excerpt {
    font-family: 'Inter', sans-serif;
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-preview-section .tech-card-btn {
    display: inline-block;
    padding: 12px 0;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-top: 1px solid #EEEEEE;
    transition: color 0.3s ease;
}

.tech-preview-section .tech-card-btn:hover {
    color: #5856D6;
}

@media (max-width: 767px) {
    .tech-preview-section .tech-preview-title {
        font-size: 1.8rem;
    }

    .tech-preview-section .tech-preview-subtitle {
        font-size: 1rem;
    }
}

/* ===== bdnabieco ===== */
.newsletter-block {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.newsletter-wrapper {
    position: relative;
    padding: 80px 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #EEEEEE;
    overflow: hidden;
}

.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.newsletter-inner {
    z-index: 2;
    max-width: 640px;
    width: 100%;
}

.newsletter-icon-box {
    font-size: 40px;
    color: #FF3B30;
}

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

.newsletter-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 40px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #EEEEEE;
    background-color: #FFFFFF;
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #FF3B30;
}

.newsletter-input::placeholder {
    color: #999999;
    opacity: 1;
}

.newsletter-submit-btn {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit-btn:hover {
    background-color: #FF3B30;
    color: #FFFFFF;
}

.newsletter-success {
    margin-top: 20px;
    color: #34C759;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.newsletter-success i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

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

    .newsletter-wrapper {
        padding: 60px 20px;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .newsletter-text {
        font-size: 14px;
    }

    .newsletter-submit-btn {
        width: 100%;
    }
}

/* ===== stopka ===== */
.rexv-footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 64px 0 32px;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid #FF3B30;
}

.rexv-footer-brand img {
    max-width: 50px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.rexv-footer-desc {
    color: #E0E0E0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.rexv-footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rexv-footer-links,
.rexv-footer-contact,
.rexv-footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rexv-footer-links li,
.rexv-footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #E0E0E0;
}

.rexv-footer-links a,
.rexv-footer-contact a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rexv-footer-links a:hover,
.rexv-footer-contact a:hover {
    color: #FF3B30;
    text-decoration: underline;
}

.rexv-footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rexv-copyright {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

.rexv-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .rexv-footer-legal-links {
        justify-content: flex-end;
    }
}

.rexv-footer-legal-links a {
    font-size: 12px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rexv-footer-legal-links a:hover {
    color: #FFFFFF;
}

/* ===== PAGE: privacy ===== */
.rexv-policy-wrapper { font-family: 'Inter', sans-serif; color: #1A1A1A; line-height: 1.8; max-width: 900px; margin: 0 auto; padding: 40px 20px; background-color: #FFFFFF; } .rexv-policy-wrapper h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.75rem; color: #1A1A1A; margin-top: 2.5rem; margin-bottom: 1.25rem; border-left: 4px solid #FF3B30; padding-left: 15px; line-height: 1.2; } .rexv-policy-wrapper p { margin-bottom: 1.5rem; font-size: 1.05rem; text-align: justify; hyphens: auto; } .rexv-policy-wrapper ul { margin-bottom: 1.5rem; padding-left: 20px; list-style-type: none; } .rexv-policy-wrapper li { position: relative; padding-left: 25px; margin-bottom: 0.75rem; font-size: 1.05rem; } .rexv-policy-wrapper li::before { content: '\ea46'; font-family: 'boxicons'; position: absolute; left: 0; color: #FF3B30; font-size: 1.2rem; top: 2px; } .rexv-policy-wrapper strong { font-weight: 700; color: #1A1A1A; } .rexv-policy-wrapper a { color: #007AFF; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s ease; } .rexv-policy-wrapper a:hover { border-bottom-color: #007AFF; } @media (max-width: 768px) { .rexv-policy-wrapper { padding: 25px 15px; } .rexv-policy-wrapper h2 { font-size: 1.25rem; margin-top: 1.75rem; } .rexv-policy-wrapper p, .rexv-policy-wrapper li { font-size: 0.95rem; } }

/* ===== PAGE: terms ===== */
.policy-inner-layout {
  background-color: #FFFFFF;
  padding: 64px 0;
  color: #1A1A1A;
  font-family: 'Inter', sans-serif;
}

.policy-inner-layout .terms-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.policy-inner-layout .terms-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 16px;
  border-bottom: 4px solid #FF3B30;
  display: inline-block;
  padding-bottom: 8px;
}

.policy-inner-layout .terms-lead {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666666;
  margin-bottom: 48px;
}

.policy-inner-layout .terms-section {
  margin-bottom: 48px;
}

.policy-inner-layout .terms-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.policy-inner-layout .terms-text {
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.policy-inner-layout .terms-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.policy-inner-layout .terms-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

.policy-inner-layout .terms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background-color: #FF3B30;
}

.policy-inner-layout .terms-meta-info {
  padding: 24px;
  background-color: #F9F9F9;
  border-left: 4px solid #1A1A1A;
}

.policy-inner-layout .terms-meta-info p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666666;
}

.policy-inner-layout .terms-meta-info strong {
  color: #1A1A1A;
}

@media (max-width: 768px) {
  .policy-inner-layout {
    padding: 40px 0;
  }
  .policy-inner-layout .terms-main-title {
    font-size: 28px;
  }
  .policy-inner-layout .terms-heading {
    font-size: 20px;
  }
  .policy-inner-layout .terms-text, 
  .policy-inner-layout .terms-list li {
    font-size: 15px;
  }
}

/* ===== PAGE: disclaimer ===== */
.policy-inner-layout { font-family: 'Inter', sans-serif; color: #1A1A1A; line-height: 1.8; max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.policy-inner-layout h2 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 2.5rem; color: #1A1A1A; margin-bottom: 1.5rem; position: relative; padding-bottom: 15px; }
.policy-inner-layout h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 4px; background-color: #FF3B30; }
.policy-inner-layout h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; color: #1A1A1A; margin-top: 2rem; margin-bottom: 1rem; border-left: 4px solid #FF3B30; padding-left: 15px; }
.policy-inner-layout p { margin-bottom: 1.25rem; font-size: 1rem; text-align: justify; hyphens: auto; }
.policy-inner-layout ul { margin-bottom: 1.5rem; padding-left: 1.25rem; }
.policy-inner-layout li { margin-bottom: 0.5rem; position: relative; }
.policy-inner-layout .text-muted { color: #666666 !important; }
.policy-inner-layout i { color: #FF3B30; }
@media (max-width: 768px) {
  .policy-inner-layout h2 { font-size: 1.25rem; }
  .policy-inner-layout h3 { font-size: 1.1rem; }
  .policy-inner-layout p { font-size: 0.95rem; }
}

/* ===== PAGE: cookies ===== */
.policy-inner-layout .rexv-cookies-section { padding: 40px 15px; max-width: 900px; margin: 0 auto; color: #1A1A1A; line-height: 1.6; } .policy-inner-layout .rexv-cookies-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; margin-bottom: 30px; color: #1A1A1A; border-bottom: 2px solid #FF3B30; padding-bottom: 15px; } .policy-inner-layout .rexv-cookies-intro { font-size: 1.1rem; color: #666666; margin-bottom: 40px; font-weight: 400; } .policy-inner-layout .rexv-cookies-block { margin-bottom: 35px; } .policy-inner-layout .rexv-cookies-subtitle { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: #1A1A1A; } .policy-inner-layout .rexv-cookies-list { list-style: none; padding-left: 0; margin-bottom: 20px; } .policy-inner-layout .rexv-cookies-list li { position: relative; padding-left: 25px; margin-bottom: 12px; } .policy-inner-layout .rexv-cookies-list li::before { content: '\2022'; color: #FF3B30; font-weight: bold; position: absolute; left: 0; font-size: 1.2rem; } .policy-inner-layout .rexv-cookies-list li strong { color: #1A1A1A; } .policy-inner-layout .rexv-company-info { margin-top: 30px; font-size: 0.9rem; color: #666666; border-top: 1px solid #EEEEEE; padding-top: 20px; } .policy-inner-layout .rexv-cookies-footer { margin-top: 50px; font-size: 0.8rem; color: #999999; text-transform: uppercase; letter-spacing: 1px; } @media (max-width: 768px) { .policy-inner-layout .rexv-cookies-title { font-size: 1.8rem; } .policy-inner-layout .rexv-cookies-subtitle { font-size: 1.25rem; } .policy-inner-layout .rexv-cookies-section { padding: 30px 20px; } }

/* ===== PAGE: trends ===== */
.trends-page {
  background-color: #FFFFFF;
}

.trends-page .category-hero-section {
  border-bottom: 1px solid #EEEEEE;
  overflow: hidden;
}

.trends-page .category-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  color: #1A1A1A;
  opacity: 0;
  transform: translateY(20px);
}

.trends-page .category-hero-subtitle {
  font-family: 'Inter', sans-serif;
  color: #666666;
  max-width: 600px;
}

.trends-page .editorial-card {
  position: relative;
  background: #FFFFFF;
  border: none;
  transition: transform 0.3s ease;
}

.trends-page .card-link-overlay {
  text-decoration: none;
  color: inherit;
  display: block;
}

.trends-page .card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.trends-page .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.trends-page .editorial-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.trends-page .category-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #AF52DE;
  color: #FFFFFF;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trends-page .card-meta {
  font-size: 0.8rem;
  color: #666666;
  display: flex;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trends-page .card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #1A1A1A;
  transition: color 0.3s ease;
}

.trends-page .editorial-card:hover .card-title {
  text-decoration: underline;
}

.trends-page .card-excerpt {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trends-page .read-more {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF3B30;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trends-page .bg-alt {
  background-color: #F9F9F9;
}

.trends-page .newsletter-card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.trends-page .newsletter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1A1A;
}

.trends-page .btn-dark {
  border-radius: 0;
  background-color: #1A1A1A;
  border-color: #1A1A1A;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.trends-page .btn-dark:hover {
  background-color: #FF3B30;
  border-color: #FF3B30;
}

.trends-page .form-control:focus {
  box-shadow: none;
  border-color: #FF3B30;
}

.trends-page .form-status {
  color: #34C759;
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .trends-page .category-hero-title {
    font-size: 2.5rem;
  }
  .trends-page .js-sticky-card {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .trends-page .js-sticky-card {
    position: sticky;
    top: 100px;
    transition: top 0.5s ease;
  }
}

/* ===== PAGE: health ===== */
.article-grid__title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #1A1A1A;
}

.article-grid__subtitle {
  font-family: 'Inter', sans-serif;
  max-width: 600px;
}

.article-grid__filter-btn {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-grid__filter-btn:hover {
  border-color: #FF3B30;
  color: #FF3B30;
}

.article-grid__filter-btn.active {
  background: #FF3B30;
  color: #FFFFFF;
  border-color: #FF3B30;
}

.article-grid__card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-grid__card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-grid__img-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-grid__card:hover .article-grid__img {
  transform: scale(1.05);
}

.article-grid__tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #FF2D55;
  color: #FFFFFF;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.article-grid__content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-grid__meta {
  font-size: 0.8rem;
  color: #666666;
  display: flex;
  gap: 15px;
}

.article-grid__meta i {
  color: #FF3B30;
  margin-right: 4px;
}

.article-grid__card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 700;
}

.article-grid__card-title a {
  color: #1A1A1A;
  text-decoration: none;
  background-image: linear-gradient(#1A1A1A, #1A1A1A);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s ease-in-out;
}

.article-grid__card:hover .article-grid__card-title a {
  background-size: 100% 2px;
}

.article-grid__excerpt {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-grid__link {
  color: #FF3B30;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.newsletter__card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
}

.newsletter__title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #1A1A1A;
}

.newsletter__input {
  border: 1px solid #EEEEEE;
  border-radius: 0;
  padding-left: 20px;
}

.newsletter__input:focus {
  box-shadow: none;
  border-color: #FF3B30;
}

.newsletter__btn {
  border-radius: 0;
  padding: 0 30px;
  background: #1A1A1A;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.newsletter__btn:hover {
  background: #FF3B30;
}

.newsletter__status.success {
  color: #34C759;
  font-weight: 500;
}

@media (max-width: 768px) {
  .article-grid__title { font-size: 2rem; }
  .article-grid__card-title { font-size: 1.25rem; }
  .newsletter__input { font-size: 1rem; }
}

/* ===== PAGE: tech ===== */
.tech-page-wrapper .tech-hero-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
}
.tech-page-wrapper .tech-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #1A1A1A;
}
.tech-page-wrapper .tech-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666666;
  max-width: 700px;
}
.tech-page-wrapper .tech-section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #1A1A1A;
}
.tech-page-wrapper .tech-count-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tech-page-wrapper .tech-card {
  height: 100%;
  transition: transform 0.3s ease;
  border: 1px solid #EEEEEE;
  background: #FFFFFF;
}
.tech-page-wrapper .tech-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tech-page-wrapper .tech-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.tech-page-wrapper .tech-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tech-page-wrapper .tech-card:hover .tech-card-img {
  transform: scale(1.05);
}
.tech-page-wrapper .tech-card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #5856D6;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tech-page-wrapper .tech-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.tech-page-wrapper .tech-card-meta {
  font-size: 0.75rem;
  color: #666666;
  display: flex;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tech-page-wrapper .tech-card-meta i {
  color: #5856D6;
  vertical-align: middle;
}
.tech-page-wrapper .tech-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1A1A1A;
  transition: color 0.3s ease;
}
.tech-page-wrapper .tech-card:hover .tech-card-title {
  text-decoration: underline;
  color: #5856D6;
}
.tech-page-wrapper .tech-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tech-page-wrapper .tech-card-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}
.tech-page-wrapper .tech-card:hover .tech-card-btn {
  gap: 10px;
}
.tech-page-wrapper .tech-newsletter-section {
  background-color: #F9F9F9;
}
.tech-page-wrapper .tech-newsletter-card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
}
.tech-page-wrapper .newsletter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #1A1A1A;
}
.tech-page-wrapper .newsletter-desc {
  color: #666666;
  font-size: 1rem;
}
.tech-page-wrapper .tech-newsletter-form .form-control {
  border-radius: 0;
  padding: 12px 20px;
  border: 1px solid #EEEEEE;
  background: #F9F9F9;
  color: #1A1A1A;
}
.tech-page-wrapper .tech-newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: #5856D6;
}
.tech-page-wrapper .tech-submit-btn {
  background-color: #1A1A1A;
  color: #FFFFFF;
  border-radius: 0;
  padding: 12px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}
.tech-page-wrapper .tech-submit-btn:hover {
  background-color: #5856D6;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .tech-page-wrapper .tech-hero-title {
    font-size: 1.75rem;
  }
  .tech-page-wrapper .tech-hero-subtitle {
    font-size: 0.95rem;
  }
  .tech-page-wrapper .newsletter-title {
    font-size: 1.5rem;
  }
  .tech-page-wrapper .tech-card-meta {
    flex-direction: column;
    gap: 5px;
  }
}

/* ===== PAGE: about ===== */
.about-content-block .badge { background-color: #FF3B30; color: #FFFFFF; font-weight: 700; border-radius: 0; padding: 0.5rem 1rem; }
.about-content-block h1 { font-family: 'Playfair Display', serif; font-weight: 900; color: #1A1A1A; }
.about-content-block .lead { color: #666666; font-family: 'Inter', sans-serif; }
.about-content-block .text-accent { color: #FF3B30; font-size: 1.5rem; vertical-align: middle; margin-right: 0.5rem; }
.about-content-block .feature-item { font-weight: 500; color: #1A1A1A; }
.about-content-block .about-main-img { border: 1px solid #EEEEEE; padding: 10px; background: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.05); width: 100%; height: auto; object-fit: cover; }
.bg-alt { background-color: #F9F9F9; }
.vision-block .section-title { font-family: 'Playfair Display', serif; font-weight: 700; color: #1A1A1A; }
.vision-block .title-underline { width: 60px; height: 3px; background-color: #FF3B30; margin-top: 10px; }
.vision-block .vision-card { background: #FFFFFF; padding: 30px; border: 1px solid #EEEEEE; transition: transform 0.3s ease; }
.vision-block .vision-card:hover { transform: translateY(-5px); }
.vision-block .vision-icon { font-size: 3rem; color: #FF3B30; margin-bottom: 20px; }
.newsletter-block .newsletter-inner { background: #1A1A1A; color: #FFFFFF; position: relative; overflow: hidden; }
.newsletter-block h2 { font-family: 'Playfair Display', serif; font-weight: 700; }
.newsletter-block p { color: #E0E0E0; }
.newsletter-block .text-accent { color: #FF3B30; }
.newsletter-block .custom-input-group .form-control { border-radius: 0; border: none; padding: 15px 20px; background: #FFFFFF; color: #1A1A1A; }
.newsletter-block .custom-input-group .form-control::placeholder { color: #999999; }
.newsletter-block .btn-primary { border-radius: 0; background-color: #FF3B30; border: none; padding: 0 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s ease; }
.newsletter-block .btn-primary:hover { background-color: #E0352B; }
.js-newsletter-message.success { color: #34C759; font-weight: 500; }
.js-newsletter-message.error { color: #FF3B30; font-weight: 500; }

/* ===== PAGE: contact ===== */
.contact-form-info .contact-info-card {
  background-color: #F9F9F9;
  border: 1px solid #EEEEEE;
}
.contact-form-info .contact-info-card__title {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  font-weight: 700;
  line-height: 1.2;
}
.contact-form-info .contact-info-card__description {
  font-family: 'Inter', sans-serif;
  color: #666666;
  font-size: 1rem;
}
.contact-form-info .contact-item__icon {
  color: #FF3B30;
  font-size: 1.5rem;
  margin-top: 2px;
}
.contact-form-info .contact-item__label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.contact-form-info .contact-item__value {
  font-family: 'Inter', sans-serif;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 1rem;
}
.contact-form-info .btn-whatsapp {
  background-color: #34C759;
  color: #FFFFFF;
  padding: 12px 24px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}
.contact-form-info .btn-whatsapp:hover {
  opacity: 0.9;
  color: #FFFFFF;
}
.contact-form-info .contact-form-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
}
.contact-form-info .contact-form-card__title {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  font-weight: 700;
  line-height: 1.2;
}
.contact-form-info .form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #1A1A1A;
}
.contact-form-info .form-control {
  border-radius: 0;
  border: 1px solid #EEEEEE;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  background-color: #F9F9F9;
}
.contact-form-info .form-control::placeholder {
  color: #999999;
  font-size: 0.875rem;
}
.contact-form-info .form-control:focus {
  border-color: #FF3B30;
  box-shadow: none;
}
.contact-form-info .btn-submit {
  background-color: #FF3B30;
  color: #FFFFFF;
  border: none;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background-color 0.3s ease;
}
.contact-form-info .btn-submit:hover {
  background-color: #D62E25;
}
.contact-form-info .form-success-message {
  background-color: #E8F5E9;
  color: #2E7D32;
  padding: 15px;
  border-left: 4px solid #34C759;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}
@media (max-width: 767px) {
  .contact-form-info .contact-info-card__title, 
  .contact-form-info .contact-form-card__title {
    font-size: 1.25rem;
  }
  .contact-form-info .contact-info-card, 
  .contact-form-info .contact-form-card {
    padding: 24px !important;
  }
}

.journal-comment-wrapper {
    border-color: #EEEEEE !important;
    font-family: 'Inter', sans-serif;
}

.editorial-avatar {
    width: 52px;
    height: 52px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease;
    border-radius: 50%;
}

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

.comment-body-text {
    line-height: 1.6;
    color: #1A1A1A;
    font-size: 1rem;
}

.comment-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666666;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    position: relative;
}

.comment-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FF3B30;
    transition: width 0.3s ease;
}

.comment-btn:hover {
    color: #FF3B30;
}

.comment-btn:hover::after {
    width: 100%;
}

.comment-timestamp {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.journal-reply-indent {
    margin-left: 1.5rem;
    border-left: 2px solid #EEEEEE !important;
}

.journal-reply-indent .editorial-avatar.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.journal-reply-indent .author-name {
    font-size: 1rem;
}

.journal-reply-indent .comment-body-text {
    font-size: 0.95rem;
    color: #444444;
}

.journal-reply-indent .journal-comment-wrapper {
    border-bottom: none !important;
}

.journal-reply-indent:hover {
    border-left-color: #FF3B30 !important;
    transition: border-color 0.3s ease;
}


/* ===== PAGE TEMPLATE: trends-articles ===== */
.rexv-main-layout {
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

.rexv-hero-section {
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
}

.rexv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.rexv-hero-section:hover .rexv-hero-bg {
    transform: scale(1.05);
}

.rexv-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.rexv-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.rexv-article-body .rexv-article-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1A1A1A;
}

.rexv-article-body h2,
.rexv-article-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: #1A1A1A;
}

.rexv-article-body p {
    margin-bottom: 1.5rem;
}

.rexv-article-body ul,
.rexv-article-body ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.rexv-article-body li {
    margin-bottom: 0.75rem;
}

.rexv-widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-left: 4px solid #FF3B30;
    padding-left: 1rem;
}

.rexv-recent-list a {
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.rexv-recent-list a:hover {
    color: #FF3B30 !important;
}

.rexv-btn-primary {
    background-color: #FF3B30;
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.rexv-btn-primary:hover {
    background-color: #D32F2F;
    transform: translateY(-2px);
}

.journal-comment-wrapper {
    font-family: 'Inter', sans-serif;
}

.editorial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

.comment-btn {
    transition: color 0.3s ease;
}

.comment-btn:hover {
    color: #FF3B30 !important;
}

.comment-btn i {
    font-size: 1.2rem;
}

.btn-like.active {
    color: #FF3B30 !important;
}

.btn-like.active i {
    font-weight: bold;
}

@media (max-width: 991.98px) {
    .rexv-main-title {
        font-size: 1.8rem;
    }

    .rexv-hero-section {
        min-height: 350px;
    }

    .rexv-sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .rexv-article-body {
        padding: 0 15px;
    }

    .rexv-main-title {
        font-size: 1.5rem;
    }

    .rexv-post-meta {
        font-size: 0.85rem;
    }
}

/* ===== PAGE TEMPLATE: health-articles ===== */
.rexv-article-template .rexv-hero-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.rexv-article-template .rexv-main-content .article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1A1A1A;
}

.rexv-article-template .rexv-main-content .article-body h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    color: #1A1A1A;
}

.rexv-article-template .rexv-main-content .article-body p {
    margin-bottom: 1.5rem;
}

.rexv-article-template .rexv-main-content .article-body ul,
.rexv-article-template .rexv-main-content .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.rexv-article-template .rexv-main-content .article-body li {
    margin-bottom: 0.5rem;
}

.rexv-article-template .rexv-sidebar .rexv-newsletter-card {
    border-radius: 0;
    background-color: #1A1A1A !important;
}

.rexv-article-template .js-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.rexv-article-template .rexv-sidebar .btn-primary {
    background-color: #FF3B30;
    border-color: #FF3B30;
}

.rexv-article-template .rexv-sidebar .btn-primary:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
}

.rexv-article-template .journal-comment-wrapper .editorial-avatar {
    width: 48px;
    height: 48px;
    font-weight: 700;
    font-size: 1rem;
}

.rexv-article-template .comment-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    color: #666666;
    transition: color 0.3s ease;
}

.rexv-article-template .comment-btn:hover {
    color: #FF3B30;
}

.rexv-article-template .comment-btn i {
    font-size: 1.125rem;
}

.rexv-article-template .journal-reply-indent {
    margin-left: 3rem;
    border-left: 2px solid #EEEEEE !important;
}

@media (max-width: 767.98px) {
    .rexv-article-template .rexv-hero-section {
        min-height: 300px;
    }

    .rexv-article-template .rexv-hero-section h1 {
        font-size: 1.75rem;
    }

    .rexv-article-template .journal-reply-indent {
        margin-left: 1rem;
    }

    .rexv-article-template .share-links {
        flex-direction: column;
        width: 100%;
    }

    .rexv-article-template .share-links .btn {
        width: 100%;
    }
}

/* ===== PAGE TEMPLATE: tech-articles ===== */
.rexv-article-detail .article-hero-section .article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.1;
}

.rexv-article-detail .featured-article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.rexv-article-detail .rich-text-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
}

.rexv-article-detail .rich-text-content h2,
.rexv-article-detail .rich-text-content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1A1A1A;
    margin: 2rem 0 1rem;
}

.rexv-article-detail .article-blockquote {
    border-left: 5px solid #FF3B30;
    background: #F9F9F9;
    font-style: italic;
    font-size: 1.25rem;
}

.rexv-article-detail .share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.rexv-article-detail .share-link.fb {
    background: #3b5998;
}

.rexv-article-detail .share-link.x {
    background: #000000;
}

.rexv-article-detail .share-link.linkedin {
    background: #0077b5;
}

.rexv-article-detail .share-link:hover {
    opacity: 0.8;
}

.rexv-article-detail .journal-comment-wrapper .editorial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
}

.rexv-article-detail .comment-btn {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.875rem;
    padding: 0;
    transition: color 0.3s;
}

.rexv-article-detail .comment-btn:hover {
    color: #FF3B30;
}

.rexv-article-detail .journal-reply-indent {
    margin-left: 3rem;
}

.rexv-article-detail .sticky-top-sidebar {
    top: 100px;
}

.rexv-article-detail .newsletter-card input {
    background-color: #FFFFFF;
    border: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .rexv-article-detail .article-hero-section h1 {
        font-size: 1.75rem;
    }

    .rexv-article-detail .featured-article-img {
        height: 250px;
    }

    .rexv-article-detail .journal-reply-indent {
        margin-left: 1.5rem;
    }
}

/* Custom Category Hero styles */
.category-hero h1,
.category-hero p {
    color: #FFFFFF !important;
}