/*
Theme Name: Lubomír Bobák – Osobná stránka
Theme URI: https://lubomirbobak.sk/
Author: OpenAI
Description: Ľahká, responzívna WordPress téma pre osobnú prezentáciu, projekty a články.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lubomirbobak
*/
:root{--ink:#20332d;--muted:#64736d;--paper:#f8f8f3;--white:#fff;--green:#315d4b;--green-dark:#234537;--lime:#d8e3c5;--sand:#e9e5d8;--line:#e3e7df;--shadow:0 18px 55px rgba(32,51,45,.08);--radius:22px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:var(--green);text-decoration:none}a:hover{color:var(--green-dark)}button,input,textarea{font:inherit}.container{width:min(var(--max),calc(100% - 44px));margin-inline:auto}.skip-link{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px}.skip-link:focus{left:10px;z-index:9999}.site-header{position:sticky;top:0;z-index:100;background:rgba(248,248,243,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(227,231,223,.85)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:800;letter-spacing:-.04em;font-size:19px;line-height:1.15}.brand small{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-top:5px}.custom-logo{max-height:48px;width:auto}.main-navigation ul{display:flex;align-items:center;gap:28px;list-style:none;padding:0;margin:0}.main-navigation a{color:var(--ink);font-size:14px;font-weight:650}.main-navigation a:hover{color:var(--green)}.main-navigation .current-menu-item>a{color:var(--green)}.menu-toggle{display:none;border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 12px;border-radius:12px;cursor:pointer}.hero{padding:78px 0 64px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:66px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.eyebrow:before{content:"";width:24px;height:2px;background:#91a77b}.hero h1{font-size:clamp(42px,5.2vw,68px);line-height:1.04;letter-spacing:-.065em;margin:19px 0 23px;max-width:660px;font-weight:780}.hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:500;color:var(--green);letter-spacing:-.055em}.hero-copy{font-size:18px;line-height:1.75;color:var(--muted);max-width:570px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 19px;border-radius:999px;background:var(--green);color:#fff;font-size:14px;font-weight:750;border:1px solid var(--green);transition:transform .2s,background .2s}.button:hover{background:var(--green-dark);color:#fff;transform:translateY(-2px)}.button-outline{background:transparent;color:var(--ink);border-color:#cfd8ce}.button-outline:hover{color:#fff;border-color:var(--green)}.hero-visual{position:relative;min-height:480px;border-radius:32px;background:linear-gradient(145deg,#e7eadc 0%,#d4dfc8 48%,#b9cbb1 100%);overflow:hidden;isolation:isolate}.hero-visual:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.34);top:-90px;right:-75px;z-index:-1}.hero-visual:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(49,93,75,.2);bottom:-90px;left:-50px;z-index:-1}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-placeholder{position:absolute;inset:0;display:flex;align-items:flex-end;padding:30px;background:linear-gradient(180deg,transparent 35%,rgba(24,48,37,.62) 100%);color:#fff}.hero-placeholder strong{font-size:24px;letter-spacing:-.03em;max-width:260px;line-height:1.15}.hero-note{position:absolute;top:25px;left:25px;background:rgba(255,255,255,.84);backdrop-filter:blur(8px);padding:10px 14px;border-radius:14px;color:var(--green-dark);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.section{padding:74px 0}.section-white{background:#fff}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:30px}.section-kicker{color:var(--green);font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800}.section h2,.page-heading{font-size:clamp(30px,3.5vw,44px);letter-spacing:-.055em;line-height:1.13;margin:8px 0 0}.section-intro{max-width:520px;color:var(--muted);margin:0}.text-link{font-size:14px;font-weight:800;white-space:nowrap}.text-link span{display:inline-block;margin-left:5px;transition:transform .2s}.text-link:hover span{transform:translateX(4px)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card{padding:27px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-height:220px;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.feature-number{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#edf1e6;color:var(--green);font-weight:800;font-size:13px;margin-bottom:25px}.feature-card h3{font-size:20px;letter-spacing:-.035em;margin:0 0 8px}.feature-card p{color:var(--muted);margin:0;font-size:15px}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.about-aside{padding:30px;border-radius:var(--radius);background:var(--green);color:#fff;position:relative;overflow:hidden}.about-aside:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.2);border-radius:50%;right:-60px;bottom:-65px}.about-aside .quote-mark{font-family:Georgia,serif;font-size:60px;line-height:.9;color:var(--lime)}.about-aside p{font-size:22px;line-height:1.35;letter-spacing:-.03em;position:relative;z-index:1}.about-aside small{color:#d5e0d7;font-weight:700}.about-copy p{color:var(--muted);margin-top:0}.about-copy .button{margin-top:12px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}#clanky {
    padding-bottom: 80px !important;
}.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .2s,box-shadow .2s}.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.post-thumb{aspect-ratio:1.55;background:linear-gradient(135deg,#e5eadc,#c8d5c0);overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.post-card:hover .post-thumb img{transform:scale(1.04)}.post-thumb-empty{height:100%;display:grid;place-items:center;color:rgba(49,93,75,.5);font-family:Georgia,serif;font-size:50px}.post-body{padding:22px}.post-meta{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:750}.post-body h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #203A63 !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin: 15px 0 !important;
    min-height: 34px;
}

.post-body h3 a {
    display: inline !important;
    color: #203A63 !important;
    visibility: visible !important;
}.post-body h3 a{color:var(--ink)}.post-body p{font-size:14px;color:var(--muted);margin:0 0 18px}.post-read{font-size:13px;font-weight:800}.cta-band{padding:46px;background:var(--lime);border-radius:28px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-band h2{font-size:clamp(27px,3vw,38px);margin:0;letter-spacing:-.05em;max-width:630px}.cta-band p{margin:10px 0 0;color:#516257}.site-footer{background:#20372e;color:#e8eee8;padding:48px 0 24px}.footer-top{display:flex;justify-content:space-between;gap:35px;align-items:flex-start;padding-bottom:35px}.footer-brand{font-size:20px;font-weight:800;letter-spacing:-.04em}.footer-description{color:#bdcbc0;max-width:430px;font-size:14px}.footer-nav{display:flex;flex-wrap:wrap;gap:18px}.footer-nav a{color:#e8eee8;font-size:13px}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#aebdb2;font-size:12px}.content-area{padding:60px 0 90px;min-height:55vh}.page-header{margin-bottom:36px}.page-heading{margin-bottom:14px}.archive-description{max-width:720px;color:var(--muted)}.single-layout{max-width:820px;margin-inline:auto}.single-header{margin-bottom:32px}.single-title{font-size:clamp(36px,5vw,58px);line-height:1.08;letter-spacing:-.06em;margin:12px 0 20px}.single-featured{border-radius:var(--radius);overflow:hidden;margin-bottom:32px}.single-featured img{width:100%;max-height:520px;object-fit:cover}.entry-content{font-size:18px;line-height:1.85;color:#34463e}.entry-content h2,.entry-content h3{line-height:1.2;letter-spacing:-.04em;color:var(--ink);margin-top:1.7em}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content blockquote{border-left:3px solid var(--green);padding:4px 0 4px 22px;margin:28px 0;color:var(--green);font-family:Georgia,serif;font-size:23px}.entry-content img{border-radius:16px}.pagination{display:flex;gap:8px;margin-top:35px}.pagination .page-numbers{padding:9px 13px;border:1px solid var(--line);border-radius:10px}.pagination .current{background:var(--green);color:#fff}.empty-state{padding:40px;border:1px dashed #cbd5ca;border-radius:20px;color:var(--muted)}.comment-respond input,.comment-respond textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}.comment-respond input[type=submit]{width:auto;background:var(--green);color:#fff;border:0;cursor:pointer;padding:12px 18px}.wp-block-button__link{background:var(--green);border-radius:999px}.alignwide{max-width:var(--max);margin-inline:auto}.alignfull{width:100%;max-width:none}.wp-caption{max-width:100%}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}.screen-reader-text:focus{clip:auto;clip-path:none;height:auto;width:auto;left:10px;top:10px;background:#fff;padding:12px;z-index:100000}
@media(max-width:900px){.hero-grid{gap:35px;grid-template-columns:1fr  .85fr}.hero-visual{min-height:410px}.feature-grid,.post-grid{grid-template-columns:repeat(2,1fr)}.about-grid{gap:35px}.main-navigation ul{gap:16px}.main-navigation a{font-size:13px}}
@media(max-width:700px){.container{width:min(var(--max),calc(100% - 32px))}.header-inner{min-height:70px}.menu-toggle{display:block}.main-navigation{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 20px 20px}.main-navigation.is-open{display:block}.main-navigation ul{display:flex;align-items:stretch;flex-direction:column;gap:0}.main-navigation li a{display:block;padding:11px 4px;font-size:15px}.hero{padding:48px 0 42px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:clamp(42px,12vw,58px)}.hero-copy{font-size:16px}.hero-visual{min-height:350px}.section{padding:54px 0}.section-head{display:block}.section-intro{margin-top:14px}.section-head .text-link{display:inline-block;margin-top:16px}.feature-grid,.post-grid{grid-template-columns:1fr}.feature-card{min-height:0}.about-grid{grid-template-columns:1fr;gap:24px}.about-aside p{font-size:20px}.cta-band{padding:28px;display:block}.cta-band .button{margin-top:22px}.footer-top{display:block}.footer-nav{margin-top:22px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:6px}.content-area{padding:40px 0 65px}.entry-content{font-size:16px}.post-body{padding:19px}}

/* User-selected images */
.brand-image{width:54px;height:54px;object-fit:cover;border-radius:14px;flex:0 0 auto}.brand .custom-logo-link{display:block;flex:0 0 auto}.brand .custom-logo{max-width:64px;max-height:54px;object-fit:contain}.about-photo{display:block;width:100%;max-width:360px;max-height:280px;object-fit:cover;border-radius:20px;margin:0 0 24px}
/* Contact form and icon contacts */
.footer-contacts{display:grid;gap:11px;margin-top:20px;color:#d8e2da;font-size:14px}.footer-contacts>a,.footer-contacts>span{display:flex;align-items:center;gap:11px;color:inherit}.footer-contacts a:hover,.footer-socials a:hover{color:#fff}.contact-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:10px;flex:0 0 30px}.contact-icon svg,.footer-socials svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.footer-socials{display:flex;gap:10px;margin-top:16px}.footer-socials a{width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;color:#e8eee8}
.footer-socials svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.lb-contact-panel{margin-top:22px;padding:clamp(22px,4vw,40px);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.lb-contact-panel[hidden]{display:none}.lb-contact-form{display:grid;gap:17px}.lb-contact-form label{display:grid;gap:7px;font-size:14px;font-weight:700;color:var(--ink)}.lb-contact-form input,.lb-contact-form textarea{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-weight:400}.lb-contact-form input:focus,.lb-contact-form textarea:focus{outline:2px solid var(--green);outline-offset:2px}.lb-contact-form textarea{resize:vertical}.lb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lb-contact-form .button{justify-self:start;cursor:pointer}.lb-form-notice{padding:14px 18px;border-radius:12px;margin:0 0 16px}.lb-form-notice.success{background:#e8f2e7;color:#245538}.lb-form-notice.error{background:#fff0ed;color:#8c3025}.lb-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:700px){.lb-form-grid{grid-template-columns:1fr}.footer-contacts{margin-top:16px}}
.post-card .post-body {
    display: block;
}

.post-body h3 {
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    color: #203A63 !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
    margin: 15px 0 !important;
}

.post-body {
    position: relative !important;
    z-index: 5 !important;
    background: #ffffff !important;
    min-height: 100px !important;
}

.post-body h3 a {
    color: #203A63 !important;
    font-size: 26px !important;
    visibility: visible !important;
}

#clanky {
    padding-bottom: 80px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

#clanky + section {
    position: relative !important;
    z-index: 1 !important;
    clear: both;
}

@media (max-width: 700px) {
    .post-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        align-items: start !important;
    }

    .post-card {
        display: block !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .post-thumb {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1.55 !important;
        overflow: hidden !important;
    }

    .post-thumb img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .post-card .post-body {
        display: block !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding: 18px 0 !important;
        background: transparent !important;
    }

    .post-card .post-body h3 {
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 12px !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere !important;
    }

    .post-card .post-body p {
        margin: 0 0 14px !important;
    }
}

/* Oprava viditeľnosti názvov a textov článkov */
.post-card .post-body {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    color: #203A63 !important;
}

.post-card .post-body h3,
.post-card .post-body h3 a,
.post-card .post-body p,
.post-card .post-body .post-read {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.post-card .post-body h3 {
    color: #203A63 !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin: 15px 0 !important;
}

.post-card .post-body h3 a {
    color: #203A63 !important;
}

.post-card .post-body p {
    color: #64736d !important;
    font-size: 14px !important;
    margin: 0 0 14px !important;
}

.post-card .post-body .post-read {
    color: #315d4b !important;
}

/* Oprava zobrazenia článkov na počítači */
@media (min-width: 701px) {
    #clanky .post-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: start !important;
    }

    #clanky .post-card {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    #clanky .post-card .post-body {
        display: block !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 150px !important;
        overflow: visible !important;
        padding: 22px !important;
        background: transparent !important;
    }

    #clanky .post-card .post-body h3,
    #clanky .post-card .post-body h3 a,
    #clanky .post-card .post-body p,
    #clanky .post-card .post-body .post-read {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
}

/* Kruhová fotografia na úvodnej stránke */
.hero-visual {
    width: min(100%, 460px) !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    justify-self: center;
}

.hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

@media (max-width: 700px) {
    .hero-visual {
        width: min(100%, 350px) !important;
        min-height: 0 !important;
    }
}

/* Kruhové logo v hornej navigačnej lište */
.site-header .custom-logo {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

/* Zobrazenie názvov a textov na stránke Všetky články */
body.page .post-grid .post-card .post-body {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 150px !important;
    overflow: visible !important;
    padding: 22px !important;
    background: #fff !important;
    color: #203A63 !important;
}

body.page .post-grid .post-card .post-body h3,
body.page .post-grid .post-card .post-body h3 a,
body.page .post-grid .post-card .post-body p,
body.page .post-grid .post-card .post-body .post-read {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    color: #203A63 !important;
}

body.page .post-grid .post-card .post-body h3 {
    margin-bottom: 12px !important;
    font-size: 21px !important;
}

body.page .post-grid .post-card .post-body p {
    margin-bottom: 16px !important;
}

    body.page .post-grid .post-card .post-body h3,
    body.page .post-grid .post-card .post-body h3 a,
    body.page .post-grid .post-card .post-body p,
    body.page .post-grid .post-card .post-body .post-read {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        color: #203A63 !important;
    }
}

/* Spodný riadok pätičky – sociálne siete a logá */

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 45px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-logos img,
.footer-logo-img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 145px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 700px) {
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-top: 35px;
        margin-bottom: 25px;
        padding-bottom: 22px;
    }

    .footer-logos {
        justify-content: flex-start;
        gap: 18px;
    }
}


/* Spodný riadok pätičky – sociálne siete a logá */

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 15px;
    margin-bottom: 45px;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 22px;
}


.footer-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-logos img,
.footer-logo-img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 145px;
    object-fit: contain;
}

@media (min-width: 701px) {
    .footer-bottom-row {
        margin-top: 50px;
        margin-bottom: -50px;
        transform: translateY(-85px);
    }
}