:root {
    --ink: #16212b;
    --muted: #61707b;
    --paper: #fffdf9;
    --line: #e6e7e2;
    --teal: #087f8c;
    --teal-dark: #075866;
    --coral: #ef765b;
    --yellow: #f4c95d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #e8f0ed;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .7), transparent 42%), repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(8, 127, 140, .035) 32px);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.7;
}

.page {
    width: min(100% - 32px, 980px);
    margin: 32px auto 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid rgba(8, 127, 140, .12);
    box-shadow: 0 24px 70px rgba(22, 55, 58, .16);
}

.logo {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 48%;
    filter: saturate(.9) contrast(1.05);
}

.main {
    padding: 48px clamp(24px, 6vw, 76px) 56px;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin: 0 0 26px;
    font-size: clamp(2rem, 4.5vw, 4rem);
}

h2 {
    margin: 42px 0 12px;
    color: var(--teal-dark);
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

p {
    margin: 0 0 20px;
}

a {
    color: var(--teal-dark);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--coral);
}

.entry-title {
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.entry-title a {
    color: inherit;
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--teal);
}

.entry-content {
    color: #34434a;
}

.entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
}

ul {
    padding-left: 1.2em;
}

li::marker {
    color: var(--coral);
}

.button {
    display: block;
    width: min(100%, 430px);
    margin: 34px auto 52px;
    padding: 16px 24px;
    color: #fff !important;
    background: var(--coral);
    border: 0;
    border-bottom: 4px solid #c65b47;
    border-radius: 3px;
    box-shadow: 0 12px 20px rgba(239, 118, 91, .22);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    color: #fff !important;
    background: #d9644e;
    transform: translateY(-2px);
}

.feature-wrap {
    position: relative;
    margin: 64px 0 10px;
    padding: 34px clamp(24px, 5vw, 52px);
    overflow: hidden;
    color: #fff;
    background: var(--teal-dark);
    border-left: 8px solid var(--yellow);
    box-shadow: 0 18px 35px rgba(7, 88, 102, .2);
}

.feature-wrap::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border: 22px solid rgba(244, 201, 93, .25);
    border-radius: 50%;
}

.feature-wrap h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #fff;
}

.feature-wrap p {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: #d8edef;
}

.feature-wrap a {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 8px 0;
    color: var(--yellow);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-weight: bold;
}

.footer {
    padding: 28px 20px 42px;
    color: var(--muted);
    background: #dce9e5;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .82rem;
    text-align: center;
}

.footer a {
    color: var(--teal-dark);
}

@media screen and (max-width: 650px) {
    body {
        font-size: 17px;
    }

    .page {
        width: 100%;
        margin-top: 0;
        border: 0;
    }

    .logo {
        height: 180px;
    }

    .main {
        padding: 34px 20px 42px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .entry-title {
        padding-top: 24px;
    }

    .button {
        margin-bottom: 38px;
    }
}

body.home-page {
    background: #12363d;
}

.home-page .page {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: #fffdf9;
}

.home-hero {
    min-height: min(760px, 88vh);
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 7vw, 92px) max(24px, calc((100% - 1160px) / 2));
    color: #fff;
    background: url("hlava.jpg") center / cover no-repeat;
}

.home-hero-content {
    width: min(690px, 100%);
    padding: clamp(24px, 5vw, 58px);
    background: rgba(7, 50, 59, .91);
    border-left: 9px solid var(--yellow);
    box-shadow: 0 22px 45px rgba(0, 0, 0, .24);
}

.home-hero h1 {
    margin: 10px 0 22px;
    color: #fff;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
}

.home-hero p {
    max-width: 560px;
    color: #e0eff0;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.home-kicker {
    color: var(--yellow);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .78rem;
    font-weight: bold;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-hero .button {
    margin: 30px 0 0;
    background: var(--coral);
}

.home-nav {
    position: absolute;
    top: 24px;
    right: max(24px, calc((100% - 1160px) / 2));
    left: max(24px, calc((100% - 1160px) / 2));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-brand {
    color: #fff;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
}

.home-nav-links {
    display: flex;
    gap: 24px;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .9rem;
}

.home-nav-links a {
    color: #fff;
    text-decoration: none;
}

.home-section {
    padding: clamp(56px, 9vw, 110px) max(24px, calc((100% - 1160px) / 2));
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.home-section-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.home-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 8vw, 100px);
    background: #f3f0e8;
}

.home-intro h2 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.home-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--line);
}

