/*
Theme Name: Podhubie
Description: Vizuál Podhubia podľa dizajn manuálu. Odvodená bloková šablóna Fewer.
Author: Podhubie
Template: fewer
Version: 1.3.1
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: podhubie
*/

@font-face { font-family: "Daxline Pro"; src: url("assets/fonts/DaxlinePro-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Daxline Pro"; src: url("assets/fonts/DaxlinePro-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Daxline Pro"; src: url("assets/fonts/DaxlinePro-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Daxline Pro"; src: url("assets/fonts/DaxlinePro-ExtraBold.otf") format("opentype"); font-weight: 800; font-style: normal; font-display: swap; }

:root { --ph-ink: #194348; --ph-paper: #faf9f6; --ph-orange: #f68a1e; --ph-teal: #27bdbe; --ph-purple: #8f52a0; --ph-line: #d5dfda; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
*, *::before, *::after { box-sizing: border-box; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ph-purple); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
.wp-site-blocks > *, .ph-main > * { margin-block-start: 0; }
.ph-shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.ph-header { border-bottom: 1px solid var(--ph-line); }
.ph-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 25px; }
.ph-header-inner > *, .ph-brand > * { margin-block: 0; }
.ph-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ph-brand-symbol { width: 80px; margin: 0; }
.ph-brand-symbol img { display: block; }
.ph-brand-name { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ph-brand-name a { color: var(--ph-ink); text-decoration: none; }
.ph-brand-name span { display: block; font-size: 11px; font-weight: 400; letter-spacing: .015em; margin-top: 6px; }
.ph-navigation .wp-block-navigation__container { gap: 32px; }
.ph-nav-cta > a { background: var(--ph-ink); color: white !important; border-radius: 100px; padding: 12px 23px; }
.ph-nav-cta > a:hover { background: #285b61; }
.ph-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 50px; align-items: center; padding-block: 80px 88px; }
.ph-hero > * { margin-block: 0; min-width: 0; }
.ph-eyebrow { font-size: 12px; letter-spacing: .15em; font-weight: 500; line-height: 1.5; margin: 0 0 24px; }
.ph-hero h1 { font-size: clamp(3.25rem, 6.5vw, 6rem); letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.ph-highlight { color: var(--ph-purple); }
.ph-lead { font-size: 19px; line-height: 1.6; max-width: 470px; margin-block: 28px; }
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { border-radius: 100px; padding: 15px 24px; font-size: 16px; font-weight: 500; line-height: 1.4; border: 1px solid transparent; transition: background-color .18s, transform .18s; text-decoration: none; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid var(--ph-ink); color: var(--ph-ink); padding: 15px 24px; background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ph-ink); color: white; }
.ph-hero-note { font-size: 13px; color: #456367; margin-top: 20px; }
.ph-hero-art { position: relative; aspect-ratio: 1 / 1.04; display: grid; place-items: center; isolation: isolate; }
.ph-hero-art::before { content: ""; position: absolute; inset: 8% 0 2%; background: #eeebf2; border-radius: 48% 48% 43% 43%; z-index: -1; transform: rotate(-8deg); }
.ph-hero-art::after { content: "+"; position: absolute; right: 5%; bottom: 12%; font-size: 70px; line-height: 1; color: var(--ph-purple); font-weight: 300; transform: rotate(12deg); }
.ph-hero-art > * { margin: 0; }
.ph-art-label { position: absolute; top: 15%; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .19em; }
.ph-network { width: 94%; transform: rotate(-8deg); }
.ph-network img { display: block; width: 100%; }
.ph-sticker { position: absolute; padding: 9px 22px; border: 1px solid var(--ph-ink); border-radius: 100px; font-size: 17px; font-weight: 500; line-height: 1.4; box-shadow: 3px 4px 0 var(--ph-ink); }
.ph-sticker-orange { top: 23%; left: -2%; background: var(--ph-orange); transform: rotate(-12deg); }
.ph-sticker-purple { top: 25%; right: 0; color: white; background: var(--ph-purple); transform: rotate(9deg); }
.ph-sticker-teal { bottom: 17%; left: 6%; background: var(--ph-teal); transform: rotate(5deg); }
.ph-art-caption { position: absolute; bottom: 5%; left: 40%; font-size: 13px; line-height: 1.4; transform: rotate(-5deg); }
.ph-section { padding-top: 76px; border-top: 1px solid var(--ph-line); }
.ph-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.ph-intro-grid > * { margin: 0; }
.ph-intro-grid h2, .ph-mission h2, .ph-join h2, .ph-news h2 { margin-top: 0; }
.ph-intro-grid p { max-width: 480px; }
.ph-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.ph-benefits > * { margin: 0; }
.ph-card { border-radius: 20px; padding: 30px; min-width: 0; }
.ph-card-orange { background: #fff0df; }
.ph-card-teal { background: #e1f3f0; }
.ph-card-purple { background: #efe8f3; }
.ph-card-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; margin: 0 0 46px; }
.ph-card h3 { font-size: 26px; line-height: 1.15; margin: 0 0 16px; }
.ph-card p:last-child { font-size: 16px; line-height: 1.6; margin: 0; }
.ph-mission { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 100px; }
.ph-mission > * { margin-block: 0; }
.ph-mission-copy > p:not(.ph-eyebrow) { max-width: 460px; }
.ph-text-link a { font-weight: 500; }
.ph-mission-poster { padding: 38px 42px; background: var(--ph-ink); color: var(--ph-paper); border-radius: 8px 80px 8px 8px; transform: rotate(2deg); }
.ph-mission-top { font-size: 15px; margin: 0 0 40px; }
.ph-mission-statement { font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin: 0 0 40px; }
.ph-mission-statement span { color: var(--ph-teal); }
.ph-mission-poster .ph-eyebrow { margin: 0; }
.ph-news { padding-bottom: 80px; }
.ph-news h2 { margin-bottom: 36px; }
.ph-news-query .wp-block-post-template { gap: 24px; }
.ph-news-card { padding: 28px 0; border-top: 1px solid var(--ph-ink); }
.ph-news-date { font-size: 13px; color: #456367; }
.ph-news-card .wp-block-post-title { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.2; margin-block: 16px; max-width: 500px; }
.ph-news-card .wp-block-post-title a { text-decoration: none; }
.ph-news-card .wp-block-post-title a:hover { text-decoration: underline; }
.ph-news-card .wp-block-post-excerpt { font-size: 16px; }
.ph-news-card .wp-block-post-excerpt__more-link { font-weight: 500; }
.ph-join { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ph-orange); padding: 48px 56px; border-radius: 24px; }
.ph-join > * { margin: 0; }
.ph-join h2 { margin-bottom: 16px; }
.ph-join .ph-eyebrow { margin-bottom: 16px; }
.ph-join-copy > p:last-child { margin: 0; }
.ph-join .wp-block-button__link { white-space: nowrap; background: var(--ph-ink); color: white; }
.ph-partner-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px 72px; font-size: 15px; }
.ph-partner-line > * { margin: 0; }
.ph-footer { background: var(--ph-ink); color: var(--ph-paper); padding-top: 56px; }
.ph-footer a { color: inherit; }
.ph-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.ph-footer-grid > * { margin: 0; }
.ph-footer-wordmark { font-size: 32px; font-weight: 800; letter-spacing: -.04em; margin: 0 0 16px; }
.ph-footer-brand > p:last-child { font-size: 22px; line-height: 1.35; margin: 0; }
.ph-footer h3 { font-size: 16px; font-weight: 500; letter-spacing: 0; margin: 0 0 20px; }
.ph-footer-contact p, .ph-footer-social p { font-size: 16px; }
.ph-footer-address { opacity: .8; font-size: 14px !important; }
.ph-footer-bottom { border-top: 1px solid #ffffff30; display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; font-size: 12px; }
.ph-footer-bottom > * { margin: 0; }
.ph-page { padding-block: 64px 90px; min-height: 60vh; }
.ph-page > .wp-block-post-title { margin-bottom: 40px; }
.ph-page .wp-block-post-featured-image img { border-radius: 16px; }
.ph-post-navigation { border-top: 1px solid var(--ph-line); padding-top: 24px; margin-top: 48px; font-size: 16px; }
.ph-page .wpforms-container .wpforms-field-label { color: var(--ph-ink); }
.ph-page .wpforms-container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .ph-page .wpforms-container select, .ph-page .wpforms-container textarea { border-radius: 8px; font-family: inherit; }
.ph-page .wpforms-container button[type="submit"] { background: var(--ph-ink); color: white; border: 0; border-radius: 100px; font-family: inherit; padding: 14px 24px; height: auto; }
.wp-block-table { overflow-x: auto; }
.wp-block-table td, .wp-block-table th { padding: 12px; border: 1px solid var(--ph-line); }

@media (max-width: 1000px) {
 .ph-shell { width: calc(100% - 56px); }
 .ph-brand-symbol { width: 60px; }
 .ph-navigation .wp-block-navigation__container { gap: 20px; }
 .ph-hero { gap: 24px; padding-block: 56px; }
 .ph-hero h1 { font-size: clamp(3rem, 6.5vw, 5rem); }
 .ph-intro-grid, .ph-mission { gap: 48px; }
 .ph-card { padding: 24px; }
 .ph-card h3 { font-size: 23px; }
 .ph-join { padding: 40px; }
}
@media (max-width: 781px) {
 .ph-hero { grid-template-columns: 1fr; gap: 20px; }
 .ph-hero h1 { font-size: clamp(3.5rem, 10vw, 5.5rem); }
 .ph-hero-art { width: min(100%, 450px); justify-self: center; }
 .ph-intro-grid, .ph-mission { grid-template-columns: 1fr; gap: 28px; }
 .ph-intro-grid p { max-width: 100%; }
 .ph-benefits { grid-template-columns: 1fr; gap: 16px; }
 .ph-card-number { margin-bottom: 26px; }
 .ph-mission { padding-block: 64px; }
 .ph-mission-poster { max-width: 500px; width: 100%; justify-self: center; }
 .ph-section { padding-top: 48px; }
 .ph-news { padding-bottom: 48px; }
 .ph-join { flex-direction: column; align-items: flex-start; }
 .ph-partner-line { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 48px; }
 .ph-footer-grid { grid-template-columns: 1fr 1fr; }
 .ph-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
 .ph-shell { width: calc(100% - 40px); }
 .ph-header-inner { padding-block: 20px; gap: 16px; }
 .ph-brand-symbol { width: 52px; }
 .ph-brand-name { font-size: 23px; }
 .ph-brand-name span { font-size: 10px; }
 .ph-hero { padding-block: 40px 48px; }
 .ph-hero h1 { font-size: clamp(2.8rem, 12vw, 4.25rem); }
 .ph-lead { font-size: 18px; }
 .ph-eyebrow { font-size: 10px; }
 .ph-hero-copy .wp-block-buttons { flex-direction: column; align-items: stretch; }
 .ph-hero-copy .wp-block-button, .ph-hero-copy .wp-block-button__link { width: 100%; text-align: center; }
 .ph-sticker { font-size: 14px; padding: 8px 16px; }
 .ph-art-label { font-size: 9px; }
 .ph-art-caption { font-size: 11px; }
 .ph-mission-poster { padding: 32px; }
 .ph-join { padding: 32px 24px; border-radius: 18px; }
 .ph-join .wp-block-button__link { white-space: normal; }
 .ph-footer-grid { grid-template-columns: 1fr; gap: 32px; }
 .ph-footer-bottom { flex-direction: column; gap: 6px; }
 .ph-page { padding-block: 40px 60px; }
 .ph-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
 .ph-navigation .is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 24px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .wp-block-button__link { transition: none; }
 .wp-block-button__link:hover { transform: none; }
}
