
/* =========================================================
   PĚSTUJEME ONLINE – DYNAMIC HOMEPAGE
   ========================================================= */

.po-dh-hero,
.po-dh-latest,
.po-dh-bydleni {
    --green: #294b2f;
    --green-dark: #1d3823;
    --green-soft: #6f8d54;
    --cream: #f7f4ec;
    --white: #ffffff;
    --text: #182018;
    --muted: #6d746d;
    --line: #e3e8df;

    width: 100%;
    font-family: "Nunito Sans", Arial, sans-serif;
}

.po-dh-hero *,
.po-dh-latest *,
.po-dh-bydleni * {
    box-sizing: border-box;
}

.po-dh-container {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.po-dh-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background:
        linear-gradient(135deg, #e8ece5 0%, #d9e2d5 100%);
}

/* HERO */

.po-dh-hero {
    padding: 42px 0 32px;
    background: #fff;
}

.po-dh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(330px,.85fr);
    gap: 22px;
}

.po-dh-hero-main,
.po-dh-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #dfe5dc;
    text-decoration: none;
}

.po-dh-hero-main {
    min-height: 540px;
}

.po-dh-hero-card {
    min-height: 259px;
}

.po-dh-hero-main-image,
.po-dh-hero-card-image,
.po-dh-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-dh-hero-main-image,
.po-dh-hero-card-image {
    transition: transform .55s ease;
}

.po-dh-hero-main:hover .po-dh-hero-main-image,
.po-dh-hero-card:hover .po-dh-hero-card-image {
    transform: scale(1.03);
}

.po-dh-hero-main::after,
.po-dh-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8,18,10,0) 15%,
        rgba(8,18,10,.12) 45%,
        rgba(8,18,10,.84) 100%
    );
}

.po-dh-hero-main-content,
.po-dh-hero-card-content {
    position: absolute;
    z-index: 2;
}

.po-dh-hero-main-content {
    left: 42px;
    right: 42px;
    bottom: 40px;
    max-width: 760px;
}

.po-dh-hero-card-content {
    left: 26px;
    right: 26px;
    bottom: 24px;
}

.po-dh-category {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 4px;
    background: var(--green-soft);
    color: #fff;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.po-dh-hero-main-title,
.po-dh-hero-card-title {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.po-dh-hero-main-title {
    font-size: clamp(34px,3.25vw,52px);
    line-height: 1.05;
    letter-spacing: -.7px;
}

.po-dh-hero-main-excerpt {
    max-width: 650px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.65;
}

.po-dh-hero-card-title {
    font-size: clamp(21px,1.55vw,27px);
    line-height: 1.12;
}

.po-dh-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}

/* SHARED HEAD */

.po-dh-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.po-dh-eyebrow {
    margin-bottom: 7px;
    color: var(--green-soft);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.po-dh-section-title {
    margin: 0;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px,2.6vw,42px);
    line-height: 1.05;
    font-weight: 700;
}

.po-dh-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    text-decoration: none;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.po-dh-section-link span {
    font-size: 17px;
}

/* LATEST */

.po-dh-latest {
    padding: 64px 0 70px;
    background: #fff;
}

.po-dh-latest-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 18px;
}

.po-dh-latest-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31,48,31,.04);
    transition: transform .22s ease, box-shadow .22s ease;
}

.po-dh-latest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(31,48,31,.09);
}

.po-dh-latest-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.po-dh-latest-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e5e9e2;
}

.po-dh-latest-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.po-dh-latest-card:hover .po-dh-latest-image {
    transform: scale(1.035);
}

.po-dh-latest-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 17px 17px 18px;
}

.po-dh-latest-category {
    margin-bottom: 8px;
    color: var(--green-soft);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.po-dh-latest-title {
    margin: 0;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.25;
}

.po-dh-latest-meta {
    margin-top: auto;
    padding-top: 14px;
    color: #90978f;
    font-size: 11px;
}

/* O BYDLENÍ */

.po-dh-bydleni {
    padding: 64px 0 70px;
    background: var(--cream);
}

.po-dh-bydleni-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.po-dh-controls {
    display: flex;
    gap: 7px;
}

.po-dh-control {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid #d9dfd5;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    font-size: 21px;
    cursor: pointer;
}

.po-dh-control:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.po-dh-viewport {
    overflow: hidden;
}

.po-dh-track {
    display: flex;
    margin: 0 -10px;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.po-dh-slide {
    flex: 0 0 33.333333%;
    min-width: 0;
    padding: 0 10px;
}

.po-dh-bydleni-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(28,46,29,.045);
}

.po-dh-bydleni-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.po-dh-bydleni-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e4e8e1;
}

