/*
Theme Name: Tradíciókért Alapítvány
Version: 1.0.0
Text Domain: tradiciokert
*/

:root {
    --color-primary: #F5A623;
    --color-primary-dark: #D98A13;
    --color-black: #111111;
    --color-dark: #111111;
    --color-white: #ffffff;
    --color-gray: #666666;
    --color-light: #F8F7F3;
    --color-border: #e8e4dc;

    --green: #DDF1E6;
    --yellow: #FFE3A3;
    --purple: #DDC8F4;

    --font-heading: 'Barlow Condensed', Impact, sans-serif;
    --font-body: 'Nunito', Arial, sans-serif;

    --container: 1320px;
    --pad: 32px;
    --transition: .25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* HEADER */

#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #eee;
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.site-logo-text {
    display: none;
}

#primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

#primary-navigation a {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: relative;
}

#primary-navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: .25s;
}

#primary-navigation a:hover::after,
#primary-navigation .current-menu-item a::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn--primary,
.header-cta .btn {
    background: var(--color-primary);
    color: #111;
    border-color: var(--color-primary);
}

.btn--primary:hover,
.header-cta .btn:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn--outline {
    background: #fff;
    border-color: #111;
    color: #111;
}

.btn--outline:hover {
    background: #111;
    color: #fff;
}

/* HERO */

.hero-section {
    position: relative;
    min-height: 720px;
    padding: 80px 0 65px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 55% 80% at 72% 50%, rgba(245,166,35,.055), transparent 70%),
        radial-gradient(ellipse 30% 55% at 8% 90%, rgba(245,166,35,.045), transparent 72%),
        #fff;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 570px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(74px, 6.9vw, 124px);
    line-height: .86;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-headline .highlight {
    display: inline-block;
    color: #111;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.hero-headline .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7%;
    height: 70%;
    background: var(--color-primary);
    z-index: -1;
    transform: rotate(-1.5deg);
}

.hero-desc {
    max-width: 470px;
    font-size: 17px;
    color: #555;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 44px;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #777;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid #dedede;
    border-radius: 999px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    width: 5px;
    height: 9px;
    border-radius: 999px;
    background: var(--color-primary);
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
}

/* HERO COLLAGE */

.hero-visual {
    height: 620px;
    position: relative;
}

.hero-blob {
    position: absolute;
    width: 660px;
    height: 590px;
    left: 0;
    top: 18px;
    overflow: hidden;
    background: #ddd;
    border-radius: 41% 59% 48% 52% / 42% 36% 64% 58%;
    z-index: 2;
    box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.hero-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-small {
    position: absolute;
    overflow: hidden;
    border: 9px solid #fff;
    background: #ddd;
    box-shadow: 0 18px 42px rgba(0,0,0,.12);
    z-index: 5;
}

.hero-card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-small--1 {
    width: 395px;
    height: 195px;
    right: -10px;
    top: 28px;
    border-radius: 28px;
    transform: rotate(3deg);
}

.hero-card-small--2 {
    width: 360px;
    height: 245px;
    right: -8px;
    bottom: 78px;
    border-radius: 28px;
    transform: rotate(-3deg);
}

.hero-logo-badge {
    position: absolute;
    width: 134px;
    height: 134px;
    left: 370px;
    bottom: 48px;
    background: #ffffff;
    border-radius: 50%;
    border: 9px solid #ffffff;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
    overflow: hidden;
}

.hero-logo-badge img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    object-position: center;
    filter: none;
    display: block;
}

/* ECSETVONÁSOK */

