/*
Theme Name: Astra Child
Description: Polly's Playhouse Astra child theme with custom ACF blog design.
Author: Polly's Playhouse
Template: astra
Version: 1.1.0
Text Domain: astra-child
*/

/* All blog styles are scoped to avoid affecting the Astra header and other pages. */
.polly-single-page {
  --polly-pink: #df5184;
  --polly-pink-dark: #cb4277;
  --polly-ink: #2d2622;
  --polly-cream: #fcf8f3;
  --polly-muted: #83756d;
  --polly-border: #f0e6df;
  background: var(--polly-cream);
  color: var(--polly-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  width: 100%;
}
.polly-single-page *,
.polly-single-page *::before,
.polly-single-page *::after { box-sizing: border-box; }
.polly-single-page a { color: var(--polly-pink); }
.polly-single-page a:hover { color: var(--polly-pink-dark); }
.polly-single-page img { max-width: 100%; }
.polly-single-container { max-width: 1070px; margin: 0 auto; padding: 22px 24px 65px; }

/* Breadcrumb and centered post header */
.polly-breadcrumb { font-size: 12px; color: #867970; margin: 0 0 25px; }
.polly-breadcrumb a { text-decoration: none; }
.polly-post-header { text-align: center; margin: 0 0 54px; }
.polly-label { display: inline-block; background: #fce6ed; color: #d94f82; padding: 4px 11px; border-radius: 20px; font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; line-height: 1.5; }
.polly-post-header h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 4.5vw, 52px); font-weight: 700; line-height: 1.15; text-transform:capitalize; margin: 14px 0; color: var(--polly-ink); }
.polly-post-header h1 em,
.polly-article h2 em,
.polly-related-section h2 em { color: var(--polly-pink); font-style: italic; }
.polly-post-meta { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--polly-muted); font-size: 12px; }
.polly-post-meta img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.polly-post-meta strong { color: var(--polly-ink); }
.polly-dot { color: #b9a9a0; }

/* Main article and sidebar */
.polly-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; }
.polly-article { min-width: 0; }
.polly-article p { margin: 0 0 20px; }
.polly-intro { font-size: 17px; line-height: 1.9; margin: 0 0 50px; }
.polly-intro p { margin: 0 0 20px; }
.polly-intro p:last-child { margin-bottom: 0; }
.polly-section { margin: 0 0 50px; }
.polly-article h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 29px; line-height: 1.3; font-weight: 700; color: var(--polly-ink); margin: 0 0 16px; }
.polly-optional { font-size: .85em; }
.polly-acf-paragraph { margin-bottom: 20px; overflow-wrap: anywhere; }
.polly-acf-paragraph p { margin: 0 0 20px; }
.polly-acf-paragraph p:last-child { margin-bottom: 0; }
.polly-acf-paragraph a { text-decoration: underline; }
.polly-acf-paragraph strong { font-weight: 700; }
.polly-acf-paragraph img { height: auto; border-radius: 12px; }
.polly-article ul, .polly-acf-paragraph ul { margin: 14px 0 22px; padding-left: 20px; }
.polly-article ol, .polly-acf-paragraph ol { margin: 14px 0 22px; padding-left: 22px; }
.polly-article li { margin: 0 0 9px; }
.polly-article li::marker { color: var(--polly-pink); }

