:root {
    --bg: #f4f8f7;
    --surface: #ffffff;
    --text: #17333a;
    --muted: #5f7278;

    --primary: #2f8f98;
    --primary-dark: #1f5f68;
    --primary-soft: #e7f6f5;

    --accent: #a85b1f;
    --accent-dark: #7b3f14;
    --accent-soft: #f6ebe2;

    --border: #cfe5e3;
    --shadow: 0 8px 18px rgba(20, 48, 54, 0.12);
    --shadow-soft: 0 5px 16px rgba(20, 48, 54, 0.08);
    --radius: 14px;
    --container: 1620px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #eef8f7 22%, #e3f2f1 58%, #d8ece9 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #eef8f7 22%, #e3f2f1 58%, #d8ece9 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(207, 229, 227, 0.8);
    box-shadow: 0 4px 14px rgba(20, 48, 54, 0.08);
}

.nav-container {
    max-width: var(--container);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    margin: 0;
    line-height: 1;
    font-size: 0;
    flex: 0 0 auto;
}

.site-title a {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    height: 58px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.main-menu a:hover {
    color: var(--primary-dark);
}

.main-menu a:hover::after,
.main-menu .current-menu-item>a::after,
.main-menu .current_page_item>a::after,
.main-menu a.active::after {
    transform: scaleX(1);
}

.main-menu .current-menu-item>a,
.main-menu .current_page_item>a,
.main-menu a.active {
    color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

/* MOBILE HAMBURGER */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    padding: 0;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: 15px;
}

.menu-toggle span:nth-child(2) {
    top: 22px;
}

.menu-toggle span:nth-child(3) {
    top: 29px;
}

.menu-toggle.is-active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

/* HERO */

.hero {
    width: 100%;
    max-width: none;
    height: 580px;
    min-height: 580px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow);
    background: #d9ece8;
}

.hero-link {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
    z-index: 0;
}

.hero-bg.is-visible {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 58, 64, 0.18) 0%, rgba(20, 58, 64, 0.08) 35%, rgba(20, 58, 64, 0.04) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-title-wrap {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    margin: 0;
    color: #fff;
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 20px;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.hero-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    background: #fff;
    padding: 16px;
    border: 2px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

/* SEARCH ON HERO */

.hero-search-wrap {
    position: relative;
    max-width: var(--container);
    margin: -46px auto 0;
    padding: 0 20px;
    z-index: 20;
}

.hero-search-inner {
    width: 100%;
}

.oferty-search-form {
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(20, 48, 54, 0.12);
    backdrop-filter: blur(8px);
    padding: 18px;
}

.oferty-search-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr 0.6fr;
    gap: 14px;
    align-items: center;
}

.oferty-search-form .search-field-wrap input,
.oferty-search-form .search-field-wrap select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d4e3e1;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    outline: none;
    color: var(--text);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

.oferty-search-form .search-field-wrap input:focus,
.oferty-search-form .search-field-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 143, 152, 0.12);
}

.oferty-search-form .search-field-wrap input::-ms-clear,
.oferty-search-form .search-field-wrap input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.oferty-search-form .search-field-wrap select::-ms-expand {
    display: none;
}

.oferty-search-form .search-btn {
    height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.oferty-search-form .search-btn:hover {
    background: var(--primary-dark);
}

.search-field-clearable {
    position: relative;
}

.search-field-clearable input {
    padding-right: 42px !important;
}

.field-clear-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.search-field-clearable.has-value .field-clear-btn {
    opacity: 1;
    pointer-events: auto;
}

.field-clear-btn:hover {
    background: #d6efed;
    color: var(--primary-dark);
}

/* MAIN LAYOUT */

.main-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 20px;
    display: block;
}

.post-list {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-content: start;
}

.blog-post-list {
    min-width: 0;
}

.blog-page-layout {
    align-items: start;
}

/* OFFER CARDS */

.post-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 320px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 48, 54, 0.12);
    border-color: #b8dbd8;
}

.post-thumb {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #d9ece8;
}

.post-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-price-wrap {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-price-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    font-size: 18px;
    line-height: 1;
}

.post-price-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.post-info {
    min-height: 320px;
    padding: 20px 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-info h2 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.28;
    font-weight: 800;
    color: var(--text);
}

.post-info h2 a:hover {
    color: var(--primary-dark);
}

.post-meta {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.post-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.post-meta-stack div {
    line-height: 1.35;
}

.post-meta-stack strong {
    color: var(--primary-dark);
    font-weight: 800;
}

.post-excerpt {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.55;
    color: #31484d;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt p {
    margin: 0;
}

.post-actions {
    margin-top: auto;
    padding-top: 8px;
}

.post-offer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.post-offer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

/* BLOG */

.blog-post-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 48, 54, 0.12);
    border-color: #b8dbd8;
}

.blog-post-info {
    padding: 24px 26px;
}

.blog-post-info h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.blog-post-info h2 a {
    color: var(--text);
    transition: color 0.2s ease;
}

.blog-post-info h2 a:hover {
    color: var(--primary-dark);
}

.blog-pagination {
    margin-top: 28px;
}

