:root {

    /* PRIMARY */
    --color-primary: #7c5cff;
    --color-primary-hover: #6d4df5;

    /* TEXT */
    --color-text: #111827;
    --color-text-light: #ffffff;
    --color-text-muted: #6b7280;

    /* LINKS */
    --color-link: #111827;

    /* BACKGROUNDS */
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-dark: #0f172a;

    /* BORDERS */
    --color-border: #e5e7eb;

    /* ACCENTS */
    --color-accent-soft: rgba(124, 92, 255, 0.08);

    /* GRADIENTS */
    --gradient-primary:
        linear-gradient(
            135deg,
            #7c5cff 0%,
            #5b8cff 100%
        );

    --gradient-dark:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 100%
        );

    /* SHADOWS */
    --shadow-sm:
        0 2px 10px rgba(15,23,42,0.04);

    --shadow-md:
        0 10px 30px rgba(15,23,42,0.08);

    --shadow-lg:
        0 20px 60px rgba(15,23,42,0.14);

    /* RADIUS */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    /* TRANSITIONS */
    --transition: 0.3s ease;

    /* CONTAINER */
    --container: 1280px;
}

body {
    font-family: "Nunito", sans-serif;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus,
a:visited {
    color: inherit;
}

.post,
.page {
    margin: 0;
}

/* UNIFIED BUTTONS */

.button,
.btn,
.btn-primary,
.btn-info,
.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(124,92,255,0.25);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.button:hover,
.btn:hover,
.btn-primary:hover,
.btn-info:hover,
.wpcf7 input[type="submit"]:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(124,92,255,0.35);
}

.button:visited,
.btn:visited,
.btn-primary:visited,
.btn-info:visited {
    color: #ffffff !important;
}

/* HOME SLIDER */

.home-slider .swiper {
    padding-bottom: 50px;
}

.home-slider .swiper-slide {
    width: 100%;
    box-sizing: border-box;
}

.home-slider .home-content-block {
    padding: 0;
}

.home-slider .home-content-block__image img,
.home-slider .home-slider__image {
    width: 100%;
    height: auto;
    display: block;
}

.home-slider__top {
    gap: 20px;
}

.home-slider__nav {
    flex-shrink: 0;
}

.home-slider__arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    line-height: 0;
}

.home-slider__arrow:hover {
    opacity: 0.85;
}

.home-slider__arrow svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.home-slider .swiper-pagination {
    bottom: 0 !important;
}

.home-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 1;
}

.home-slider .swiper-pagination-bullet-active {
    opacity: 0.6;
}

