:root {
    --op-neutral-600: #717379;
    --op-neutral-800: #0E121E;
    --op-primary: #FF344C;
    --op-blue: #1F3584;
    --op-white: #FFFFFF;
    --op-navy: #26385E;
    --op-pink: #FFEFF1;
    --op-primary-dark: #DC1E35;
    --op-soft-blue: #EDEFF5;
    --op-neutral-700: #53565E;
    --op-neutral-500: #BEC1C8;
    --op-neutral-400: #E0E2E7;
    --op-neutral-300: #F2F2F4;
    --op-neutral-200: #F7F8F9;
    --op-font: "THICCCBOI", Thicccboi, sans-serif;
    --op-container: 1268px;
	--op-test: red;
}

/* Header and footer are owned by Blocksy in v3.1+.
 * Only the page-title/entry-title chrome is suppressed on the generated OnePage. */
body.onepage-generated .hero-section[data-type="type-1"],
body.onepage-generated .page-title,
body.onepage-generated .entry-header {
    display: none !important;
}

body.onepage-generated {
    margin: 0;
    background: var(--op-white);
    color: var(--op-neutral-600);
    font-family: var(--op-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6em;
}
body.onepage-generated *,
body.onepage-generated *::before,
body.onepage-generated *::after { box-sizing: border-box; }
body.onepage-generated .site-main,
body.onepage-generated .ct-container,
body.onepage-generated .ct-container-full,
body.onepage-generated .entry-content,
body.onepage-generated article.page {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}
body.onepage-generated .entry-content > * { margin-block: 0; }
body.onepage-generated h1,
body.onepage-generated h2,
body.onepage-generated h3,
body.onepage-generated h4,
body.onepage-generated h5,
body.onepage-generated h6,
body.onepage-generated p,
body.onepage-generated button,
body.onepage-generated input,
body.onepage-generated textarea { font-family: var(--op-font); }
body.onepage-generated h1,
body.onepage-generated h2,
body.onepage-generated h3,
body.onepage-generated h4,
body.onepage-generated h5,
body.onepage-generated h6 { color: var(--op-neutral-800); }

.onepage-section {
    position: relative;
    padding: 200px 0;
    overflow: clip;
}
.onepage-section__inner {
    width: 100%;
    max-width: var(--op-container);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

/* Hero geometry/styles follow the supplied reference page. */
.onepage-hero {
    min-height: 0;
    background-color: var(--op-blue);
    background-image: url("https://cdn.prod.website-files.com/6185c69c75a5f80c46540ed5/61896c7ffc538a7adf3cd8d2_home-hero-pattern-politician-template.svg");
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    color: var(--op-soft-blue);
    display: flex;
    align-items: flex-start;
    padding-top: 36px;
    padding-bottom: 88px;
    overflow: hidden;
}
.onepage-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.onepage-hero__grid > .wp-block-group:first-child {
    max-width: 500px;
    margin-top: 36px;
    align-self: start;
    position: relative;
    z-index: 2;
}
.onepage-hero__title {
    margin: 0 0 24px;
    color: var(--op-white) !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 114px;
    font-weight: 800;
    line-height: 1em;
    overflow-wrap: normal;
    word-break: normal;
}
.onepage-hero__copy {
    margin: 0;
    max-width: 500px;
    color: var(--op-soft-blue);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6em;
}
.onepage-hero__image {
    position: relative;
    width: 100%;
    max-width: 674px;
    margin: 0;
    justify-self: end;
    align-self: center;
    z-index: 1;
    line-height: 0;
}
.onepage-hero__image::before {
    content: "";
    position: absolute;
    width: 99%;
    aspect-ratio: 1;
    left: 50%;
    top: 58.5%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0 84.7%, var(--op-primary) 84.9% 100%);
    z-index: -1;
}
.onepage-hero__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.onepage-hero__buttons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 24px;
    margin-top: 32px !important;
}
.onepage-hero__buttons .wp-block-button { margin: 0 !important; }
.onepage-hero__buttons .wp-block-button__link {
    border-radius: 8px !important;
    padding: 24px 36px !important;
    font-family: var(--op-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: border-color .3s, transform .3s, color .3s, background-color .3s !important;
}
.onepage-hero__button-primary .wp-block-button__link {
    border: 1px solid transparent !important;
    background: #FFFFFF !important;
    color: var(--op-primary) !important;
}
.onepage-hero__button-primary .wp-block-button__link:hover,
.onepage-hero__button-primary .wp-block-button__link:focus-visible {
    border-color: #FFFFFF !important;
    background: transparent !important;
    color: #FFFFFF !important;
    transform: translateY(2px);
}
.onepage-hero__button-secondary .wp-block-button__link {
    border: 1px solid #FFFFFF !important;
    background: transparent !important;
    color: #FFFFFF !important;
}
.onepage-hero__button-secondary .wp-block-button__link:hover,
.onepage-hero__button-secondary .wp-block-button__link:focus-visible {
    border-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: var(--op-neutral-800) !important;
    transform: translateY(2px);
}

/* Native Gutenberg Grid blocks. WordPress owns display/grid behaviour; custom CSS only adds project styling. */
.onepage-objectives-section { background: var(--op-white); }
.onepage-videos-section { background: var(--op-neutral-200); }
.onepage-objectives-grid,
.onepage-videos-grid {
    width: 100%;
    margin: 0 !important;
}
.onepage-objectives-grid > *,
.onepage-videos-grid > * { min-width: 0; }

.onepage-single-section-title {
    width: 100%;
    margin: 0 0 48px !important;
    color: var(--op-primary) !important;
    font-size: 38px;
    line-height: 1.15em;
    font-weight: 800;
    text-align: center;
    letter-spacing: -.01em;
}

/* Native Gutenberg YouTube embeds. */
.onepage-videos-grid > .wp-block-embed {
    min-width: 0;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--op-neutral-300);
    border-radius: 16px;
    background: #0E121E;
    box-shadow: 0 8px 24px rgba(14,18,30,.08);
}
.onepage-videos-grid .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.onepage-videos-grid .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: 0;
}