.hero-brush--1,
.page-hero::before,
#site-footer.site-footer-premium::before {
    background: #111;
    border-radius: 0;
    mask-image:
        radial-gradient(circle at 8% 28%, transparent 0 7px, #000 8px),
        linear-gradient(#000, #000);
    -webkit-mask-image:
        radial-gradient(circle at 8% 28%, transparent 0 7px, #000 8px),
        linear-gradient(#000, #000);
}

.hero-brush--1 {
    position: absolute;
    left: -40px;
    bottom: 34px;
    width: 230px;
    height: 24px;
    transform: rotate(-2deg);
    clip-path: polygon(
        0 26%, 8% 16%, 18% 22%, 31% 10%, 46% 18%,
        61% 7%, 76% 18%, 100% 12%,
        100% 74%, 86% 83%, 70% 73%, 55% 91%,
        37% 78%, 21% 88%, 8% 73%, 0 80%
    );
}

.hero-brush--1::before,
.hero-brush--1::after,
.page-hero::before,
#site-footer.site-footer-premium::before {
    clip-path: polygon(
        0 28%, 8% 16%, 18% 24%, 31% 9%, 46% 20%,
        61% 8%, 76% 19%, 100% 11%,
        100% 76%, 86% 84%, 70% 72%, 55% 92%,
        37% 77%, 21% 89%, 8% 73%, 0 82%
    );
}

.hero-brush--2 {
    position: absolute;
    left: 48%;
    bottom: 165px;
    width: 30px;
    height: 30px;
}

.hero-brush--2::before,
.hero-brush--2::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 36px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 999px;
}

.hero-brush--2::before {
    transform: rotate(45deg);
}

.hero-brush--2::after {
    transform: rotate(-45deg);
}

/* BASIC */

.section-label,
.stats-label,
.cta-label {
    display: block;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: .98;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(44px, 4vw, 66px);
}

h3 {
    font-size: 32px;
}

p {
    color: #666;
}

/* MISSION */

.mission-section {
    padding: 80px 0 70px;
    background: #fff;
}

.mission-header {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 50px;
}

.mission-title {
    max-width: 380px;
}

.mission-desc-col {
    max-width: 520px;
}

.mission-desc-col p {
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 20px;
}

.value-card {
    text-align: center;
    padding: 44px 34px !important;
    border-left: 1px solid #e9e4dc;
    background: transparent;
    transition: .25s ease;
}

.value-card:first-child {
    border-left: 0;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-icon {
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 26px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

.value-icon::before {
    font-size: 42px !important;
    line-height: 1;
}

.value-icon--yellow {
    background: var(--color-primary);
}

.value-icon--yellow::before {
    content: "👥";
}

.value-icon--black {
    background: #111;
    color: #fff;
}

.value-icon--black::before {
    content: "🧠";
}

.value-icon--green {
    background: #CDEFE0;
}

.value-icon--green::before {
    content: "📱";
}

.value-icon--purple {
    background: #DCC8F3;
}

.value-icon--purple::before {
    content: "🤝";
}

.value-card h4 {
    font-size: 30px !important;
    margin-bottom: 16px !important;
    line-height: .95 !important;
}

.value-card p {
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #444 !important;
    max-width: 260px;
    margin: 0 auto;
}

/* PROGRAMS */

.programs-section {
    padding: 70px 0 70px;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.link-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.program-card {
    position: relative;
    border: 0;
    background: transparent;
    border-radius: 26px;
    overflow: visible;
    transition: .25s;
}

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

.program-card__image {
    height: 160px;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card__body {
    min-height: 180px;
    padding: 26px 28px 64px;
    border-radius: 0 0 26px 26px;
}

.program-card:nth-child(1) .program-card__body {
    background: var(--green);
}

.program-card:nth-child(2) .program-card__body {
    background: var(--yellow);
}

.program-card:nth-child(3) .program-card__body {
    background: var(--purple);
}

.program-card__badge {
    display: none;
}

.program-card__icon {
    position: absolute;
    top: -24px;
    left: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card__icon--green {
    background: #CDEFE0;
}

.program-card__icon--yellow {
    background: var(--color-primary);
}

.program-card__icon--purple {
    background: #CDB0EA;
}

.program-card__body h3 {
    font-size: 34px;
    margin-bottom: 12px;
}

.program-card__body p {
    font-size: 15px;
    line-height: 1.55;
}

.program-card__footer {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.btn-circle {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(0,0,0,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-circle svg {
    width: 18px;
    height: 18px;
}

/* STATS */

.stats-section {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

.stats-section .container {
    max-width: 100%;
    padding: 0;
}

.stats-inner {
    background: #111;
    min-height: 210px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.stats-inner::before {
    content: '';
    position: absolute;
    left: -45px;
    top: -10px;
    width: 63%;
    height: 120%;
    background: #111;
    z-index: 1;
    clip-path: polygon(
        0 0, 96% 0, 99% 8%, 97% 18%, 100% 30%,
        96% 42%, 99% 58%, 95% 70%, 98% 84%, 93% 100%,
        0 100%
    );
}

.stats-left {
    position: relative;
    z-index: 2;
    padding: 42px 70px 42px 10%;
}

.stats-label {
    color: #fff;
    font-size: 22px;
    font-family: var(--font-heading);
    letter-spacing: .02em;
}

.stats-counters {
    display: flex;
    gap: 52px;
    margin-top: 26px;
    align-items: center;
}

.stat-item {
    color: #fff;
}

.stat-item__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.stat-item__icon::before {
    font-size: 26px;
    line-height: 1;
}

.stat-item__icon--green {
    background: #CDEFE0;
}

.stat-item__icon--green::before {
    content: "👥";
}

.stat-item__icon--purple {
    background: #CDB0EA;
}

.stat-item__icon--purple::before {
    content: "📅";
}

.stat-item__icon--yellow {
    background: var(--color-primary);
}

.stat-item__icon--yellow::before {
    content: "🤲";
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: .9;
    font-weight: 900;
    color: #fff;
}

.stat-item__label {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}

.stats-image {
    height: 210px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA */

.cta-section {
    padding: 0;
    background: var(--color-primary);
    overflow: hidden;
}

.cta-section .container {
    max-width: 100%;
    padding: 0;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 240px;
}

.cta-inner > div:first-child {
    padding: 48px 70px 48px 10%;
    position: relative;
    background: var(--color-primary);
}

.cta-inner > div:first-child::after {
    content: '';
    position: absolute;
    right: -95px;
    top: 0;
    width: 190px;
    height: 100%;
    background: #fff;
    clip-path: polygon(18% 0, 100% 0, 75% 100%, 0 100%);
    z-index: 1;
}

.cta-inner > div:first-child > * {
    position: relative;
    z-index: 2;
}

.cta-label {
    color: rgba(0,0,0,.7);
}

.cta-inner h2 {
    font-size: 46px;
    margin-bottom: 12px;
}

.cta-inner p {
    max-width: 500px;
    color: rgba(0,0,0,.72);
    margin-bottom: 26px;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-quote {
    min-height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    position: relative;
}

.cta-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.2);
}

.quote-box {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    max-width: 520px;
}

.quote-box blockquote {
    font-size: 28px;
    line-height: 1.25;
    color: #fff;
    font-style: italic;
}

.quote-box cite {
    display: block;
    margin-top: 18px;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* INNER PAGES */

.page-hero,
body.page .page-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 85px !important;
    background:
        radial-gradient(circle at 82% 28%, rgba(245,166,35,.14), transparent 34%),
        linear-gradient(180deg, #fbf8ef 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #eee3d3 !important;
}

.page-hero::before {
    content: '';
    position: absolute;
    left: -45px;
    bottom: 38px;
    width: 260px;
    height: 24px;
    background: #111;
    transform: rotate(-2deg);
    clip-path: polygon(
        0 28%, 8% 16%, 18% 24%, 31% 9%, 46% 20%,
        61% 8%, 76% 19%, 100% 11%,
        100% 76%, 86% 84%, 70% 72%, 55% 92%,
        37% 77%, 21% 89%, 8% 73%, 0 82%
    );
}

.page-hero::after {
    content: '';
    position: absolute;
    right: 6%;
    top: 22%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .section-label,
.page-hero span {
    color: #F5A623 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
}

.page-hero h1,
body.page .page-hero h1 {
    position: relative;
    display: inline-block;
    max-width: 920px !important;
    font-size: clamp(56px, 6vw, 92px) !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #111 !important;
    z-index: 2;
}

.page-hero h1 strong,
.page-hero h1 .highlight {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    z-index: 2;
}

.page-hero h1 strong::before,
.page-hero h1 .highlight::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10%;
    height: 58%;
    background: #F5A623;
    z-index: -1;
    transform: rotate(-1.5deg);
    border-radius: 4px;
}

.content-area,
body.page .content-area,
body.page main,
body.page #primary {
    padding: 90px 0 120px !important;
    background: #fff !important;
}

.entry-content,
.page-content,
body.page article .entry-content {
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 0 34px !important;
}

.entry-content p,
.page-content p,
body.page article p {
    font-size: 19px !important;
    line-height: 1.95 !important;
    color: #424242 !important;
    margin-bottom: 28px !important;
    max-width: 860px !important;
}

.entry-content p:first-of-type,
.page-content p:first-of-type {
    font-size: 22px !important;
    line-height: 1.85 !important;
    color: #222 !important;
    font-weight: 600 !important;
}

.entry-content h2,
.page-content h2 {
    position: relative;
    font-size: clamp(40px, 4vw, 62px) !important;
    margin: 68px 0 28px !important;
    color: #111 !important;
}

.entry-content h2::after,
.page-content h2::after {
    content: '';
    display: block;
    width: 86px;
    height: 7px;
    background: #F5A623;
    border-radius: 999px;
    margin-top: 16px;
}

.entry-content h3,
.page-content h3 {
    font-size: 36px !important;
    margin: 48px 0 20px !important;
}

.entry-content img,
.page-content img {
    border-radius: 22px !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.12) !important;
    transition: .3s ease;
}

.entry-content img:hover,
.page-content img:hover {
    transform: translateY(-4px);
}

.entry-content .wp-block-gallery,
.page-content .wp-block-gallery,
.gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 42px !important;
}

.entry-content .wp-block-gallery img,
.page-content .wp-block-gallery img,
.gallery img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
}

/* FOOTER */

#site-footer.site-footer-premium {
    position: relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(245,166,35,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%);
    border-top: 1px solid #eee3d3;
    padding: 70px 0 28px;
    overflow: hidden;
}

#site-footer.site-footer-premium::before {
    content: '';
    position: absolute;
    left: -55px;
    top: 42px;
    width: 255px;
    height: 24px;
    background: #111;
    transform: rotate(-2deg);
    clip-path: polygon(
        0 28%, 8% 16%, 18% 24%, 31% 9%, 46% 20%,
        61% 8%, 76% 19%, 100% 11%,
        100% 76%, 86% 84%, 70% 72%, 55% 92%,
        37% 77%, 21% 89%, 8% 73%, 0 82%
    );
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.45fr;
    gap: 54px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.footer-logo img {
    height: 74px;
    width: auto;
    object-fit: contain;
    filter: none !important;
    margin-bottom: 18px;
}

.footer-description {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.75;
    color: #4d4d4d;
}

.footer-col h5,
.footer-contact-card h5 {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 22px;
    position: relative;
}

.footer-col h5::after,
.footer-contact-card h5::after {
    content: '';
    display: block;
    width: 42px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin-top: 10px;
}

.footer-col ul {
    display: grid;
    gap: 11px;
}

.footer-col a {
    color: #4d4d4d;
    font-size: 15px;
    font-weight: 700;
    transition: .25s ease;
}

.footer-col a:hover {
    color: #111;
    padding-left: 6px;
}

.footer-contact-card {
    background: #fff;
    border: 1px solid #eee3d3;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 20px 55px rgba(0,0,0,.07);
}

.footer-contact-list {
    display: grid;
    gap: 14px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    color: #444;
    font-size: 15px;
    font-weight: 700;
}

.footer-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff4dc;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid #eee3d3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 13px;
    color: #666;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-weight: 700;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* RESPONSIVE */

.nav-toggle {
    display: none;
}

@media (max-width: 1200px) {
    :root {
        --container: 1080px;
    }

    .hero-headline {
        font-size: 82px;
    }

    .hero-blob {
        width: 540px;
        height: 510px;
    }

    .hero-card-small--1 {
        width: 330px;
        height: 165px;
    }

    .hero-card-small--2 {
        width: 310px;
        height: 215px;
    }

    .hero-logo-badge {
        left: 300px;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .mission-header,
    .stats-inner,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 70px;
    }

    .hero-visual {
        height: 560px;
    }

    .values-grid,
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-left {
        padding: 42px 32px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 66px;
    }

    #primary-navigation,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
    }

    .nav-toggle span {
        width: 26px;
        height: 2px;
        background: #111;
    }

    #primary-navigation.open {
        display: block;
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 30px;
        z-index: 9999;
    }

    #primary-navigation.open ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-headline {
        font-size: 58px;
    }

    .hero-visual {
        height: 460px;
    }

    .hero-blob {
        width: 100%;
        height: 390px;
        left: 0;
    }

    .hero-card-small--1,
    .hero-card-small--2 {
        display: none;
    }

    .hero-logo-badge {
        left: 20px;
        bottom: 15px;
    }

    .values-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .stats-counters {
        flex-direction: column;
        gap: 24px;
    }

    .cta-inner > div:first-child {
        padding: 42px 24px;
    }

    .cta-inner > div:first-child::after {
        display: none;
    }

    .page-hero {
        padding: 80px 0 65px !important;
    }

    .page-hero h1 {
        font-size: 48px !important;
    }

    .entry-content,
    .page-content {
        padding: 0 20px !important;
    }

    .entry-content p,
    .page-content p {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }

    .entry-content .wp-block-gallery,
    .page-content .wp-block-gallery,
    .gallery {
        grid-template-columns: 1fr !important;
    }

    .entry-content .wp-block-gallery img,
    .page-content .wp-block-gallery img,
    .gallery img {
        height: auto !important;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-contact-card {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    :root {
        --pad: 20px;
    }

    .hero-headline {
        font-size: 46px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* =====================================================
   JOIN FORM SECTION
   ===================================================== */

.join-form-section {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(245,166,35,.08), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbf8ef 100%);
    overflow: hidden;
}

.join-form-section::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 60px;
    width: 240px;
    height: 18px;
    background: #111;
    border-radius: 0 30px 30px 0;
    transform: rotate(-2deg);
}

.join-form-header {
    max-width: 760px;
    margin-bottom: 46px;
}

.join-form-header h2 {
    font-size: clamp(48px, 5vw, 78px);
    margin-bottom: 18px;
}

.join-form-header p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    max-width: 720px;
}

.join-form-box {
    background: #fff;
    border: 1px solid #eee3d3;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 30px 70px rgba(0,0,0,.08);
}

/* CONTACT FORM 7 */

.join-form-box label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #111;
    margin-bottom: 10px;
}

.join-form-box p {
    margin-bottom: 24px;
}

.join-form-box input,
.join-form-box textarea,
.join-form-box select {
    width: 100%;
    border: 2px solid #ece6da;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 16px;
    font-family: inherit;
    transition: .25s ease;
    color: #111;
}

.join-form-box textarea {
    min-height: 180px;
    resize: vertical;
}

.join-form-box input:focus,
.join-form-box textarea:focus,
.join-form-box select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(245,166,35,.12);
}

.join-form-box input::placeholder,
.join-form-box textarea::placeholder {
    color: #999;
}

.join-form-box .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 34px;
    border: 0;
    border-radius: 14px;
    background: var(--color-primary);
    color: #111;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s ease;
}

.join-form-box .wpcf7-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.join-form-box .wpcf7-list-item {
    margin: 0;
}

.join-form-box .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    color: #555;
}

@media (max-width: 768px) {

    .join-form-section {
        padding: 80px 0;
    }

    .join-form-box {
        padding: 28px;
        border-radius: 24px;
    }

    .join-form-header h2 {
        font-size: 52px;
    }
}

/* =====================================================
   CSATLAKOZZ OLDAL – PREMIUM FORM DESIGN
   ===================================================== */

body.page .content-area,
body.page main,
body.page #primary {
    padding: 90px 0 120px !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(245,166,35,.08), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbf8ef 100%) !important;
}