.po-dh-bydleni-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.po-dh-bydleni-card:hover .po-dh-bydleni-image {
    transform: scale(1.035);
}

.po-dh-bydleni-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(41,75,47,.94);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.po-dh-bydleni-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px 22px 22px;
}

.po-dh-bydleni-title {
    margin: 0;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px,1.65vw,26px);
    line-height: 1.15;
}

.po-dh-bydleni-excerpt {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.po-dh-bydleni-meta {
    margin-top: auto;
    padding-top: 17px;
    color: #929991;
    font-size: 11px;
}

.po-dh-slider-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.po-dh-progress {
    flex: 1;
    height: 2px;
    overflow: hidden;
    background: #dfe4da;
}

.po-dh-progress-bar {
    width: 0;
    height: 100%;
    background: var(--green);
}

.po-dh-progress-bar.is-running {
    animation: poDhProgress var(--po-interval, 8000ms) linear forwards;
}

.po-dh-counter {
    min-width: 48px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-align: right;
    letter-spacing: .5px;
}

@keyframes poDhProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .po-dh-latest-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 1050px) {
    .po-dh-hero-grid {
        grid-template-columns: 1fr;
    }

    .po-dh-hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .po-dh-hero-card {
        min-height: 300px;
    }
}

@media (max-width: 950px) {
    .po-dh-slide {
        flex-basis: 50%;
    }
}

