@charset "utf-8";

/*
Theme Name:   NXT Event Planner
Theme URI:    https://novexthemes.com/product/nxt-event-planner-wordpress-theme/
Author:       NovexThemes
Author URI:   https://novexthemes.com
Description:  NXT Event Planner is a modern, flexible theme designed for event organizers, planners, and conference managers. Built with clean code and full compatibility with the latest WordPress standards, it offers responsive layouts that look perfect on all devices. The theme is easy to customize. With easy color and typography controls, users can personalize their site without coding knowledge. NXT Event Planner is optimized for speed, SEO-friendly, and translation-ready, making it suitable for global audiences. Whether youâ€™re managing corporate events, weddings, workshops, or festivals, this theme helps you showcase every detail professionally.
Version:      1.3
Requires at least: 5.5
Requires PHP: 7.4
Tested up to: 7.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  nxt-event-planner
Tags:         blog, custom-background, custom-logo
*/

@font-face {
    font-family: "Space Grotesk";
    src: url("assets/fonts/space-grotesk/SpaceGrotesk-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("assets/fonts/space-grotesk/SpaceGrotesk-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("assets/fonts/space-grotesk/SpaceGrotesk-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("assets/fonts/space-grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Bitter";
    src: url("assets/fonts/bitter/Bitter-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Bitter";
    src: url("assets/fonts/bitter/Bitter-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Bitter";
    src: url("assets/fonts/bitter/Bitter-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Bitter";
    src: url("assets/fonts/bitter/Bitter-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
    --font-serif: "Bitter", Georgia, serif;
    --font-mono: "JetBrains Mono", Consolas, monospace;

    --color-ink: #152028;
    --color-ink-soft: #495b66;
    --color-ink-muted: #6d7f89;
    --color-paper: #f4f1eb;

    /* === MASTER BRAND COLOR ===
       Change ONLY this to re-theme the whole site. Everything below derives
       from it, so surfaces, banner, borders and accents follow automatically. */
    --color-brand: #6F33BD;

    /* Brand shades (darker / lighter) for hovers and gradients. */
    --color-brand-2: color-mix(in srgb, var(--color-brand), #000 22%);
    --color-brand-3: color-mix(in srgb, var(--color-brand), #fff 20%);

    /* Button hover color. Change this to control button hover. */
    /* --color-brand-hover: color-mix(in srgb, var(--color-brand), #000 14%); */
    --color-brand-hover: #6f33bdb2;

    /* Brand-tinted neutral surfaces. */
    --color-surface: color-mix(in srgb, var(--color-brand) 3%, #ffffff);
    --color-surface-2: color-mix(in srgb, var(--color-brand) 9%, #ffffff);
    --color-line: color-mix(in srgb, var(--color-brand) 20%, #ffffff);

    /* Soft brand tints (banner, cards, quotes, highlights). */
    --color-tint-soft: color-mix(in srgb, var(--color-brand) 6%, #ffffff);
    --color-tint: color-mix(in srgb, var(--color-brand) 13%, #ffffff);

    --shadow-sm: 0 4px 12px rgba(21, 32, 40, 0.07);
    --shadow-md: 0 14px 30px rgba(21, 32, 40, 0.1);
    --shadow-lg: 0 28px 56px rgba(21, 32, 40, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --container: 1220px;
    --content-max: 790px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 2rem;
    --space-8: 2.5rem;
    --space-9: 3rem;

    --header-h: 106px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--color-brand);
    text-underline-offset: 0.15em;
    transition: color 0.22s var(--ease), opacity 0.22s var(--ease);
}

a:hover,
a:focus {
    color: var(--color-brand-2);
}

p {
    margin-block-end: .9rem;
    margin-block-start: 0rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--space-5);
    color: var(--color-ink);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

ul,
ol {
    margin: 0 0 var(--space-5);
    padding-left: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

th,
td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
}

th {
    background: var(--color-surface-2);
    color: var(--color-ink);
}

blockquote {
    margin: var(--space-7) 0;
    padding: var(--space-5) var(--space-6);
    border-left: 4px solid var(--color-brand);
    background: var(--color-tint-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

code,
kbd,
pre,
samp {
    font-family: var(--font-mono);
}

pre {
    overflow: auto;
    background: #1f2932;
    color: #f8fafc;
    padding: var(--space-5);
    border-radius: var(--radius-md);
}

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

button,
input[type="submit"],
.wp-element-button,
.wp-block-button__link {
    border: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(125deg, var(--color-brand), var(--color-brand-3));
    color: #ffffff;
    padding: 0.68em 1.15em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
    transform: translateY(-1px);
    background: linear-gradient(125deg, var(--color-brand-hover), var(--color-brand-3));
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.search-field:focus-visible,
.menu-toggle:focus-visible,
.submenu-toggle:focus-visible {
    outline: 2px solid var(--color-brand-2);
    outline-offset: 2px;
}

.container {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.site {
    overflow: clip;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-to-content.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    background: #fff;
    border-radius: var(--radius-sm);
    color: var(--color-ink);
    display: block;
    height: auto;
    left: 12px;
    padding: 12px 16px;
    top: 12px;
    width: auto;
    z-index: 100000;
}

/* Header */
.site-header {
    /* Customizer-overridable color tokens (defaults = light theme). */
    --hdr-bg: #ffffff;
    --hdr-submenu-bg: #ffffff;
    --hdr-text: var(--color-ink);
    --hdr-accent: var(--color-brand);
    --hdr-border: color-mix(in srgb, var(--hdr-text) 12%, transparent);
    --hdr-accent-line: 3px;

    position: relative;
    z-index: 1000;
    background: var(--hdr-bg);
    color: var(--hdr-text);
    border-bottom: var(--hdr-accent-line) solid var(--hdr-accent);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    min-height: var(--header-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.header-utility {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--hdr-border);
}

.utility-text {
    margin: 0;
    color: color-mix(in srgb, var(--hdr-text) 75%, transparent);
}

.utility-location {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
}

.utility-location-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: var(--hdr-accent);
    flex-shrink: 0;
}

.utility-location-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.utility-location .utility-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utility-social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.utility-social:empty {
    display: none;
}

.utility-social-link {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: var(--hdr-text) !important;
    background: color-mix(in srgb, var(--hdr-text) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--hdr-text) 14%, transparent);
    transition: all 0.2s var(--ease);
}

.utility-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.utility-social-link:hover {
    color: var(--hdr-bg) !important;
    background: var(--hdr-accent);
    border-color: var(--hdr-accent);
}

.header-main {
    min-height: calc(var(--header-h) - 36px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-6);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.custom-logo {
    width: auto;
    max-height: 44px;
    border-radius: 0;
}

.site-branding-text {
    min-width: 0;
}

.site-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.1;
}

.site-title a {
    color: var(--hdr-text) !important;
    text-decoration: none;
}

.site-description {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--hdr-text) 65%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44ch;
}

.header-right-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    justify-self: end;
}

.header-search {
    margin-right: var(--space-2);
}

.header-search .search-form {
    position: relative;
    margin: 0;
}

.header-search .search-field {
    background: color-mix(in srgb, var(--hdr-text) 6%, transparent) !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid color-mix(in srgb, var(--hdr-text) 18%, transparent) !important;
}

.search-field {
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--hdr-text, #eef4f5) 18%, transparent);
    border-radius: var(--radius-pill);
    padding: 0.58rem 2.55rem 0.58rem 0.88rem;
    background: color-mix(in srgb, var(--hdr-text, #eef4f5) 6%, transparent);
    color: var(--hdr-text, #eef4f5);
}

.search-field::placeholder {
    color: color-mix(in srgb, var(--hdr-text, #eef4f5) 56%, transparent);
}

.header-search .search-field {
    width: 240px;
}

.header-search .search-submit, .search-submit {
    position: absolute;
    right: 0.26rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    display: inline-grid;
    place-items: center;
    background: var(--hdr-accent);
}

.search-icon {
    width: 14px;
    height: 14px;
}

.main-navigation {
    position: relative;
    justify-self: center;
}

.menu-wrapper,
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .menu-wrapper,
.main-navigation .menu-wrapper > ul {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.main-navigation li {
    position: relative;
    margin: 0;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: color-mix(in srgb, var(--hdr-text) 88%, transparent) !important;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.62rem 0.78rem;
    border-radius: 0.65rem;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: color-mix(in srgb, var(--hdr-accent) 17%, transparent);
    color: var(--hdr-accent) !important;
}

.main-navigation .menu-item-has-children > a {
    padding-right: 2.15rem;
}

.main-navigation .submenu-toggle {
    position: absolute;
    top: 35%;
    right: 0.28rem;
    transform: translateY(-50%);
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border-radius: 6px;
    background: transparent;
    color: currentColor;
    border: 1px solid transparent;
}

.submenu-toggle-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s var(--ease);
}

.submenu-toggle[aria-expanded="true"] .submenu-toggle-icon {
    transform: rotate(180deg);
}

.main-navigation ul ul {
    position: absolute;
    left: 0;
    top: calc(100% + 0.4rem);
    min-width: 220px;
    display: grid;
    gap: 1px;
    padding: var(--space-2);
    background: var(--hdr-submenu-bg);
    border: 1px solid color-mix(in srgb, var(--hdr-text) 10%, transparent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s var(--ease);
    z-index: 99;
}

.main-navigation ul ul a {
    padding: 0.72rem 0.75rem;
    border-radius: var(--radius-sm);
    color: color-mix(in srgb, var(--hdr-text) 90%, transparent) !important;
    text-transform: none;
    letter-spacing: 0.02em;
}

.main-navigation li.submenu-open > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .main-navigation li:not(.submenu-close):hover > ul,
    .main-navigation li:not(.submenu-close).focus > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--hdr-text);
    border: 1px solid color-mix(in srgb, var(--hdr-text) 25%, transparent);
    border-radius: 10px;
    width: 44px;
    height: 40px;
    padding: 0;
    position: relative;
    z-index: 10001;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    margin-left: -9px;
    background: currentColor;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
    content: "";
}

.menu-toggle-icon {
    top: 50%;
}

.menu-toggle-icon::before {
    transform: translateY(-6px);
}

.menu-toggle-icon::after {
    transform: translateY(6px);
}

.menu-toggle.toggled .menu-toggle-icon {
    background: transparent;
}

.menu-toggle.toggled .menu-toggle-icon::before {
    transform: rotate(45deg);
}

.menu-toggle.toggled .menu-toggle-icon::after {
    transform: rotate(-45deg);
}

/* Main layout */
.site-content {
    padding: var(--space-7) 0 0;
}

.elementor-page .site-content {
    padding-top: 0;
}

.home-hero {
    margin: 0 0 var(--space-8);
}

.home-hero .container {
    position: relative;
    background: linear-gradient(145deg, var(--color-tint-soft), var(--color-tint));
    border: 1px solid var(--color-line);
    border-radius: clamp(20px, 4vw, 34px);
    padding: clamp(2.2rem, 6vw, 4.6rem) clamp(1rem, 5vw, 4rem);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
}

.home-hero .container::before,
.home-hero .container::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
}

.home-hero .container::before {
    width: 360px;
    height: 360px;
    top: -180px;
    right: -160px;
    background: color-mix(in srgb, var(--color-brand) 16%, transparent);
}

.home-hero .container::after {
    width: 280px;
    height: 280px;
    bottom: -130px;
    left: -130px;
    background: color-mix(in srgb, var(--color-brand-2) 18%, transparent);
}

.home-hero-title,
.home-hero-description {
    position: relative;
    z-index: 1;
}

.home-hero-title {
    margin-bottom: var(--space-3);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--color-ink);
}

.home-hero-description {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    color: var(--color-ink-soft);
}

.page-header {
    margin-bottom: var(--space-8);
}

.page-header .container {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    box-shadow: var(--shadow-sm);
}

.page-title {
    margin: 0;
    font-family: var(--font-serif);
}

.content-wrapper {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(1.2rem, 2.8vw, 2.8rem);
    align-items: start;
}

.site-main {
    min-width: 0;
}

.article-list {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.post-card-image-wrapper {
    position: relative;
    min-height: clamp(210px, 34vw, 320px);
}

.post-card-image {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.post-card-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
    z-index: 1;
    pointer-events: none;
}

.post-card-meta-top {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: var(--space-5);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    color: #fff;
}

.meta-left,
.meta-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.meta-right {
    margin-left: auto;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.58rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.meta-category a {
    color: inherit;
    text-decoration: none;
}

.post-card-title-overlay {
    display: none;
}

.post-card-content {
    padding: clamp(1.1rem, 3vw, 1.75rem);
}

.post-card h2,
.post-card-title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-family: var(--font-serif);
}
.post-card .meta-comments a {
    color: var(--color-paper);
}
.post-card h2 a,
.post-card-title a {
    text-decoration: none;
    color: var(--color-ink);
}

.post-card h2 a:hover,
.post-card-title a:hover {
    color: var(--color-brand);
}

.post-card-excerpt p {
    margin: 0;
    color: var(--color-ink-soft);
}

.post-card-footer {
    margin-top: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.post-card-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--color-brand) 10%, #ffffff);
    color: var(--color-brand);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.52rem 0.9rem;
}

.post-card-more:hover {
    background: color-mix(in srgb, var(--color-brand) 17%, #ffffff);
    color: var(--color-brand);
}

/* Sidebar */
.widget-area {
    position: sticky;
    top: 1.2rem;
}

.widget {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: 0 0 var(--space-5);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-line);
    font-size: 1.15rem;
    font-family: var(--font-serif);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin: 0;
}

.widget li + li {
    margin-top: var(--space-3);
}

.widget ul li a {
    text-decoration: none;
    color: var(--color-ink-soft);
}

.widget ul li a:hover {
    color: var(--color-brand);
}

.widget_search .search-form {
    position: relative;
}

.widget_search .search-submit {
    background: var(--color-brand);
}

#wp-calendar {
    width: 100%;
}

#wp-calendar #today {
    color: var(--color-brand);
    font-weight: 700;
}

.tagcloud a,
.tags-links a {
    display: inline-block;
    /* text-decoration: none; */
    border: 1px solid #d7e2e2;
    border-radius: var(--radius-pill);
    background: #eff6f6;
    color: #1a5254;
    padding: 0.22rem 0.65rem;
    margin: 0 0.36rem 0.36rem 0;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tagcloud a:hover,
.tags-links a:hover {
    background: var(--color-brand);
    color: #fff;
    border-color: var(--color-brand);
}

.tag-label {
    font-weight: 700;
    font-size: 0.82rem;
    margin-right: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-ink-muted);
}

/* Pagination */
.pagination,
.navigation.pagination {
    margin-top: var(--space-8);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.page-numbers {
    min-width: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 var(--space-3);
    border-radius: var(--radius-pill);
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    color: var(--color-ink-soft);
    font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

/* Single and page */
.single-post-wrapper {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.page-full-width-wrapper {
    grid-template-columns: minmax(0, 1fr);
}

.single-post-main,
.page-main {
    max-width: var(--content-max);
}

.page-full-width-wrapper .page-main {
    max-width: none;
}

.single .site-main,
.page .site-main {
    /* background: var(--color-surface); */
    /* border: 1px solid var(--color-line); */
    /* border-radius: var(--radius-lg); */
    padding: clamp(1.1rem, 3vw, 2.5rem);
    /* box-shadow: var(--shadow-sm); */
}

.entry-header {
    margin-bottom: var(--space-7);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-line);
}

.entry-title {
    margin-bottom: var(--space-4);
    font-family: var(--font-serif);
    overflow-wrap: anywhere;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.single-post-meta .meta-item {
    background: #f1ece2;
    color: #5f4a36;
    font-size: 0.7rem;
}

.entry-content {
    color: var(--color-ink-soft);
}

.entry-content > * + * {
    margin-top: var(--space-5);
}

.entry-featured-image {
    margin-bottom: var(--space-6);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    color: var(--color-ink);
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.entry-content a,
.comment-content a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.entry-content img {
    box-shadow: var(--shadow-sm);
}

.page-links {
    margin-top: var(--space-6);
    font-weight: 700;
}

/* Comments */
.comments-area {
    margin-top: var(--space-8);
    border-top: 1px solid var(--color-line);
    padding-top: var(--space-7);
}

.comments-title {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    margin-bottom: var(--space-5);
}

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

.comment {
    margin-bottom: var(--space-4);
}

.comment-body {
    background: #fffaf4;
    border: 1px solid #eadcca;
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.comment-header {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.comment-author-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.comment-date {
    font-size: 0.82rem;
    color: var(--color-ink-muted);
}

.comment-content {
    margin-top: var(--space-4);
}

.comment-reply-link {
    display: inline-block;
    margin-top: var(--space-3);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.comment-respond {
    margin-top: var(--space-7);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.85rem;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.comment-form-cookies-consent input {
    margin: 0;
}

/* Footer */
.footer-side {
    background-color: #121111;
    color: #cccccc;
    line-height: 1.7;
}

/* Gap above footer on standard templates; Elementor pages handle their own spacing. */
body:not(.elementor-page) .footer-side {
    margin-top: var(--space-9);
}

.footer-widget {
    padding: var(--space-8) 0 var(--space-7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-7);
}

.footer-row[data-columns="1"] { grid-template-columns: 1fr; }
.footer-row[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.footer-row[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }

.footer-area {
    margin-bottom: var(--space-5);
}

.footer-area .widget-title,
.footer-area .title {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 var(--space-5);
    padding-bottom: var(--space-3);
    position: relative;
}

.footer-area .widget-title::after,
.footer-area .title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-brand);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-area a {
    color: #cccccc !important;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.footer-area a:hover,
.footer-area a:focus {
    color: var(--color-brand) !important;
    text-decoration: underline;
}

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

.footer-area ul li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-area ul li:last-child {
    border-bottom: none;
}

.footer-area ul li a::before {
    content: '\203A';
    margin-right: 6px;
    color: var(--color-brand);
}

.footer-area p {
    color: #bbbbbb;
    margin-bottom: var(--space-3);
}

.footer-area #searchform div,
.footer-area .search-form {
    display: flex;
    gap: 6px;
}

.footer-area .search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.footer-area .search-field::placeholder {
    color: #aaaaaa;
}

.footer-area .search-submit {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-brand);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    /* font-size: 0.875rem; */
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-area .search-submit:hover,
.footer-area .search-submit:focus {
    background-color: #ffffff;
    color: var(--color-brand);
}

/* Footer copyright bar */
.footer-copyright {
    background-color: var(--color-brand);
    padding: 14px 0;
}

.footer-copyright .site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-copyright .site-info p {
    margin: 0;
    color: #ffffff;
}

.footer-copyright a {
    color: #ffffff !important; 
    font-weight: 700;
    text-decoration: none;
}

.footer-copyright a:hover,
.footer-copyright a:focus {
    text-decoration: underline;
}

/* Animation hooks for existing JS */
.post-card.card-hidden {
    opacity: 0;
    transform: translateY(24px);
}

.post-card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.comment.comment-hidden {
    opacity: 0;
    transform: translateY(14px);
}

.comment.comment-visible {
    opacity: 1;
    transform: translateY(0);
}

.post-card,
.comment {
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.28s var(--ease);
}

.dynamic-bg-placeholder {
    background: linear-gradient(150deg, var(--color-brand-2), var(--color-brand) 44%, var(--color-brand-3));
}

.dynamic-bg-applied {
    filter: saturate(1.08);
}

.home .site-description,
.front-page .site-description {
    display: block;
}

/* Block styles */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--color-brand);
    border: 2px solid var(--color-brand);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--color-brand);
    color: #fff;
}

.wp-block-quote.is-style-border-left {
    border-left: 4px solid var(--color-brand);
    background: var(--color-tint-soft);
    padding-left: 1.2rem;
}

.hero-section {
    border-radius: var(--radius-md);
    padding: var(--space-8);
    background: linear-gradient(140deg, var(--color-tint-soft), var(--color-tint));
}

/* Required WordPress classes */
.wp-caption {
    max-width: 100%;
    margin-bottom: var(--space-5);
}

.wp-caption img {
    margin-bottom: var(--space-2);
}

.wp-caption-text {
    color: var(--color-ink-muted);
    font-size: 0.84rem;
}

.sticky {
    border: 1px solid #c3b6a4;
    box-shadow: var(--shadow-md);
}

.gallery-caption {
    color: var(--color-ink-muted);
    font-size: 0.84rem;
}

.bypostauthor {
    position: relative;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

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

/* Responsive */
@media (max-width: 1080px) {
    .content-wrapper,
    .single-post-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .widget-area {
        position: static;
        top: auto;
    }

    .single-post-main,
    .page-main {
        max-width: 100%;
    }

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

@media (max-width: 900px) {
    .header-search {
        display: none;
    }

    .header-utility {
        display: none;
    }

    .header-main {
        min-height: var(--header-h);
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-main .main-navigation {
        justify-self: end;
    }

    .header-right-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 78px;
    }

    .container,
    .content-wrapper {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .site-header .container {
        min-height: var(--header-h);
    }

    .site-branding {
        min-width: 0;
    }

    .site-description {
        display: none;
    }

    .header-right-wrapper {
        gap: var(--space-2);
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-navigation .menu-wrapper,
    .main-navigation .menu-wrapper > ul {
        display: none;
    }

    .main-navigation.toggled .menu-wrapper,
    .main-navigation.toggled .menu-wrapper > ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000;
        width: 100vw;
        min-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: var(--space-5) var(--space-4) var(--space-6);
        background: var(--hdr-submenu-bg);
        backdrop-filter: blur(10px);
    }

    .main-navigation.toggled .menu-wrapper > li,
    .main-navigation.toggled .menu-wrapper > ul > li {
        width: 100%;
    }

    .main-navigation.toggled a {
        width: 100%;
        border-radius: var(--radius-sm);
        font-size: 0.96rem;
        padding: 0.9rem 0.95rem;
        color: color-mix(in srgb, var(--hdr-text) 95%, transparent);
    }

    .main-navigation.toggled .menu-item-has-children > a {
        padding-right: 2.8rem;
    }

    .main-navigation.toggled .submenu-toggle {
        right: 0.8rem;
        width: 2rem;
        height: 2rem;
    }

    .main-navigation.toggled .menu-wrapper ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        min-width: 0;
        display: none;
        margin-top: var(--space-2);
        box-shadow: none;
        border: 0;
        border-left: 2px solid color-mix(in srgb, var(--hdr-accent) 35%, transparent);
        border-radius: 0;
        padding: 0 0 0 var(--space-3);
        background: transparent;
    }

    .main-navigation.toggled .menu-item-has-children.submenu-open > ul {
        display: grid;
    }

    .main-navigation.toggled .menu-wrapper ul ul .submenu-toggle {
        right: 0.5rem;
    }

    .main-navigation.toggled .menu-wrapper ul ul a {
        font-size: 0.95rem;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .post-card-meta-top {
        padding: var(--space-4);
    }

    .meta-right {
        margin-left: 0;
    }

    .home-hero .container {
        padding: var(--space-8) var(--space-4);
    }

    .single-post-meta {
        gap: var(--space-2);
    }

    .footer-row,
    .footer-row[data-columns="2"],
    .footer-row[data-columns="3"],
    .footer-row[data-columns="4"] {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
    }

    .footer-copyright .site-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .site-title {
        font-size: 1.2rem;
    }

    .site-description {
        display: none;
    }

    .meta-item {
        font-size: 0.64rem;
    }

    .footer-row,
    .footer-row[data-columns="2"],
    .footer-row[data-columns="3"],
    .footer-row[data-columns="4"] {
        grid-template-columns: 1fr;
    }
}

/* Custom Theme Style */
.site-content .elementor > div:first-child {
    padding-top: 0;
}

/* Site Loader */
.nxt-site-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.nxt-site-loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.nxt-site-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

.nxt-site-loader__image {
    max-width: 160px;
    height: auto;
    border-radius: 0;
}

.nxt-site-loader__spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--color-brand) 25%, transparent);
    border-top-color: var(--color-brand);
    animation: nxt-site-loader-spin 0.8s linear infinite;
}

@keyframes nxt-site-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