body.page .entry-content,
body.page .page-content {
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
}

/* Contact Form 7 wrapper */
.wpcf7 {
    max-width: 760px;
    margin: 0 auto;
}

.wpcf7 form {
    background: #ffffff;
    border: 1px solid #eee3d3;
    border-radius: 34px;
    padding: 54px;
    box-shadow: 0 30px 80px rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
}

.wpcf7 form::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 34px;
    width: 210px;
    height: 22px;
    background: #111;
    transform: rotate(-2deg);
    clip-path: polygon(
        0 28%, 8% 16%, 18% 24%, 31% 9%, 46% 20%,
        61% 8%, 76% 19%, 100% 11%,
        100% 76%, 86% 84%, 70% 72%, 55% 92%,
        37% 77%, 21% 89%, 8% 73%, 0 82%
    );
}

/* Label */
.wpcf7 label {
    display: block;
    margin-bottom: 22px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #111;
}

/* Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    margin-top: 10px;
    border: 2px solid #eee3d3;
    background: #fbfaf6;
    border-radius: 16px;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: .25s ease;
}

.wpcf7 textarea {
    min-height: 190px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(245,166,35,.14);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999;
    font-weight: 500;
}

/* Acceptance */
.wpcf7 .wpcf7-acceptance {
    display: block;
    margin: 18px 0 30px;
}