@media (max-width: 767.98px) {
    .home-slider__top {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .home-content-block__content.ps-md-4 {
        padding-left: 0 !important;
        padding-top: 20px;
    }
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.site-header:hover {
    background: rgba(255,255,255,0.88);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 36px;
    min-height: 88px;
}

.site-branding {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo svg {
    width: 60px;
    height: auto;
    display: block;
}

.site-header__slogan {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-muted);
}

.main-navigation {
    justify-self: center;
    position: relative;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    position: relative;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.main-navigation a:hover,
.current-menu-item > a {
    color: var(--color-primary) !important;
}

.main-navigation a:hover::after,
.current-menu-item > a::after {
    width: 100%;
}

.site-header__socials {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.site-header__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-link) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.site-header__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-header__social:hover {
    background: var(--color-link);
    color: var(--color-text-light) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: var(--color-accent-soft);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px auto;
    background: #111827;
    border-radius: 20px;
    transition: 0.3s ease;
}

.custom-logo {
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.04);
}

/* MOBILE HEADER */

@media (max-width: 768px) {
    .site-header {
        padding: 0;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        min-height: 70px;
    }

    .site-branding {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header__logo svg {
        width: 52px;
    }

    .site-header__slogan {
        display: none;
    }

    .main-navigation {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        position: static;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 10001;
        flex-shrink: 0;
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        background: #ffffff;
        padding: 24px;
        box-sizing: border-box;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .site-header__socials {
        display: none;
    }
}

/* SINGLE POST */

.single-post {
    padding: 0;
}

.single-post > .container {
    max-width: 1240px;
}

.single-post__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: start;
}

.single-post__main {
    min-width: 0;
}

.single-post article {
    margin: 0;
}

.single-post__hero {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin: 20px 0 50px 56px;
}
.single-post .breadcrumbs,
.single-post .tagtest-breadcrumbs {
    margin-left: 56px;
    margin-bottom: 20px;
}

.single-post__thumbnail {
    display: block;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
}

.single-post__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.single-post__thumbnail:hover img {
    transform: scale(1.03);
}

.single-post__header {
    margin: 0;
}

.single-post__meta {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.single-post__title {
    margin: 0;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.single-post__content {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
}

.site-sidebar {
    position: sticky;
    top: 120px;
}

@media (max-width: 991.98px) {
    .single-post__layout {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        position: static;
    }

    .single-post__hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-post__title {
        font-size: 34px;
    }
}

@media (max-width: 575.98px) {
    .single-post {
        padding: 0 0 60px;
    }

    .single-post__title {
        font-size: 30px;
    }

    .single-post__content {
        font-size: 16px;
    }
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
}

.post-tags .tag,
.tagcloud a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--color-bg-light);
    border-radius: 10px;
    color: var(--color-link);
    text-decoration: none;
    font-size: 13px !important;
    line-height: 1;
    transition: 0.25s ease;
}

.post-tags .tag:hover,
.tagcloud a:hover {
    background: var(--color-accent-soft);
    color: var(--color-primary);
}

/* SIDEBAR */

.site-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    margin-bottom: 22px;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(15,23,42,0.06);
}

.sidebar-widget .sidebar-widget {
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.widget-title {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-widget li + li {
    margin-top: 10px;
}

.sidebar-widget a {
    color: var(--color-link);
    text-decoration: none;
}

.sidebar-widget a:hover {
    color: var(--color-primary);
}

.search-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.search-input {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    outline: 0;
    box-shadow: none;
    font: inherit;
}

.search-button {
    width: 44px;
    height: 48px;
    border: 0;
    background: var(--color-link);
    color: #ffffff;
    cursor: pointer;
}

/* FOOTER */

.site-footer {
    margin-top: 100px;
    padding: 70px 0 40px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
}

.site-footer__top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--color-border);
}

.site-footer__title {
    margin: 0 0 18px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.25;
}

.site-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__menu li + li {
    margin-top: 10px;
}

.site-footer__menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__menu a:hover {
    color: var(--color-link);
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 220px;
    gap: 32px;
    align-items: center;
    padding-top: 30px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
}

.site-footer__logo svg {
    display: block;
    width: 150px;
    height: 40px;
}

.site-footer__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 15px;
}

.site-footer__slogan {
    width: 100%;
    color: var(--color-text);
    font-weight: 700;
}

.site-footer__info a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__info a:hover {
    color: var(--color-link);
}

.site-footer__socials {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.site-footer__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-link) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.site-footer__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-footer__social:hover {
    background: var(--color-link);
    color: var(--color-text-light) !important;
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .single-post > .container {
        max-width: 960px;
    }

    .single-post__layout {
        grid-template-columns: 1fr;
    }

    .single-post__hero {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .site-sidebar {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .single-post__hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-post__title {
        font-size: 36px;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer__logo {
        justify-self: center;
    }

    .site-footer__socials {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 50px;
        padding: 42px 0 30px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 34px;
    }

    .site-footer__bottom {
        gap: 24px;
        padding-top: 26px;
    }
}

@media (max-width: 575.98px) {
    .single-post {
        padding: 30px 0 60px;
    }

    .single-post__title {
        font-size: 30px;
    }

    .single-post__content {
        font-size: 16px;
    }
}

/* SEARCH FIX */

.site-sidebar .custom-search-form .search-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #ffffff;
}

.site-sidebar .custom-search-form .search-input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font: inherit;
}

.site-sidebar .custom-search-form .search-input:focus,
.site-sidebar .custom-search-form .search-input:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.site-sidebar .custom-search-form .search-button {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #111827 !important;
    color: #ffffff !important;
    cursor: pointer;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #ff5a1f;
    z-index: 999999;
    transition: width 0.1s linear;
}

/* =========================================================
   PREMIUM HERO SLIDER
========================================================= */

.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;

    background: #0f172a;
}

.hero-swiper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

/* IMAGE ZOOM EFFECT */

.hero-slide::before {
    content: "";

    position: absolute;
    inset: 0;

    background: inherit;
    background-size: cover;
    background-position: center;

    transform: scale(1.08);

    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.15);
    }
}

/* DARK OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.45) 45%,
            rgba(0,0,0,0.25) 100%
        );

    z-index: 1;
}

/* CONTENT */

.hero-content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 760px;

    padding-left: 8%;
    padding-right: 20px;

    color: #fff;

    animation: heroFadeUp 1s ease;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TITLE */