.home-point {
    padding: 26px;
    background: var(--paper);
}

.home-point strong {
    display: block;
    margin-bottom: 8px;
    color: var(--teal-dark);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
}

.home-point span {
    color: var(--muted);
    font-size: .94rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.article-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(22, 55, 58, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(22, 55, 58, .13);
}

.article-card h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1.45rem;
}

.article-card p {
    color: var(--muted);
    font-size: .98rem;
}

.article-card a {
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .88rem;
    font-weight: bold;
    text-decoration: none;
}

.article-tag {
    align-self: flex-start;
    margin-bottom: 22px;
    padding: 5px 9px;
    color: var(--teal-dark);
    background: #d8ece8;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .68rem;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-cta {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 40px;
    align-items: center;
    color: #fff;
    background: var(--teal-dark);
}

.home-cta h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.home-cta p {
    max-width: 600px;
    color: #d8edef;
}

.home-cta .button {
    margin: 0;
    background: var(--yellow);
    color: var(--teal-dark) !important;
    border-color: #d2a83e;
}

.home-cta-note {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #d8edef;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .88rem;
}

.home-page .footer {
    background: #092d35;
    color: #a9c7c8;
}

.home-calculator {
    background: #eef5f2;
}

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: start;
}

.calculator-copy h2 {
    margin: 14px 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.calculator-copy p {
    color: var(--muted);
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: clamp(24px, 4vw, 38px);
    background: #fff;
    border: 1px solid #d8e4df;
    box-shadow: 0 16px 30px rgba(22, 55, 58, .1);
}

.calculator-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .8rem;
    font-weight: bold;
}

.calculator-form input {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #f7faf8;
    border: 1px solid #c9d9d4;
    border-radius: 2px;
    font: inherit;
}

.calculator-form input:focus {
    outline: 2px solid var(--yellow);
    outline-offset: 1px;
    border-color: var(--teal);
}

.calculator-form .form-wide {
    grid-column: 1 / -1;
}