.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    color: var(--primary-dark);
    border-color: #b8dbd8;
    background: var(--primary-soft);
}

/* SINGLE */

.single-page {
    display: block !important;
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 20px;
}

.single-main {
    width: 100%;
    max-width: none !important;
}

.single-article {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.single-title {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--text);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.single-thumbnail {
    width: 100%;
    margin: 0 0 28px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.single-content {
    width: 100%;
    max-width: none !important;
    font-size: 18px;
    line-height: 1.9;
    color: #223d44;
}

.single-content p {
    margin: 0 0 24px;
}

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

.single-content h2,
.single-content h3,
.single-content h4 {
    margin: 30px 0 14px;
    line-height: 1.25;
    color: var(--text);
}

/* OFFER SINGLE */

.oferta-single {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.oferta-hero-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 28px;
}

.oferta-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.oferta-hero-content {
    padding: 28px 28px 28px 0;
}

.oferta-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    margin-bottom: 16px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid #b9d9d6;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.oferta-title {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.oferta-subtitle {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.oferta-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.oferta-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: #f6fbfb;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.oferta-meta-item .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.oferta-meta-item .value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.oferta-price-box {
    background: var(--accent-soft);
    border-color: #dfc2ac;
}

.oferta-price {
    color: var(--accent-dark);
    font-size: 28px !important;
    font-weight: 800 !important;
}

.oferta-short-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #31484d;
    margin-bottom: 24px;
}

.oferta-short-desc p {
    margin: 0 0 12px;
}

.oferta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oferta-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.oferta-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.oferta-content-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.oferta-content-card p {
    font-size: 18px;
    line-height: 1.9;
    color: #223d44;
}

.oferta-content-card h2,
.oferta-content-card h3,
.oferta-content-card h4 {
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.25;
    color: var(--text);
}

/* FOOTER */

.site-footer {
    width: 100%;
    max-width: none !important;
    padding: 42px 0;
    background: linear-gradient(180deg, #16363c 0%, #10282d 100%);
    color: #fff;
    border-top: 2px solid #1f5f68;
}

.footer-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-footer h3 {
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.site-footer p {
    margin: 8px 0;
    font-size: 18px;
}

.site-footer a {
    color: #71c9c1;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* DESKTOP SOCIALS */

.social-sticky {
    position: fixed;
    top: 290px;
    right: 18px;
    transform: translateY(-50%);
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-sticky a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 48, 54, 0.2);
    overflow: visible;
    transition: transform 0.25s ease;
}

.social-sticky a::before {
    content: attr(aria-label);
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%) translateX(12px);
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(20, 48, 54, 0.14);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
    pointer-events: none;
}

.social-sticky a svg {
    width: 26px;
    height: 26px;
    margin-left: 1px;
    transition: transform 0.6s ease;
    position: relative;
    z-index: 2;
}

.social-sticky a:hover {
    transform: translateX(-4px);
}

.social-sticky a:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.social-sticky a:hover svg {
    transform: rotate(360deg);
}

.social-sticky a,
.mobile-socials a {
    flex: 0 0 auto;
}

.social-facebook {
    background: #1877f2;
}

.social-group {
    background: #2f8f98;
}

.social-instagram {
    background: #d62976;
}

.social-tiktok {
    background: #111111;
}

.social-mail {
    background: var(--accent);
}

/* MOBILE DRAWER SOCIALS */

.mobile-socials {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(207, 229, 227, 0.8);
}

.mobile-socials a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.mobile-socials a svg {
    width: 28px;
    height: 28px;
}

.frontpage-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.frontpage-layout .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frontpage-sidebar {
    position: sticky;
    top: 112px;
}

.sidebar-box {
    position: relative;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px 18px 18px;
}

.sidebar-box-title {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.weekly-offers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.weekly-offer-card {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fcfb;
    border: 1px solid var(--border);
    transition: transform .18s ease, box-shadow .18s ease;
}

.weekly-offer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.weekly-offer-link {
    display: block;
}

.weekly-offer-thumb {
    aspect-ratio: 16 / 8;
    background: #d9ece8;
    overflow: hidden;
}

.weekly-offer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.weekly-offer-content {
    padding: 12px;
}

.weekly-offer-content h4 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text);
}