@media (max-width: 820px) {
    .po-dh-latest-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .po-dh-container {
        width: calc(100% - 28px);
    }

    .po-dh-hero {
        padding: 22px 0 24px;
    }

    .po-dh-hero-main {
        min-height: 440px;
    }

    .po-dh-hero-main-content {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .po-dh-hero-side {
        grid-template-columns: 1fr;
    }

    .po-dh-hero-card {
        min-height: 275px;
    }

    .po-dh-latest,
    .po-dh-bydleni {
        padding: 46px 0 52px;
    }

    .po-dh-section-head {
        display: block;
    }

    .po-dh-section-link {
        margin-top: 14px;
    }

    .po-dh-bydleni-actions {
        margin-top: 17px;
        justify-content: space-between;
    }

    .po-dh-latest-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .po-dh-latest-card-link {
        display: grid;
        grid-template-columns: 125px 1fr;
    }

    .po-dh-latest-media {
        height: 100%;
        min-height: 135px;
        aspect-ratio: auto;
    }

    .po-dh-slide {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .po-dh-track {
        transition: none;
    }

    .po-dh-progress-bar {
        animation: none !important;
    }
}


/* =========================================================
   CATEGORY ARCHIVE
   ========================================================= */

.po-dh-archive {
    --green: #294b2f;
    --green-dark: #1d3823;
    --green-soft: #6f8d54;
    --cream: #f7f4ec;
    --white: #ffffff;
    --text: #182018;
    --muted: #6d746d;
    --line: #e3e8df;

    width: 100%;
    padding: 58px 0 72px;
    background: #ffffff;
    font-family: "Nunito Sans", Arial, sans-serif;
}

.po-dh-archive * {
    box-sizing: border-box;
}

.po-dh-archive-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.po-dh-archive-title {
    margin: 0;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.7px;
}

.po-dh-archive-description {
    max-width: 700px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.po-dh-archive-description p {
    margin: 0;
}

.po-dh-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.po-dh-archive-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(28,47,30,.045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.po-dh-archive-card:hover {
    transform: translateY(-3px);
    border-color: #d3dccf;
    box-shadow: 0 14px 32px rgba(28,47,30,.09);
}

.po-dh-archive-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.po-dh-archive-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e9e2;
}

.po-dh-archive-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.po-dh-archive-card:hover .po-dh-archive-image {
    transform: scale(1.035);
}

.po-dh-archive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px 22px 22px;
}

.po-dh-archive-meta {
    margin-bottom: 9px;
    color: var(--green-soft);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.po-dh-archive-card-title {
    margin: 0;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
}

.po-dh-archive-excerpt {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.po-dh-archive-more {
    margin-top: auto;
    padding-top: 20px;
    color: var(--green);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.po-dh-archive-more span {
    font-size: 16px;
}

.po-dh-pagination {
    margin-top: 40px;
}

.po-dh-pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.po-dh-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.po-dh-pagination a.page-numbers,
.po-dh-pagination span.page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--green-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.po-dh-pagination span.current,
.po-dh-pagination a.page-numbers:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.po-dh-archive-empty {
    padding: 35px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1000px) {
    .po-dh-archive-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .po-dh-archive {
        padding: 42px 0 52px;
    }

    .po-dh-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .po-dh-archive-card-title {
        font-size: 22px;
    }
}


/* =========================================================
   HERO – SEZÓNNÍ PÁS
   ========================================================= */

.po-dh-season {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 104px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #faf8f3;
}

.po-dh-season-intro {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--green);
}

.po-dh-season-small {
    margin-bottom: 5px;
    color: #b9cbaa;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.po-dh-season-title {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

.po-dh-season-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.po-dh-season-item {
    min-width: 0;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
    background: #faf8f3;
}

.po-dh-season-item:last-child {
    border-right: 0;
}

.po-dh-season-label {
    margin-bottom: 5px;
    color: var(--green-soft);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.po-dh-season-name {
    color: var(--green-dark);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

/* Vynucení tmavě zelených nadpisů mimo obrazový hero */
.po-dh-section-title,
.po-dh-latest-title,
.po-dh-bydleni-title,
.po-dh-archive-title,
.po-dh-archive-card-title {
    color: var(--green-dark) !important;
}

@media (max-width: 1050px) {
    .po-dh-season {
        grid-template-columns: 1fr;
    }

    .po-dh-season-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .po-dh-season-item:nth-child(2) {
        border-right: 0;
    }

    .po-dh-season-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 650px) {
    .po-dh-season {
        margin-top: 16px;
        border-radius: 10px;
    }

    .po-dh-season-intro {
        padding: 22px;
    }

    .po-dh-season-items {
        grid-template-columns: 1fr;
    }

    .po-dh-season-item {
        min-height: 76px;
        padding: 17px 22px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .po-dh-season-item:last-child {
        border-bottom: 0;
    }
}


/* =========================================================
   SINGLE POST
   ========================================================= */

.po-dh-single {
    --green: #294b2f;
    --green-dark: #1d3823;
    --green-soft: #6f8d54;
    --cream: #f7f4ec;
    --white: #ffffff;
    --text: #182018;
    --muted: #6d746d;
    --line: #e3e8df;

    width: 100%;
    padding: 34px 0 74px;
    background: #ffffff;
    color: var(--text);
    font-family: "Nunito Sans", Arial, sans-serif;
}

.po-dh-single * {
    box-sizing: border-box;
}

.po-dh-single-header {
    max-width: 1040px;
    margin-bottom: 30px;
}

.po-dh-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: #8a928a;
    font-size: 11px;
    line-height: 1.5;
}

.po-dh-breadcrumbs a {
    color: var(--green);
    text-decoration: none;
}

.po-dh-single-category {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    margin-bottom: 13px;
    border-radius: 4px;
    background: var(--green);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.po-dh-single-title {
    max-width: 980px;
    margin: 0 !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px,4.6vw,64px);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -.8px;
}

.po-dh-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    color: #8a928a;
    font-size: 11px;
}

.po-dh-single-lead {
    max-width: 850px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.po-dh-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(280px, .95fr);
    gap: 34px;
    align-items: start;
}

.po-dh-single-main {
    min-width: 0;
}

.po-dh-single-image-wrap {
    width: 100%;
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: 14px;
    background: #e5e9e2;
}

.po-dh-single-image {
    width: 100%;
    max-height: 560px;
    display: block;
    object-fit: cover;
}

.po-dh-single-content {
    color: var(--text);
    font-size: 17px;
    line-height: 1.82;
}

.po-dh-single-content > *:first-child {
    margin-top: 0;
}

.po-dh-single-content p {
    margin: 0 0 1.45em;
}

.po-dh-single-content h2,
.po-dh-single-content h3,
.po-dh-single-content h4 {
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.po-dh-single-content h2 {
    margin: 1.65em 0 .65em;
    font-size: clamp(28px,2.5vw,38px);
    line-height: 1.12;
}

.po-dh-single-content h3 {
    margin: 1.45em 0 .55em;
    font-size: 26px;
    line-height: 1.18;
}

.po-dh-single-content a {
    color: var(--green);
}

.po-dh-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.po-dh-single-content blockquote {
    margin: 30px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--green-soft);
    background: var(--cream);
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.55;
}

/* SIDEBAR */

.po-dh-single-sidebar {
    min-width: 0;
}

.po-dh-sticky {
    position: sticky;
    top: 92px;
}

.po-dh-sidebar-latest {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
}

.po-dh-sidebar-kicker {
    margin-bottom: 6px;
    color: var(--green-soft);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.po-dh-sidebar-title {
    margin: 0 0 18px !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.1;
}

.po-dh-sidebar-posts {
    display: grid;
    gap: 15px;
}

.po-dh-sidebar-post {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.po-dh-sidebar-thumb {
    position: relative;
    width: 82px;
    height: 72px;
    overflow: hidden;
    border-radius: 8px;
    background: #e2e7df;
}

.po-dh-sidebar-thumb img,
.po-dh-sidebar-thumb .po-dh-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-dh-sidebar-cat {
    margin-bottom: 4px;
    color: var(--green-soft);
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.po-dh-sidebar-post h3 {
    margin: 0 !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.po-dh-widget-area {
    margin-top: 22px;
    display: grid;
    gap: 22px;
}

.po-dh-widget {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.po-dh-widget-title {
    position: relative;
    margin: 0 0 18px !important;
    padding-bottom: 12px;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.2;
}

.po-dh-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--green);
}

.po-dh-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.po-dh-widget li {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.po-dh-widget li:last-child {
    border-bottom: 0;
}

.po-dh-widget a {
    color: var(--green-dark);
    text-decoration: none;
}

/* RELATED */

.po-dh-related {
    margin-top: 64px;
    padding-top: 38px;
    border-top: 1px solid var(--line);
}

.po-dh-related-head {
    margin-bottom: 24px;
}

.po-dh-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.po-dh-related-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}

.po-dh-related-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.po-dh-related-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e5e9e2;
}

.po-dh-related-media img,
.po-dh-related-media .po-dh-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.po-dh-related-card:hover .po-dh-related-media img {
    transform: scale(1.035);
}

.po-dh-related-content {
    padding: 18px;
}

.po-dh-related-content h3 {
    margin: 0 !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.2;
}

@media (max-width: 1000px) {
    .po-dh-single-layout {
        grid-template-columns: minmax(0,1.8fr) minmax(250px,.9fr);
        gap: 26px;
    }

    .po-dh-single-image {
        max-height: 500px;
    }
}

@media (max-width: 780px) {
    .po-dh-single {
        padding: 24px 0 52px;
    }

    .po-dh-single-layout {
        grid-template-columns: 1fr;
    }

    .po-dh-sticky {
        position: static;
    }

    .po-dh-single-title {
        font-size: clamp(34px,10vw,48px);
    }

    .po-dh-single-lead {
        font-size: 16px;
    }

    .po-dh-single-image {
        max-height: 420px;
    }

    .po-dh-related-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SINGLE POST v1.2.1 – SIDEBAR OD NADPISU + STICKY FIX
   ========================================================= */

.po-dh-single .po-dh-breadcrumbs {
    margin-bottom: 18px;
}

/* Nadpis už není přes celou šířku. Je součástí levého sloupce. */
.po-dh-single .po-dh-single-header {
    max-width: none;
    margin: 0 0 28px;
}

/* 70 / 30 rozložení začíná hned pod drobečkovkou */
.po-dh-single .po-dh-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(300px, .95fr);
    gap: 34px;
    align-items: start;
    overflow: visible !important;
}

/* Sidebar začíná přesně vedle rubriky/nadpisu */
.po-dh-single .po-dh-single-sidebar {
    min-width: 0;
    align-self: start;
    overflow: visible !important;
}

/* Sticky je vynucený a drží celý pravý sloupec */
.po-dh-single .po-dh-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 88px;
    align-self: start;
    height: fit-content;
    overflow: visible !important;
}

/* Když je přihlášený admin a je nahoře WP lišta */
body.admin-bar .po-dh-single .po-dh-sticky {
    top: 120px;
}

/* Obrázek je pouze v levém 70% sloupci */
.po-dh-single .po-dh-single-image-wrap {
    margin-top: 0;
}

/* Menší H1, aby vedle něj sidebar působil proporčně */
.po-dh-single .po-dh-single-title {
    max-width: 100%;
    font-size: clamp(36px, 3.9vw, 56px);
    line-height: 1.04;
}

/* Sidebar vizuálně začíná nahoře bez mezery */
.po-dh-single .po-dh-sidebar-latest {
    margin: 0;
}

/* Elementor/Hello občas nastavují overflow na vnitřní kontejnery.
   Na našem bloku musí zůstat viditelné kvůli position:sticky. */
.po-dh-single,
.po-dh-single > .po-dh-container,
.po-dh-single .po-dh-single-layout,
.po-dh-single .po-dh-single-sidebar {
    overflow: visible !important;
}

@media (max-width: 1000px) {
    .po-dh-single .po-dh-single-layout {
        grid-template-columns: minmax(0, 1.75fr) minmax(270px, .9fr);
        gap: 26px;
    }

    .po-dh-single .po-dh-single-title {
        font-size: clamp(34px, 4.5vw, 48px);
    }
}

@media (max-width: 780px) {
    .po-dh-single .po-dh-single-layout {
        grid-template-columns: 1fr;
    }

    .po-dh-single .po-dh-sticky {
        position: static !important;
        top: auto;
    }
}


/* =========================================================
   SEARCH RESULTS
   ========================================================= */

.po-dh-search {
    --green: #294b2f;
    --green-dark: #1d3823;
    --green-soft: #6f8d54;
    --cream: #f7f4ec;
    --white: #ffffff;
    --text: #182018;
    --muted: #6d746d;
    --line: #e3e8df;

    width: 100%;
    padding: 54px 0 72px;
    background: #ffffff;
    font-family: "Nunito Sans", Arial, sans-serif;
}

.po-dh-search * {
    box-sizing: border-box;
}

.po-dh-search-head {
    max-width: 900px;
    margin-bottom: 34px;
}

.po-dh-search-title {
    margin: 0 !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.6px;
}

.po-dh-search-count {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.po-dh-search-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    max-width: 650px;
    margin-top: 22px;
}

.po-dh-search-form input {
    min-width: 0;
    height: 48px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}

.po-dh-search-form input:focus {
    border-color: var(--green-soft);
    box-shadow: 0 0 0 3px rgba(111,141,84,.10);
}

.po-dh-search-form button {
    height: 48px;
    padding: 0 23px;
    border: 0;
    border-radius: 7px;
    background: var(--green);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
}

.po-dh-search-form button:hover {
    background: var(--green-dark);
}

.po-dh-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.po-dh-search-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(28,47,30,.045);
    transition: transform .22s ease, box-shadow .22s ease;
}

.po-dh-search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(28,47,30,.09);
}

.po-dh-search-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.po-dh-search-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e5e9e2;
}

.po-dh-search-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.po-dh-search-card:hover .po-dh-search-image {
    transform: scale(1.035);
}

.po-dh-search-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px 22px 22px;
}

.po-dh-search-category {
    margin-bottom: 8px;
    color: var(--green-soft);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.po-dh-search-card-title {
    margin: 0 !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 700;
}

.po-dh-search-excerpt {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.po-dh-search-meta {
    margin-top: auto;
    padding-top: 18px;
    color: #90978f;
    font-size: 11px;
}

.po-dh-search-empty {
    padding: 34px;
    border-radius: 12px;
    background: var(--cream);
}

.po-dh-search-empty h2 {
    margin: 0 0 8px !important;
    color: var(--green-dark) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.po-dh-search-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1000px) {
    .po-dh-search-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .po-dh-search {
        padding: 40px 0 52px;
    }

    .po-dh-search-form {
        grid-template-columns: 1fr;
    }

    .po-dh-search-form button {
        width: 100%;
    }

    .po-dh-search-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .po-dh-search-card-title {
        font-size: 22px;
    }
}

.po-dh-categories,
.po-dh-topics {
    --green:#294b2f;
    --green-dark:#1d3823;
    --green-soft:#6f8d54;
    --cream:#f7f4ec;
    --text:#182018;
    --muted:#6d746d;
    --line:#e3e8df;
    width:100%;
    padding:58px 0 64px;
    background:var(--cream);
    font-family:"Nunito Sans",Arial,sans-serif;
}
.po-dh-categories *, .po-dh-topics * { box-sizing:border-box; }
.po-dh-categories-head, .po-dh-topics-head {
    display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:30px;
}
.po-dh-categories-head>p, .po-dh-topics-head>p {
    max-width:520px; margin:0; color:var(--muted); font-size:14px; line-height:1.7;
}
.po-dh-categories-heading, .po-dh-topics-heading {
    margin:0!important; color:var(--green-dark)!important;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(30px,2.6vw,42px); line-height:1.05; font-weight:700;
}
.po-dh-categories-grid {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;
}
.po-dh-category-card {
    min-width:0; overflow:hidden; display:flex; flex-direction:column; min-height:455px;
    border:1px solid var(--line); border-radius:14px; background:#fff; color:inherit;
    text-decoration:none; box-shadow:0 8px 26px rgba(28,47,30,.05);
}
.po-dh-category-media {
    position:relative; width:100%; height:270px; overflow:hidden; background:#e4e8e1;
}
.po-dh-category-media img, .po-dh-category-media .po-dh-placeholder {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease;
}
.po-dh-category-card:hover .po-dh-category-media img { transform:scale(1.035); }
.po-dh-category-content { flex:1; display:flex; flex-direction:column; padding:24px; }
.po-dh-category-label, .po-dh-topic-label {
    margin-bottom:8px; color:var(--green-soft); font-size:9px; line-height:1;
    font-weight:800; text-transform:uppercase; letter-spacing:1px;
}
.po-dh-category-content h3, .po-dh-topic-content h3 {
    margin:0!important; color:var(--green-dark)!important; font-family:Georgia,"Times New Roman",serif;
    font-size:27px; line-height:1.08; font-weight:700;
}
.po-dh-category-content p, .po-dh-topic-content p {
    margin:11px 0 0; color:var(--muted); font-size:13px; line-height:1.6;
}
.po-dh-category-more, .po-dh-topic-more {
    margin-top:auto; padding-top:20px; color:var(--green); font-size:10px; font-weight:800;
    text-transform:uppercase; letter-spacing:.6px;
}
.po-dh-topics { padding-top:62px; padding-bottom:68px; }
.po-dh-topics-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.po-dh-topic-card {
    min-width:0; min-height:240px; display:grid; grid-template-columns:42% 58%; overflow:hidden;
    border:1px solid var(--line); border-radius:14px; background:#fff; color:inherit;
    text-decoration:none; box-shadow:0 8px 24px rgba(28,47,30,.05);
}
.po-dh-topic-media { position:relative; min-width:0; overflow:hidden; background:#e4e8e1; }
.po-dh-topic-media img, .po-dh-topic-media .po-dh-placeholder {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease;
}
.po-dh-topic-card:hover .po-dh-topic-media img { transform:scale(1.04); }
.po-dh-topic-content { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:28px 25px; }
.po-dh-topic-content h3 { font-size:25px; }
@media(max-width:1050px){
    .po-dh-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .po-dh-topics-grid{grid-template-columns:1fr;}
    .po-dh-topic-card{grid-template-columns:35% 65%;}
}
@media(max-width:700px){
    .po-dh-categories,.po-dh-topics{padding:42px 0 46px;}
    .po-dh-categories-head,.po-dh-topics-head{display:block;}
    .po-dh-categories-head>p,.po-dh-topics-head>p{margin-top:14px;}
    .po-dh-categories-grid,.po-dh-topics-grid{grid-template-columns:1fr;}
    .po-dh-category-media{height:260px;}
    .po-dh-topic-card{grid-template-columns:1fr;}
    .po-dh-topic-media{height:220px;}
}


/* =========================================================
   v1.3.2 – FIX OBRÁZKŮ V RUBRIKOVÝCH KARTÁCH
   Elementor/Hello může přepisovat height:auto na <img>.
   Tady vynucujeme vyplnění celé obrazové plochy.
   ========================================================= */

.po-dh-category-media,
.po-dh-topic-media {
    position: relative !important;
    overflow: hidden !important;
}

.po-dh-category-media img,
.po-dh-topic-media img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center !important;
}

/* hlavní 4 karty – jednotná výška fotky */
.po-dh-category-media {
    height: 270px !important;
}

/* 3 horizontální karty – obrázek vyplní celý levý sloupec */
.po-dh-topic-media {
    min-height: 240px !important;
}

@media (max-width: 1050px) {
    .po-dh-topic-media {
        min-height: 220px !important;
    }
}

@media (max-width: 700px) {
    .po-dh-category-media {
        height: 260px !important;
    }

    .po-dh-topic-media {
        height: 220px !important;
        min-height: 220px !important;
    }
}