.hero-content h1 {
    margin: 0 0 24px;

    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -3px;

    font-weight: 800;

    color: #fff;
}

/* DESCRIPTION */

.hero-content p {
    margin-bottom: 38px;

    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;

    color: rgba(255,255,255,0.82);

    max-width: 620px;
}

/* BUTTON */

.hero-content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 18px 34px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #7c5cff,
            #5b8cff
        );

    color: #fff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    box-shadow:
        0 15px 40px rgba(124,92,255,0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-content .button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 50px rgba(124,92,255,0.45);
}

/* SWIPER PAGINATION */

.hero-slider .swiper-pagination {
    bottom: 42px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;

    background: rgba(255,255,255,0.4);

    opacity: 1;

    transition: 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 34px;

    border-radius: 30px;

    background: #7c5cff;
}

/* NAVIGATION */

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(12px);

    color: #fff;

    transition: 0.3s ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: rgba(255,255,255,0.22);

    transform: scale(1.06);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 20px;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-content h1 {
        line-height: 1;
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-content .button {
        width: 100%;
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }

}

.hero-content {
    position: relative;
    z-index: 5;

    max-width: 150px;

    margin-left: 8%;
    padding: 40px 40px;

    border-radius: 28px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.12);

    animation: heroFadeUp 1s ease;
}

/* =========================
   CONTACT PAGE V2 (MODERN)
========================= */

.kontakt-hero-v2 {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.kontakt-hero-v2 h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 10px;
}

.kontakt-hero-v2 p {
    opacity: 0.8;
    font-size: 18px;
}

/* WRAP */
.kontakt-wrap {
    padding: 80px 0;
    background: #f6f7fb;
}

/* GRID */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

/* LEFT CARD */
.kontakt-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.kontakt-card h2 {
    margin-bottom: 5px;
}

.muted {
    color: #6b7280;
    margin-bottom: 20px;
}

/* RIGHT CARD */
.kontakt-info-card {
    background: #111827;
    color: #fff;
    padding: 35px;
    border-radius: 16px;
}

.info-item {
    margin-bottom: 12px;
    opacity: 0.9;
}

/* CONTACT FORM 7 STYLE */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    outline: none;
}

.wpcf7 textarea {
    min-height: 120px;
}

.wpcf7 input[type="submit"] {
    background: #000000;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background: #16a34a;
}

/* MOBILE */
@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   UUDISED PAGE
========================== */

.news-hero{
    padding:120px 0 80px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
    text-align:center;
}

.news-hero h1{
    font-size:64px;
    margin:0 0 15px;
}

.news-hero p{
    opacity:.8;
    font-size:20px;
}

.news-grid-section{
    padding:80px 0;
    background:#f8fafc;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card__image img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.news-card__content{
    padding:25px;
}

.news-card__meta{
    color:#6b7280;
    font-size:13px;
    margin-bottom:10px;
}

.news-card__title{
    font-size:24px;
    line-height:1.3;
    margin:0 0 15px;
}

.news-card__title a{
    color:#111827;
    text-decoration:none;
}

.news-card__excerpt{
    color:#4b5563;
    line-height:1.7;
    margin-bottom:20px;
}

.news-card__button{
    display:inline-block;
    padding:12px 20px;
    background:#111827;
    color:white;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
}

.news-card__button:hover{
    background:#000;
}

@media(max-width:768px){

    .news-hero h1{
        font-size:42px;
    }

    .news-grid{
        grid-template-columns:1fr;
    }

}

.uudised-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.uudised-header {
    text-align: center;
    margin-bottom: 40px;
}

.uudised-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.uudised-header p {
    color: #666;
}

.uudised-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.uudised-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.uudised-card:hover {
    transform: translateY(-5px);
}

.uudised-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.no-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #888;
}

.uudised-content {
    padding: 15px;
}

.uudised-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.uudised-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.uudised-title a {
    text-decoration: none;
    color: #111;
}

.uudised-title a:hover {
    color: #0073aa;
}

.uudised-excerpt {
    font-size: 14px;
    color: #555;
}

.uudised-pagination {
    margin-top: 40px;
    text-align: center;
}

.post-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags .tag {
    background: #f2f2f2;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.post-tags .tag:hover {
    background: #111;
    color: #fff;
}

.tag-hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
}

.tag-title {
    font-size: 42px;
    margin-bottom: 10px;
}

.tag-description {
    opacity: 0.7;
}