.weekly-offer-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.weekly-offers-empty {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.offers-load-more {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.offers-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    transition: background .2s ease, transform .2s ease;
}

.offers-load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

.guide-section {
    margin-top: 60px;
    padding: 80px 0 110px;
    background: linear-gradient(180deg, #2b6971 0%, #285f66 100%);
}

.guide-section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.guide-section-title {
    margin: 0 0 60px;
    text-align: center;
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
}

.guide-posts-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.guide-post-card {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    min-height: 440px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.guide-post-card.is-reversed .guide-post-thumb {
    order: 2;
}

.guide-post-card.is-reversed .guide-post-content {
    order: 1;
}

.guide-post-card.is-reversed {
    grid-template-columns: 1.3fr 0.9fr;
}

.guide-post-thumb {
    height: 440px;
    background: #d9ece8;
}

.guide-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 40px;
}

.guide-post-excerpt {
    font-size: 17px;
    line-height: 1.8;
    color: #31484d;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-post-meta {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.guide-post-title {
    margin: 0 0 14px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
}

.guide-post-title a:hover {
    color: var(--primary-dark);
}

.guide-post-actions {
    margin-top: 24px;
}

.guide-post-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.guide-post-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

.site-preloader{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 34%),
        linear-gradient(180deg, #ffffff 0%, #eef8f7 22%, #e3f2f1 58%, #d8ece9 100%);
    opacity:1;
    visibility:visible;
    transition:opacity .45s ease, visibility .45s ease;
}

.site-preloader.is-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.site-preloader-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.site-preloader-logo{
    width:min(220px, 48vw);
    height:auto;
    display:block;
    animation:preloaderPulse 1.6s ease-in-out infinite;
}

@keyframes preloaderPulse{
    0%{
        transform:scale(1);
        opacity:1;
    }
    50%{
        transform:scale(1.04);
        opacity:.92;
    }
    100%{
        transform:scale(1);
        opacity:1;
    }
}

@media (min-width: 901px){
    .guide-post-card{
        opacity:0;
        transition:
            opacity .7s ease,
            transform .8s cubic-bezier(.22,1,.36,1);
        will-change:transform, opacity;
    }

    .guide-post-card.from-left{
        transform:translateX(-90px);
    }

    .guide-post-card.from-right{
        transform:translateX(90px);
    }

    .guide-post-card.is-visible{
        opacity:1;
        transform:translateX(0);
    }
}

@media (max-width: 1620px) {
    .frontpage-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

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

    .guide-post-card.is-reversed {
        grid-template-columns: 1fr 0.9fr;
    }
}

@media (max-width: 900px) {
    .frontpage-layout {
        grid-template-columns: 1fr;
        padding: 24px 12px 30px;
    }

    .frontpage-sidebar {
        position: static;
    }

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

    .guide-section {
        margin-top: 30px;
        padding: 36px 0 42px;
    }

    .guide-section-inner {
        padding: 0 12px;
    }

    .guide-section-title {
        font-size: 28px;
        margin-bottom: 22px;
    }

    .guide-post-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .guide-post-card.is-reversed .guide-post-thumb,
    .guide-post-card.is-reversed .guide-post-content {
        order: initial;
    }

    .guide-post-thumb {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .guide-post-content {
        padding: 20px;
    }

    .guide-post-title {
        font-size: 24px;
    }

    .guide-post-excerpt {
        font-size: 15px;
        line-height: 1.65;
        -webkit-line-clamp: 7;
    }
}

/* RESPONSIVE */

@media (max-width: 1620px) {
    .post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 1);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .nav-container {
        min-height: 72px;
        padding: 8px 16px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .site-logo {
        height: 52px;
    }

    .header-right {
        margin-left: auto;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .main-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(207, 229, 227, 0.9);
        box-shadow: 0 16px 24px rgba(20, 48, 54, 0.12);
        padding: 18px 16px 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .main-menu.is-open {
        display: flex;
    }

    .main-menu a {
        min-height: 46px;
        padding: 0 16px;
        justify-content: flex-start;
        font-size: 16px;
        border-radius: 14px;
    }

    .main-menu a::after {
        display: none;
    }

    .main-menu a:hover,
    .main-menu .current-menu-item>a,
    .main-menu .current_page_item>a,
    .main-menu a.active {
        background: var(--primary-soft);
    }

    .mobile-socials {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .hero {
        height: 100vw;
        min-height: 100vw;
        margin: 0;
    }

    .hero-search-wrap {
        margin: -28px auto 0;
        padding: 0 12px;
    }

    .oferty-search-form {
        padding: 14px;
        border-radius: 16px;
    }

    .oferty-search-row {
        grid-template-columns: 1fr;
    }

    .main-container {
        padding: 24px 12px 30px;
    }

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

    .post-card {
        display: flex;
        flex-direction: column;
        min-height: auto;
        height: auto;
    }

    .post-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .post-info {
        min-height: auto;
        padding: 20px;
    }

    .post-info h2 {
        font-size: 22px;
    }

    .post-price-wrap {
        top: 10px;
        left: 10px;
    }

    .post-price-flag {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .post-price-badge {
        font-size: 13px;
        min-height: 34px;
        padding: 6px 12px;
    }

    .blog-post-info {
        padding: 20px;
    }

    .blog-post-info h2 {
        font-size: 24px;
    }

    .single-page {
        padding: 8px;
    }

    .single-article {
        padding: 16px;
    }

    .single-title {
        font-size: 32px;
    }

    .oferta-hero-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .oferta-hero-image img {
        min-height: 240px;
    }

    .oferta-hero-content {
        padding: 20px;
    }

    .oferta-title {
        font-size: 30px;
    }

    .oferta-meta-grid {
        grid-template-columns: 1fr;
    }

    .oferta-price {
        font-size: 24px !important;
    }

    .oferta-content-card {
        padding: 20px;
    }

    .site-footer h3 {
        font-size: 24px;
    }

    .site-footer p {
        font-size: 16px;
    }

    .social-sticky {
        display: none;
    }
}