.calculator-form button {
    grid-column: 1 / -1;
    padding: 15px 20px;
    color: #fff;
    background: var(--teal);
    border: 0;
    border-bottom: 4px solid var(--teal-dark);
    border-radius: 2px;
    cursor: pointer;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

.calculator-form button:hover {
    background: var(--teal-dark);
}

.calculator-result {
    grid-column: 1 / -1;
    padding: 22px;
    color: #fff;
    background: var(--teal-dark);
}

.calculator-result.is-warning {
    background: #9b543e;
}

.result-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.result-number {
    display: block;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: 2.1rem;
    font-weight: bold;
    line-height: 1;
}

.result-label {
    color: #c5e0df;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .75rem;
}

.result-message {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.calculator-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: .82rem;
}

.home-page .article-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-page .article-card {
    min-height: 285px;
}

.home-page .article-card:last-child {
    grid-column: span 3;
    min-height: 220px;
}

@media screen and (max-width: 700px) {
    .home-nav {
        align-items: flex-start;
    }

    .home-nav-links {
        display: none;
    }

    .home-hero {
        min-height: 680px;
    }

    .home-intro,
    .home-cta,
    .calculator-shell {
        grid-template-columns: 1fr;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }

    .calculator-form .form-wide,
    .calculator-form button,
    .calculator-result {
        grid-column: auto;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .home-page .article-grid {
        grid-template-columns: 1fr;
    }

    .home-page .article-card:last-child {
        grid-column: auto;
    }

    .home-section-heading {
        display: block;
    }

    .home-section-heading p {
        margin-top: 14px;
    }
}

/* Banking-style homepage refresh */
body.home-page {
    color: #172b4d;
    background: #f2f6fb;
    background-image: none;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.55;
}

.home-page .page {
    background: #fff;
}

.home-nav {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    min-height: 76px;
    padding: 0 max(24px, calc((100% - 1180px) / 2));
    background: #fff;
    border-bottom: 1px solid #e4ebf3;
}

.home-brand {
    color: #123b70;
    font-size: 1rem;
    letter-spacing: .03em;
}

.home-brand::before {
    content: "LP";
    display: inline-grid;
    width: 31px;
    height: 31px;
    margin-right: 10px;
    place-items: center;
    color: #fff;
    background: #1264c3;
    border-radius: 5px;
    font-size: .7rem;
}

.home-nav-links {
    align-items: center;
    gap: 30px;
    color: #47617e;
}

.home-nav-links a {
    color: #47617e;
    font-weight: bold;
}

.home-nav-links a:last-child {
    padding: 10px 17px;
    color: #fff;
    background: #1264c3;
    border-radius: 4px;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
    min-height: 565px;
    align-items: center;
    gap: clamp(30px, 7vw, 100px);
    padding: clamp(54px, 8vw, 100px) max(24px, calc((100% - 1180px) / 2));
    color: #172b4d;
    background: #f2f6fb;
}

.home-hero::after {
    content: "";
    width: 100%;
    height: 390px;
    background: url("hlava.jpg") center / cover;
    border-radius: 6px;
    box-shadow: 0 20px 45px rgba(19, 59, 106, .16);
}

.home-hero-content {
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-hero h1 {
    max-width: 640px;
    margin: 13px 0 22px;
    color: #172b4d;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    letter-spacing: -.03em;
}

.home-hero p {
    max-width: 540px;
    color: #526b88;
    font-size: 1.13rem;
}

.home-kicker {
    color: #1264c3;
    font-size: .72rem;
    letter-spacing: .1em;
}

.home-hero .button {
    display: inline-block;
    width: auto;
    margin: 24px 0 0;
    padding: 14px 24px;
    background: #1264c3;
    border-color: #0d4c98;
    box-shadow: 0 9px 18px rgba(18, 100, 195, .2);
}

.home-section {
    padding: clamp(54px, 8vw, 92px) max(24px, calc((100% - 1180px) / 2));
}

.home-calculator {
    background: #fff;
}

.calculator-shell {
    grid-template-columns: minmax(0, .72fr) minmax(430px, 1.28fr);
    gap: clamp(30px, 7vw, 100px);
}

.calculator-copy h2 {
    margin: 12px 0 17px;
    color: #172b4d;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    letter-spacing: -.03em;
}

.calculator-copy p {
    color: #526b88;
}

.calculator-form {
    padding: 30px;
    border: 1px solid #d9e3ee;
    border-radius: 6px;
    box-shadow: 0 14px 35px rgba(23, 55, 93, .1);
}

.calculator-form label {
    color: #304a6b;
}

.calculator-form input {
    padding: 12px;
    background: #fbfdff;
    border-color: #cbd8e6;
    border-radius: 4px;
}

.calculator-form button {
    background: #1264c3;
    border-color: #0d4c98;
    border-radius: 4px;
}

.calculator-result {
    background: #123b70;
    border-radius: 4px;
}

.calculator-result.is-warning {
    background: #a34f3c;
}

.result-number {
    font-size: 1.9rem;
}

.home-section-heading {
    margin-bottom: 30px;
}

.home-section-heading h2 {
    color: #172b4d;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    letter-spacing: -.03em;
}

.home-section-heading p {
    color: #526b88;
}

.home-page .article-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.home-page .article-card,
.home-page .article-card:last-child {
    min-height: 235px;
    padding: 26px;
    border: 1px solid #dce5ef;
    border-radius: 5px;
    box-shadow: none;
}

.home-page .article-card:last-child {
    grid-column: auto;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: #9dbde2;
    box-shadow: 0 12px 24px rgba(23, 55, 93, .08);
}

.article-tag {
    margin-bottom: 17px;
    color: #1264c3;
    background: #e8f1fc;
    border-radius: 3px;
}

.article-card h3 {
    color: #203b5e;
    font-size: 1.22rem;
    letter-spacing: -.02em;
}

.article-card p {
    color: #617893;
    font-size: .9rem;
}

.article-card a {
    color: #1264c3;
}

.home-cta {
    grid-template-columns: 1fr .65fr;
    background: #123b70;
}

.home-cta h2 {
    font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.home-cta .button {
    width: 100%;
    background: #35a3ff;
    border-color: #1686dc;
    box-shadow: none;
}

.home-cta-note {
    border-radius: 4px;
}

.home-page .footer {
    background: #102e54;
}

@media screen and (max-width: 700px) {
    .home-nav {
        min-height: 64px;
    }

    .home-nav-links {
        display: none;
    }

    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 70px;
    }

    .home-hero::after {
        height: 230px;
        order: -1;
    }

    .home-hero h1 {
        font-size: 2.8rem;
    }

    .calculator-shell {
        grid-template-columns: 1fr;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }

    .home-page .article-grid {
        grid-template-columns: 1fr;
    }
}

.article-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 24px 28px;
    color: #fff;
    background: #eaf3fc;
    border-left: 5px solid #35a3ff;
}

.article-offer p {
    margin: 4px 0 0;
    color: #203b5e;
    font-size: 1.05rem;
}

.article-offer p a {
    color: #1264c3;
    font-weight: bold;
}

.article-offer-label {
    color: #1264c3;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .7rem;
    font-weight: bold;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.article-offer-link {
    flex: 0 0 auto;
    padding: 11px 17px;
    color: #fff !important;
    background: #1264c3;
    border-radius: 4px;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .85rem;
    font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width: 700px) {
    .article-offer {
        align-items: flex-start;
        flex-direction: column;
    }
}

body.article-page {
    color: #172b4d;
    background: #f2f6fb;
    background-image: none;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.65;
}

.article-page .page {
    width: min(100% - 32px, 980px);
    margin: 32px auto 0;
    background: #fff;
    border: 1px solid #e1e9f1;
    box-shadow: 0 18px 50px rgba(23, 55, 93, .12);
}

.article-nav {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    border-bottom: 1px solid #e4ebf3;
}

.article-brand {
    color: #123b70;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .95rem;
    font-weight: bold;
    text-decoration: none;
}

.article-brand::before {
    content: "LP";
    display: inline-grid;
    width: 29px;
    height: 29px;
    margin-right: 9px;
    place-items: center;
    color: #fff;
    background: #1264c3;
    border-radius: 5px;
    font-size: .68rem;
}

.article-home-link {
    padding: 9px 15px;
    color: #1264c3;
    border: 1px solid #b8d0e9;
    border-radius: 4px;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
}

.article-page .logo {
    height: 185px;
    object-position: center 48%;
}

.article-page .main {
    padding: 44px 76px 60px;
}

.article-page h1.entry-title {
    margin: 0 0 25px;
    padding-top: 0;
    border-top: 0;
    color: #172b4d;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.article-page h2 {
    color: #1264c3;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.article-page .entry-content {
    color: #435b77;
}

.article-page .entry-content p,
.article-page .entry-content li {
    font-family: Georgia, "Times New Roman", serif;
}

.article-page .button {
    width: min(100%, 390px);
    margin: 25px auto 42px;
    background: #1264c3;
    border-color: #0d4c98;
    box-shadow: 0 9px 18px rgba(18, 100, 195, .18);
}

.article-page .footer {
    background: #102e54;
}

@media screen and (max-width: 650px) {
    .article-page .page {
        width: 100%;
        margin-top: 0;
        border: 0;
    }

    .article-nav {
        min-height: 64px;
        padding: 0 20px;
    }

    .article-home-link {
        padding: 7px 10px;
        font-size: .72rem;
    }

    .article-page .logo {
        height: 150px;
    }

    .article-page .main {
        padding: 32px 20px 44px;
    }

    .article-page h1.entry-title {
        font-size: 2.25rem;
    }
}