/* Exact in-page anchor alignment. */
html { scroll-padding-top: 0 !important; scroll-behavior: smooth; }
#vizia, #videa, #kontakt { scroll-margin-top: 0 !important; }

/* Contact: all content is native Gutenberg; CF7 is only embedded via core/shortcode. */
.onepage-contact-section { background: var(--op-white); }
.onepage-contact__grid {
    display: grid !important;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.7fr);
    gap: 28px;
    align-items: start;
    margin: 0 !important;
}
.onepage-contact__grid > .wp-block-column { min-width: 0; margin: 0 !important; }
.onepage-contact__card {
    padding: 40px;
    border: 1px solid var(--op-neutral-300);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(14,18,30,.055);
}
.onepage-contact__card-title {
    margin: 0 0 30px !important;
    color: var(--op-neutral-800) !important;
    font-size: 30px;
    line-height: 1.15em;
    font-weight: 800;
}
.onepage-contact__label {
    margin: 28px 0 4px !important;
    color: var(--op-neutral-800) !important;
    font-size: 17px;
    line-height: 1.35em;
    font-weight: 800;
}
.onepage-contact__details > .onepage-contact__label:first-of-type { margin-top: 0 !important; }
.onepage-contact__details p { margin: 0 !important; color: var(--op-neutral-700); }
.onepage-contact__details a { color: var(--op-neutral-700); text-decoration: none; }
.onepage-contact__details a:hover,
.onepage-contact__details a:focus-visible { color: var(--op-primary); }
.onepage-contact__socials { gap: 10px !important; margin: 32px 0 0 !important; }
.onepage-contact__socials .wp-social-link {
    background: var(--op-blue) !important;
    color: #fff !important;
    border-radius: 999px !important;
    transition: transform .25s ease, background .25s ease;
}
.onepage-contact__socials .wp-social-link:hover { background: var(--op-primary) !important; transform: translateY(-2px); }
.onepage-contact__form .wpcf7,
.onepage-contact__form .wpcf7-form { width: 100%; }
.onepage-contact__form .wpcf7-form p { margin: 0 0 20px; }
.onepage-contact__form .wpcf7-form label {
    display: block;
    color: var(--op-neutral-800);
    font-size: 16px;
    line-height: 1.35em;
    font-weight: 700;
}
.onepage-contact__form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.onepage-contact__form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.onepage-contact__form textarea,
.onepage-contact__form select {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    border: 1px solid var(--op-neutral-400);
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: var(--op-neutral-800);
    font: inherit;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.onepage-contact__form textarea { min-height: 190px; resize: vertical; }
.onepage-contact__form input:focus,
.onepage-contact__form textarea:focus,
.onepage-contact__form select:focus {
    border-color: var(--op-blue);
    box-shadow: 0 0 0 3px rgba(31,53,132,.08);
}
.onepage-contact__form input[type="submit"] {
    appearance: none;
    min-height: 52px;
    padding: 14px 26px;
    border: 0;
    border-radius: 8px;
    background: var(--op-primary);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.onepage-contact__form input[type="submit"]:hover,
.onepage-contact__form input[type="submit"]:focus-visible { background: var(--op-primary-dark); transform: translateY(-1px); }
.onepage-contact__form .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 14px !important; border-radius: 8px; }

/* Webflow-like reveal motion retained as a tiny enhancement, not as a layout system. */
.onepage-reveal {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition: opacity 1000ms cubic-bezier(.165,.84,.44,1), transform 1000ms cubic-bezier(.165,.84,.44,1);
    transition-delay: var(--onepage-reveal-delay, 200ms);
    will-change: opacity, transform;
}
.onepage-reveal.onepage-reveal--top { transform: translate3d(0, -100px, 0); }
.onepage-reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

@media (min-width: 1440px) {
    .onepage-hero__grid { grid-template-columns: .75fr 1fr; }
}
@media (max-width: 991px) {
    .onepage-section { padding-top: 120px; padding-bottom: 120px; }
    .onepage-hero { background-size: auto 60%; padding-top: 44px; padding-bottom: 88px; display: block; }
    .onepage-hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; align-items: center; }
    .onepage-hero__grid > .wp-block-group:first-child { max-width: 500px; margin-top: 0; margin-inline: auto; align-self: center; }
    .onepage-hero__title { font-size: 100px; }
    .onepage-hero__copy { margin-inline: auto; }
    .onepage-hero__image { width: 80%; max-width: 674px; margin-inline: auto; justify-self: center; }
    .onepage-hero__buttons { justify-content: center; }
    .onepage-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .onepage-section { padding-top: 100px; padding-bottom: 100px; }
    .onepage-hero { padding-top: 52px; padding-bottom: 76px; }
    .onepage-hero__title { font-size: 80px; }
    .onepage-hero__image { width: 90%; }
    .onepage-single-section-title { margin-bottom: 38px !important; font-size: 34px; }
    .onepage-videos-grid > .wp-block-embed { border-radius: 12px; }
    .onepage-contact__card { padding: 32px 26px; }
    .onepage-contact__card-title { font-size: 27px; }
}
@media (max-width: 479px) {
    .onepage-section__inner { padding-inline: 16px; }
    .onepage-hero { padding-top: 42px; padding-bottom: 64px; }
    .onepage-hero__title { margin-bottom: 18px; font-size: 64px; }
    .onepage-hero__image { width: 100%; }
    .onepage-single-section-title { font-size: 30px; }
    .onepage-hero__buttons { flex-direction: column; gap: 16px; width: 100%; }
    .onepage-hero__buttons .wp-block-button,
    .onepage-hero__buttons .wp-block-button__link { width: 100% !important; }
    .onepage-hero__buttons .wp-block-button__link { padding-top: 18px !important; padding-bottom: 18px !important; display: block; }
    .onepage-contact__card { padding: 28px 20px; border-radius: 12px; }
    .onepage-contact__form textarea { min-height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    .onepage-reveal,
    .onepage-reveal.onepage-reveal--top { opacity: 1 !important; transform: none !important; transition: none !important; }
}