.wpcf7 .wpcf7-acceptance label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #444;
    margin-bottom: 0;
}

.wpcf7 .wpcf7-acceptance input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--color-primary);
}

/* Submit */
.wpcf7 input[type="submit"] {
    min-height: 60px;
    padding: 0 42px;
    border: 0;
    border-radius: 14px;
    background: var(--color-primary);
    color: #111;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s ease;
    box-shadow: 0 14px 34px rgba(245,166,35,.28);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Messages */
.wpcf7-response-output {
    border-radius: 16px !important;
    padding: 16px 20px !important;
    font-weight: 700;
    margin: 24px 0 0 !important;
}

.wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #b00020;
}

/* Mobil */
@media (max-width: 768px) {
    body.page .content-area,
    body.page main,
    body.page #primary {
        padding: 60px 0 90px !important;
    }

    .wpcf7 form {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}

/* GALÉRIA DÁTUM / META ELREJTÉSE – ERŐSEBB */
.gallery-card .entry-meta,
.gallery-card .post-meta,
.gallery-card__meta,
.gallery-item .entry-meta,
.gallery-item .post-meta,
.gallery-item__meta,
.gallery-grid .entry-meta,
.gallery-grid .post-meta,
.gallery-grid .gallery-meta,
.gallery-grid .meta,
.gallery-grid .date,
.gallery-grid .posted-on,
.gallery-grid time,
.gallery-grid small,
.archive .gallery-card time,
.archive .gallery-card small,
.card-meta,
.posted-on {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