.tag-posts .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.tag-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.tag-card:hover {
    transform: translateY(-5px);
}

.tag-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tag-card__content {
    padding: 15px;
}

.tag-card__title {
    font-size: 18px;
    margin-bottom: 8px;
}

.tag-card__title a {
    text-decoration: none;
    color: #111;
}

.tag-card__meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.tag-card__excerpt {
    font-size: 14px;
    color: #555;
}

.page .privacy-policy,
.privacy-page {
    max-width: 800px;
    margin: 60px auto;
    line-height: 1.7;
}

.privacy-page h1,
.page h1 {
    font-size: 34px;
    margin-bottom: 20px;
}

.privacy-page h2,
.page h2 {
    margin-top: 25px;
    font-size: 22px;
}

.privacy-page p,
.page p {
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin: 15px 0 25px;
    color: #888;
    font-weight: 400;
}

.breadcrumbs a {
    color: #444;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #f5f5f5;
}

.breadcrumbs a:hover {
    background: #111;
    color: #fff;
}

.breadcrumbs span {
    color: #111;
    font-weight: 500;
    padding: 4px 8px;
}

.breadcrumbs .separator {
    color: #bbb;
    font-size: 12px;
}

/* ===================================
   HOME CONTENT BLOCK
=================================== */

.home-content-block {
    padding: 120px 0;
}

.home-content-block__image {
    overflow: hidden;
    border-radius: 28px;

    box-shadow:
        0 30px 60px rgba(0,0,0,.08);
}

.home-content-block__image img {
    width: 100%;
    transition: transform .6s ease;
}

.home-content-block__image:hover img {
    transform: scale(1.06);
}

.home-content-block__title {
    font-size: clamp(36px,4vw,64px);
    line-height: 1.05;
    margin-bottom: 30px;
    color: #111827;
}

.home-content-block__text {
    font-size: 18px;
    line-height: 1.9;
    color: #4b5563;
}

.home-content-block .btn {
    border: none;
    border-radius: 16px;
    padding: 16px 32px;

    background:
        linear-gradient(
            135deg,
            #7c5cff,
            #5b8cff
        );

    color: white;
    font-weight: 700;
}

.home-slider {
    padding: 120px 0;
    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #ffffff
        );
}

.home-slider__top h2 {
    font-size: 54px;
    font-weight: 800;
    color: #111827;
}

.home-slider .home-content-block {
    background: white;

    border-radius: 32px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
}

.home-slider__image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.card {
    border-radius: 24px !important;

    overflow: hidden;

    box-shadow:
        0 15px 50px rgba(0,0,0,.06);

    transition: .35s;
}

.card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.12);
}

.card-img-top {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.card-body {
    padding: 28px;
}

.card-title {
    font-size: 24px;
    line-height: 1.3;
}

.card .btn {
    border-radius: 12px;
}

/* ===== 404 PAGE MODERN STYLE ===== */

.error-404.not-found {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(124,92,255,0.08), transparent 60%);
}

.error-404 .page-header {
    margin-bottom: 20px;
}

.error-404 .page-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

/* текст */
.error-404 .page-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 25px;
}

/* поиск */
.error-404 .search-form {
    max-width: 420px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
}

.error-404 .search-field {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    outline: none;
    transition: 0.25s ease;
}

.error-404 .search-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124,92,255,0.15);
}

/* кнопка поиска */
.error-404 .search-submit {
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.error-404 .search-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* виджеты блоки */
.error-404 .widget {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* заголовки виджетов */
.error-404 .widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-text);
}

/* списки */
.error-404 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-404 ul li {
    padding: 6px 0;
}

.error-404 ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: 0.2s ease;
}

.error-404 ul li a:hover {
    color: var(--color-primary);
}

/* архив dropdown */
.error-404 select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

/* тег облако */
.error-404 .tagcloud a {
    display: inline-block;
    margin: 4px;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--color-accent-soft);
    color: var(--color-link);
    font-size: 13px !important;
    transition: 0.25s ease;
}

.error-404 .tagcloud a:hover {
    background: var(--color-primary);
    color: #fff;
}

.error-404 .page-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: -0.2px;
}

.archive-item {
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: 0.2s;
}

.archive-item a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.archive-item:hover {
    transform: translateY(-3px);
}

/* COMMENTS WRAPPER */
.comments-area {
    max-width: 850px;
    margin: 80px auto;
    padding: 0 20px;
}

/* TITLE */
.comments-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111827;
}