/* Alternating image/text sections */
.polly-image-text { display: grid; grid-template-columns: minmax(0, 1fr) 43%; gap: 25px; align-items: start; }
.polly-image-text.image-left { grid-template-columns: 43% minmax(0, 1fr); }
.polly-image-text figure { margin: 0; min-width: 0; }
.polly-image-text figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; display: block; }
.polly-image-text figcaption { font-size: 11px; font-style: italic; color: #93877e; text-align: center; margin-top: 8px; line-height: 1.5; }
.polly-section-copy { min-width: 0; }

/* Michelle's Tip */
.polly-tip-box { background: #fceaf0; border: 1px solid #f7d2df; border-radius: 18px; padding: 25px; margin: 28px 0 0; }
.polly-tip-label { display: inline-block; background: var(--polly-pink); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; line-height: 1.4; }
.polly-tip-content { margin-top: 10px; }
.polly-tip-content p { margin: 0 0 12px; }
.polly-tip-content p:last-child { margin-bottom: 0; }

/* Sidebar */
.polly-sidebar { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.polly-sidebar-card { background: #fff; border: 1px solid var(--polly-border); border-radius: 22px; padding: 25px; overflow-wrap: anywhere; }
.polly-sidebar-pink { background: #fceaf0; border-color: #f8dce5; }
.polly-sidebar-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 700; color: var(--polly-ink); margin: 0 0 9px; }
.polly-sidebar-card p { font-size: 13px; color: #756a63; line-height: 1.6; margin: 0 0 12px; }
.polly-sidebar-card a { overflow-wrap: anywhere; }
.polly-pink-button { display: inline-block; background: var(--polly-pink); color: #fff !important; border-radius: 30px; padding: 10px 21px; text-decoration: none !important; font-size: 12px; font-weight: 700; box-shadow: 0 6px 16px #df51843b; transition: background .2s ease, transform .2s ease; }
.polly-pink-button:hover { background: var(--polly-pink-dark); transform: translateY(-1px); }
.polly-category-list { list-style: none; padding: 0; margin: 0; }
.polly-category-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #f4efeb; padding: 9px 0; font-size: 13px; }
.polly-category-list li:last-child { border-bottom: 0; }
.polly-category-list a { color: var(--polly-ink); text-decoration: none; }
.polly-category-list a:hover { color: var(--polly-pink); }

/* Main booking call-to-action */
.polly-booking-banner { background: linear-gradient(120deg, #e45a8b, #cf477c); color: #fff; border-radius: 22px; text-align: center; padding: 48px 25px; margin: 40px 0 32px; }
.polly-booking-banner h3 { font-family: Georgia, 'Times New Roman', serif; color: #fff; font-size: 24px; margin: 0 0 10px; }
.polly-booking-banner p { color: #fff; margin: 0 0 18px; }
.polly-white-button { display: inline-block; background: #fff; color: #d94f82 !important; border-radius: 30px; padding: 12px 27px; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.polly-white-button:hover { background: #fff4f8; }

/* Share links */
.polly-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 25px 0 35px; font-size: 12px; }
.polly-share-row a, .polly-copy-link { display: inline-block; border: 1px solid #eadfd7; background: #fff; color: #302923 !important; padding: 6px 12px; border-radius: 20px; text-decoration: none; font-size: 11px; line-height: 1.5; cursor: pointer; font-family: inherit; }
.polly-share-row a:hover, .polly-copy-link:hover { border-color: var(--polly-pink); }

/* Author card */
.polly-author-box { display: flex; align-items: center; gap: 17px; padding: 22px; background: #fff; border: 1px solid #f1e9e3; border-radius: 20px; }
.polly-author-box img { width: 62px; height: 62px; flex: 0 0 62px; object-fit: cover; border-radius: 50%; }
.polly-author-box h4 { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; margin: 0; color: var(--polly-ink); }
.polly-author-box p { font-size: 12px; line-height: 1.5; color: var(--polly-muted); margin: 3px 0 0; }

/* Previous and next posts */
.polly-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 30px; }
.polly-post-nav a { display: block; background: #fff; border: 1px solid #eaded6; border-radius: 15px; padding: 14px 18px; text-decoration: none; color: var(--polly-ink); min-width: 0; }
.polly-post-nav a:last-child { text-align: right; }
.polly-post-nav small { display: block; font-size: 11px; color: var(--polly-muted); }
.polly-post-nav strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 14px; line-height: 1.4; }
.polly-post-nav a:hover strong { color: var(--polly-pink); }

/* Related posts area */
.polly-related-section { background: #f4eee7; padding: 65px 24px 70px; }
.polly-related-container { max-width: 1070px; margin: 0 auto; text-align: center; }
.polly-related-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; color: var(--polly-ink); margin: 0 0 25px; }
.polly-filter-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.polly-filter-pills span, .polly-filter-pills a { display: inline-block; background: #fff; border: 1px solid #e9ded6; border-radius: 30px; padding: 8px 17px; font-size: 12px; font-weight: 600; color: var(--polly-ink); text-decoration: none; }
.polly-filter-pills .active { background: var(--polly-pink); border-color: var(--polly-pink); color: #fff; }
.polly-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.polly-related-card { background: #fff; border-radius: 18px; overflow: hidden; min-width: 0; }
.polly-related-card > img, .polly-related-card > a > img { width: 100%; height: 190px; object-fit: cover; display: block; }
.polly-related-body { padding: 18px 20px; }
.polly-related-body h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.35; color: var(--polly-ink); margin: 9px 0 5px; }
.polly-related-body h3 a { color: inherit; text-decoration: none; }
.polly-related-body h3 a:hover { color: var(--polly-pink); }
.polly-related-body p { font-size: 12px; color: var(--polly-muted); margin: 0; }
.polly-view-all { margin-top: 30px; }

/* Tablet */
@media (max-width: 900px) {
  .polly-content-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 25px; }
  .polly-sidebar-card { padding: 19px; }
  .polly-image-text, .polly-image-text.image-left { gap: 18px; }
}

/* Mobile */
@media (max-width: 767px) {
  .polly-single-container { padding: 20px 18px 45px; }
  .polly-post-header { margin-bottom: 35px; }
  .polly-post-header h1 { font-size: 36px; }
  .polly-post-meta { gap: 7px; }
  .polly-content-grid { grid-template-columns: 1fr; gap: 35px; }
  .polly-intro { font-size: 16px; margin-bottom: 35px; }
  .polly-section { margin-bottom: 36px; }
  .polly-article h2 { font-size: 25px; }
  .polly-image-text, .polly-image-text.image-left { grid-template-columns: 1fr; gap: 18px; }
  .polly-image-text figure img { aspect-ratio: 4 / 3; }
  .polly-tip-box { padding: 20px; }
  .polly-booking-banner { padding: 36px 20px; }
  .polly-related-grid { grid-template-columns: 1fr; }
  .polly-related-card > img, .polly-related-card > a > img { height: 220px; }
  .polly-related-section { padding: 45px 18px; }
  .polly-related-section h2 { font-size: 26px; }
  .polly-post-nav { grid-template-columns: 1fr; }
  .polly-post-nav a:last-child { text-align: left; }
}

@media (max-width: 380px) {
  .polly-post-header h1 { font-size: 31px; }
  .polly-author-box { align-items: flex-start; padding: 16px; }
  .polly-author-box img { width: 48px; height: 48px; flex-basis: 48px; }
}

/* === Fixes for Astra layout / global typography conflicts === */
body.single-post .polly-single-page { display:block; width:100%; max-width:none; clear:both; padding-top:100px; }
body.single-post .polly-single-page .polly-single-container { width:100%; max-width:1270px; margin:0 auto; padding:35px 24px 65px; }
body.single-post .polly-single-page .polly-content-grid { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:40px; align-items:start; }
body.single-post .polly-single-page .polly-post-header { padding-top:12px; }
body.single-post .polly-single-page .polly-post-header h1 { margin:12px 0; line-height:1.18; }
body.single-post .polly-single-page .polly-sidebar { display:flex; flex-direction:column; gap:18px; }
body.single-post .polly-single-page .polly-sidebar-card { margin:0; padding:23px; border-radius:18px; }
body.single-post .polly-single-page .polly-related-section { width:100%; max-width:none; }
body.single-post .polly-single-page .polly-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body.single-post .polly-single-page .polly-related-card { min-width:0; }
body.single-post .polly-single-page .polly-related-card img { width:100%; height:185px; object-fit:cover; display:block; }
body.single-post .polly-single-page .polly-related-placeholder { height:185px; background:#f8e5ec; display:flex; align-items:center; justify-content:center; color:#9d667a; font-size:13px; }
body.single-post .polly-single-page .polly-acf-paragraph p { margin:0 0 18px; }
body.single-post .polly-single-page .polly-intro p { margin:0 0 20px; }
body.single-post .polly-single-page .polly-tip-content p { margin:8px 0 0; }
body.single-post .polly-single-page .polly-related-body h3 a { color:inherit; text-decoration:none; }
body.single-post .polly-single-page .polly-related-body h3 a:hover { color:#df5184; }
body.single-post .polly-single-page .polly-section { min-width:0; }
body.single-post .polly-single-page .polly-image-text.no-image { display:block; }
body.single-post .polly-single-page .polly-image-text.no-image .polly-section-copy { width:100%; }
body.single-post .polly-single-page .polly-post-meta img { width:34px; height:34px; border-radius:50%; }
body.single-post .polly-single-page .polly-author-box img { width:62px; height:62px; border-radius:50%; }
@media (max-width:850px) {
 body.single-post .polly-single-page .polly-content-grid { grid-template-columns:1fr; gap:32px; }
 body.single-post .polly-single-page .polly-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
 body.single-post .polly-single-page .polly-single-container { padding:24px 16px 45px; }
 body.single-post .polly-single-page .polly-related-grid { grid-template-columns:1fr; }
}

/* Blog title styling */
.polly-single-page .polly-blog-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    color: #2d2622;
    text-align: center;
    margin: 14px 0;
}

/* Automatically highlighted last word */
.polly-single-page .polly-title-pink {
    color: #df5184;
    font-style: italic;
    font-weight: 700;
}


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

.polly-category-page {
    background: #fcf8f3;
    color: #302923;
    min-height: 70vh;
    padding: 25px 20px 85px;
}

.polly-category-page *,
.polly-category-page *::before,
.polly-category-page *::after {
    box-sizing: border-box;
}

.polly-category-container {
    max-width: 1100px;
    margin: 0 auto;
}

.polly-archive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #82766f;
    margin-bottom: 45px;
}

.polly-archive-breadcrumb a {
    color: #df5184;
    text-decoration: none;
}

.polly-category-header {
    text-align: center;
    margin-bottom: 35px;
}

.polly-category-eyebrow {
    display: inline-block;
    color: #d94f82;
    background: #fce6ed;
    border-radius: 30px;
    padding: 6px 13px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.polly-category-header h1 {
    font-family: Georgia, serif;
    color: #302923;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.2;
    margin: 16px 0;
}

.polly-category-header h1 em {
    color: #df5184;
    font-style: italic;
}

.polly-category-description {
    max-width: 600px;
    margin: 0 auto;
    color: #82766f;
    font-size: 15px;
    line-height: 1.8;
}

.polly-category-description p {
    margin: 0;
}

/* Filters */

.polly-category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.polly-category-filters a {
    display: inline-block;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #eee4de;
    border-radius: 30px;
    color: #302923;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}

.polly-category-filters a:hover,
.polly-category-filters a.active {
    background: #df5184;
    color: #fff;
    border-color: #df5184;
}

/* Grid */

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

.polly-archive-card {
    background: #fff;
    border: 1px solid #f1e8e2;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.polly-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(50, 35, 30, 0.07);
}

.polly-archive-image {
    display: block;
    overflow: hidden;
}

.polly-archive-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.polly-archive-card:hover .polly-archive-image img {
    transform: scale(1.04);
}

.polly-archive-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbe9ef;
    color: #b8798e;
    font-family: Georgia, serif;
}

.polly-archive-card-content {
    padding: 23px;
}

.polly-archive-card-category {
    display: inline-block;
    background: #fce6ed;
    color: #d94f82;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.polly-archive-card h2 {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.35;
    margin: 12px 0 8px;
}

.polly-archive-card h2 a {
    color: #302923;
    text-decoration: none;
}

.polly-archive-card h2 a:hover {
    color: #df5184;
}

.polly-archive-date {
    font-size: 12px;
    color: #93877f;
    margin-bottom: 12px;
}

.polly-archive-card-content p {
    font-size: 14px;
    color: #746962;
    line-height: 1.7;
    margin-bottom: 17px;
}

.polly-archive-readmore {
    color: #df5184;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* Pagination */

.polly-archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.polly-archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.polly-archive-pagination .page-numbers {
    display: inline-block;
    background: white;
    border: 1px solid #eee4de;
    border-radius: 10px;
    padding: 9px 15px;
    color: #302923;
    text-decoration: none;
}

.polly-archive-pagination .page-numbers.current,
.polly-archive-pagination .page-numbers:hover {
    background: #df5184;
    border-color: #df5184;
    color: white;
}

.polly-archive-empty {
    text-align: center;
    padding: 70px 20px;
}

/* Tablet */

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

/* Mobile */

@media (max-width: 600px) {
    .polly-category-page {
        padding: 20px 16px 55px;
    }

    .polly-archive-breadcrumb {
        margin-bottom: 30px;
    }

    .polly-category-header h1 {
        font-size: 36px;
    }

    .polly-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .polly-archive-image img,
    .polly-archive-placeholder {
        height: 220px;
    }

    .polly-category-filters {
        gap: 7px;
    }

    .polly-category-filters a {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* =========================================
   POLLY CATEGORY PAGE - LAYOUT FIX
   ========================================= */

/* Full-width category background */
body.category .polly-category-page {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 62px 24px 85px;
    background: #fcf8f3;
    box-sizing: border-box;
}

/* Center the category content */
body.category .polly-category-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Prevent inherited width restrictions */
body.category .polly-category-header,
body.category .polly-category-filters,
body.category .polly-archive-grid {
    width: 100%;
    max-width: none;
}

/* Three equal blog columns */
body.category .polly-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* Blog cards */
body.category .polly-archive-card {
    min-width: 0;
    width: 100%;
    height: 100%;
}

/* Breadcrumb spacing */
body.category .polly-archive-breadcrumb {
    margin-top: 0;
    margin-bottom: 40px;
}

/* Tablet */
@media (max-width: 900px) {
    body.category .polly-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    body.category .polly-category-page {
        padding: 62px 16px 55px;
    }

    body.category .polly-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MAIN BLOG ARCHIVE
   ======================================== */

body.blog .polly-category-page {
    width: 100%;
    max-width: none;
    min-height: 70vh;
    background: #fcf8f3;
    padding: 62px 24px 85px;
    box-sizing: border-box;
}

body.blog .polly-category-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

body.blog .polly-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

body.blog .polly-archive-card {
    min-width: 0;
    width: 100%;
}

body.blog .polly-archive-card-category {
    text-decoration: none;
}

body.blog .polly-archive-card-category:hover {
    background: #df5184;
    color: #fff;
}

@media (max-width: 900px) {
    body.blog .polly-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.blog .polly-category-page {
        padding: 62px 16px 55px;
    }

    body.blog .polly-archive-grid {
        grid-template-columns: 1fr;
    }
}


/* Related posts - clickable filters */

.polly-single-page .polly-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.polly-single-page .polly-filter-pills a {
    display: inline-block;
    padding: 8px 17px;
    background: #fff;
    border: 1px solid #e9ded6;
    border-radius: 30px;
    color: #302923;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    transition: background 0.2s ease,
                color 0.2s ease;
}

.polly-single-page .polly-filter-pills a:hover,
.polly-single-page .polly-filter-pills a.active {
    background: #df5184;
    color: #fff;
    border-color: #df5184;
}

/* Related post card links */

.polly-single-page .polly-related-image {
    display: block;
    overflow: hidden;
}

.polly-single-page .polly-related-image img,
.polly-single-page .polly-related-placeholder {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.polly-single-page .polly-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fceaf0;
    color: #a86d82;
    font-family: Georgia, serif;
}

.polly-single-page .polly-related-card h3 a {
    color: #302923;
    text-decoration: none;
}

.polly-single-page .polly-related-card h3 a:hover {
    color: #df5184;
}

.polly-single-page .polly-related-empty {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 16px;
}

@media (max-width: 600px) {
    .polly-single-page .polly-filter-pills a {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* AJAX filter buttons */

.polly-single-page .polly-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 28px;
}

.polly-single-page .polly-filter-pills a {
    display: inline-block;
    padding: 8px 17px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #e9ded6;
    color: #302923;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}

.polly-single-page .polly-filter-pills a.active,
.polly-single-page .polly-filter-pills a:hover {
    background: #df5184;
    border-color: #df5184;
    color: #fff;
}

/* AJAX loading state */

.polly-single-page #polly-related-results {
    transition: opacity 0.2s ease;
    min-height: 180px;
}

.polly-single-page .polly-is-loading #polly-related-results {
    opacity: 0.4;
    pointer-events: none;
}

/* Related cards */

.polly-single-page .polly-related-image {
    display: block;
    overflow: hidden;
}

.polly-single-page .polly-related-image img,
.polly-single-page .polly-related-placeholder {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.polly-single-page .polly-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fceaf0;
    color: #a86d82;
    font-family: Georgia, serif;
}

.polly-single-page .polly-related-card h3 a {
    color: #302923;
    text-decoration: none;
}

.polly-single-page .polly-related-card h3 a:hover {
    color: #df5184;
}

.polly-single-page .polly-related-empty {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 16px;
}

/* Mobile */

@media (max-width: 600px) {
    .polly-single-page .polly-filter-pills a {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* WordPress Featured Image - Single Blog */

/* Featured image above Section 1 image */

.polly-image-text.image-right .polly-section-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.polly-image-text.image-right .polly-featured-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.polly-image-text.image-right .polly-featured-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}