/* LIST */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* COMMENT CARD */
.comment-item {
    margin-bottom: 20px;
}

.comment-body {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.2s;
}

.comment-body:hover {
    transform: translateY(-2px);
}

/* AVATAR */
.comment-avatar img {
    border-radius: 50%;
}

/* CONTENT */
.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 700;
    color: #111827;
}

/* TEXT */
.comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* REPLY */
.comment-reply a {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #7c5cff;
    text-decoration: none;
    font-weight: 600;
}

.comment-reply a:hover {
    text-decoration: underline;
}

/* CHILD COMMENTS */
.children {
    margin-left: 40px;
    margin-top: 15px;
}

/* FORM */
.comment-form {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 18px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 12px;
    font-size: 14px;
}

.comment-form textarea {
    min-height: 120px;
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #7c5cff, #5b8cff);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
}

/* =========================================================
   BUILDER TEMPLATE
========================================================= */

.builder-page {
    background: var(--color-bg);
    padding-bottom: 40px;
}

.builder-page__hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 220px;
    padding: 56px 0;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(124, 92, 255, 0.10) 0%,
            rgba(124, 92, 255, 0.04) 35%,
            rgba(255, 255, 255, 1) 75%
        );
}

.builder-page__hero::before {
    content: none;
}

.builder-page__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--color-text);
}

.builder-section {
    padding: clamp(50px, 6vw, 90px) 0;
}

.builder-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.builder-section__title {
    margin: 0 0 26px;
    font-size: clamp(26px, 3.5vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--color-text);
}

.builder-section__text {
    max-width: 75ch;
    font-size: 18px;
    line-height: 1.85;
    color: var(--color-text-muted);
}

.builder-section__text p {
    margin-bottom: 18px;
}

.builder-section__text p:last-child {
    margin-bottom: 0;
}

.builder-text-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.builder-text-media--reverse {
    grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
}

.builder-text-media--reverse .builder-text-media__media {
    order: -1;
}

.builder-text-media__image-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.builder-text-media__image-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.builder-text-media__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}

.builder-text-media__image-link:hover .builder-text-media__image {
    transform: scale(1.08);
}

.builder-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.builder-text-media__content h2,
.builder-text-media__content h3 {
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.builder-text-media__content p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.builder-section,
.builder-text-media {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .builder-text-media,
    .builder-text-media--reverse,
    .builder-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .builder-text-media--reverse .builder-text-media__media {
        order: 0;
    }

    .builder-section__text {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .builder-page__hero {
        min-height: 160px;
        padding: 44px 0;
    }

    .builder-section {
        padding: 40px 0;
    }

    .builder-section__title {
        font-size: 28px;
    }
}

/* DEFAULT PAGE TEMPLATE */

.page-main {
    background: #ffffff;
}

.page-hero {
    padding: 64px 0 36px;
    text-align: center;
    background: radial-gradient(
        circle at center,
        rgba(124, 92, 255, 0.10) 0%,
        rgba(124, 92, 255, 0.04) 35%,
        #ffffff 75%
    );
}

.page-hero__title {
    margin: 0;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.page-content-section {
    padding: 44px 0 80px;
}

.page-content-card {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 50px rgba(15,23,42,0.06);
    padding: 44px;
}

.page-content-card .entry-content {
    margin: 0;
}

.page-content-card .entry-content > *:first-child {
    margin-top: 0;
}

.page-content-card .entry-content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 46px 0 28px;
    }

    .page-hero__title {
        font-size: 34px;
    }

    .page-content-section {
        padding: 32px 0 60px;
    }

    .page-content-card {
        padding: 28px;
        border-radius: 18px;
    }
}

/* CONTACT FORM STYLE */

.page-content-card .wpcf7 {
    max-width: 760px;
    margin: 0 auto;
}

.page-content-card .wpcf7 p {
    margin: 0 0 22px;
}

.page-content-card .wpcf7 label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.page-content-card .wpcf7 input[type="text"],
.page-content-card .wpcf7 input[type="email"],
.page-content-card .wpcf7 input[type="url"],
.page-content-card .wpcf7 input[type="tel"],
.page-content-card .wpcf7 textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
    transition: 0.25s ease;
}

.page-content-card .wpcf7 input:focus,
.page-content-card .wpcf7 textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.page-content-card .wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

.page-content-card .wpcf7 input[type="submit"] {
    width: 100%;
    margin-top: 6px;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-content-card .wpcf7-spinner {
    display: block;
    margin: 16px auto 0;
}