/*============================================================
Divine Touch Plumbing: shared page components
- local-area hero, trust bar, service cards and CTA banner (originally
  inline on the suburb pages, now used by every inner page)
- mobile menu contact buttons, breadcrumbs, reviews placeholder,
  services hub and contact page
==============================================================*/

.pk-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--theme-color2) 0%, #050030 100%);
    padding: 90px 0 110px;
}

.pk-hero-crumb {
    font-family: var(--body-font);
    font-size: 13px;
    color: #b9beea;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

.pk-hero-crumb a {
    color: #b9beea;
}

.pk-hero-crumb a:hover {
    color: var(--color-white);
}

.pk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pk-hero-badge i {
    color: var(--theme-color);
}

.pk-hero h1 {
    color: var(--color-white);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
}

.pk-hero h1 span {
    color: var(--theme-color);
}

.pk-hero p.lead {
    font-family: var(--body-font);
    font-size: 17px;
    color: #cfd3f5;
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.pk-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pk-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--theme-color);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 14px;
    transition: var(--transition);
}

.pk-hero-call:hover {
    color: var(--color-white);
    background: var(--color-dark);
}

.pk-hero-quote {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 14px;
    transition: var(--transition);
}

.pk-hero-quote:hover {
    color: var(--color-dark);
    background: var(--color-white);
}

.pk-trust-bar {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    margin-top: -60px;
    position: relative;
    z-index: 5;
    padding: 30px 10px;
}

.pk-trust-item {
    text-align: center;
    padding: 10px 14px;
    border-right: 1px solid var(--color-gray);
}

.pk-trust-item:last-child {
    border-right: none;
}

.pk-trust-item i {
    font-size: 26px;
    color: var(--theme-color);
    display: block;
    margin-bottom: 10px;
}

.pk-trust-item h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.pk-section {
    padding: 90px 0;
}

.pk-section.bg-light {
    background: var(--theme-bg-light);
}

.pk-map-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pk-map-card img {
    width: 100%;
    display: block;
}

.pk-map-pin {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pk-map-pin i {
    color: var(--theme-color);
    font-size: 20px;
}

.pk-map-pin span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
}

.pk-map-pin small {
    display: block;
    font-weight: 400;
    color: var(--body-text-color);
    font-size: 11px;
}

.pk-list-check {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pk-list-check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--body-font);
    color: var(--body-text-color);
}

.pk-list-check i {
    color: var(--theme-color);
    margin-top: 4px;
}

.pk-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pk-service-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray);
    border-radius: 16px;
    padding: 32px 26px;
    transition: var(--transition);
}

.pk-service-card:hover {
    border-color: var(--theme-color);
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.pk-service-card .pk-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--theme-color);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.pk-service-card h4 {
    margin-bottom: 10px;
}

.pk-service-card p {
    color: var(--body-text-color);
    font-size: 14.5px;
    margin-bottom: 16px;
}

.pk-service-card a {
    font-weight: 700;
    font-size: 14px;
    color: var(--theme-color2);
}

.pk-service-card a i {
    margin-left: 6px;
    transition: var(--transition);
}

.pk-service-card:hover a i {
    transform: translateX(4px);
}

.pk-reviews {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    padding: 40px;
}

.pk-stars {
    color: var(--theme-color);
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 3px;
}

.pk-suburbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.pk-suburb-pill {
    background: var(--color-white);
    border: 1px solid var(--color-gray);
    color: var(--color-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pk-suburb-pill i {
    color: var(--theme-color);
    font-size: 11px;
}

.pk-suburb-pill.is-hq {
    background: var(--theme-color);
    color: var(--color-white);
    border-color: var(--theme-color);
}

.pk-suburb-pill.is-hq i {
    color: var(--color-white);
}

.pk-cta-banner {
    background: linear-gradient(135deg, var(--theme-color2) 0%, #050030 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
}

.pk-cta-banner h2 {
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 14px;
}

.pk-cta-banner p {
    color: #cfd3f5;
    font-family: var(--body-font);
    margin-bottom: 30px;
}

.pk-cta-phone {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-white);
}

.pk-cta-phone:hover {
    color: var(--theme-color);
}

.pk-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media all and (max-width: 991px) {
    .pk-hero h1 {
        font-size: 36px;
    }

    .pk-trust-item {
        border-right: none;
        border-bottom: 1px solid var(--color-gray);
        padding: 16px;
    }

    .pk-trust-item:last-child {
        border-bottom: none;
    }

    .pk-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 575px) {
    .pk-hero {
        padding: 60px 0 90px;
    }

    .pk-hero h1 {
        font-size: 28px;
    }

    .pk-services-grid {
        grid-template-columns: 1fr;
    }

    .pk-cta-banner {
        padding: 40px 22px;
    }

    .pk-cta-phone {
        font-size: 22px;
    }
}


/*--------------------------------------------------------------
  Breadcrumbs inside the page hero
--------------------------------------------------------------*/
.pk-hero-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-hero-crumb li {
    list-style: none;
}

.pk-hero-crumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: #8f95d6;
}

.pk-hero-crumb [aria-current="page"] {
    color: var(--color-white);
}

.pk-hero .pk-hero-lead {
    font-family: var(--body-font);
    font-size: 17px;
    color: #cfd3f5;
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.pk-hero-call,
.pk-hero-quote {
    min-height: 48px;
}

/* trust bar labels are plain text, not headings */
.pk-trust-title {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
    margin: 0;
}

/* short labels that were marked up as headings */
.label-title {
    font-family: var(--heading-font);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.about-experience .label-title {
    color: var(--color-white);
    font-size: 40px;
    margin-top: 15px;
}

.choose-item-info .label-title {
    font-size: 18px;
}

.footer-contact .content .label-title {
    color: #020087;
    font-size: 16px;
    margin-bottom: 5px;
}

.counter-box .counter-static {
    color: var(--color-white);
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}


/*--------------------------------------------------------------
  Mobile menu: call, WhatsApp and email under the links
--------------------------------------------------------------*/
.mobile-nav-contact {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray);
}

.mobile-nav-contact .mnc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-white);
}

.mobile-nav-contact .mnc-call {
    background: var(--theme-color);
}

.mobile-nav-contact .mnc-wa {
    background: var(--whatsapp-green);
}

.mobile-nav-contact .mnc-btn:hover {
    color: var(--color-white);
    background: var(--color-dark);
}

.mobile-nav-contact .mnc-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    color: var(--color-dark);
    overflow-wrap: anywhere;
    text-align: center;
}

.mobile-nav-contact .mnc-email i {
    color: var(--theme-color);
}



/*--------------------------------------------------------------
  Section heading used on the redesigned inner pages
--------------------------------------------------------------*/
.pk-section-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.pk-section-head p {
    margin-top: 14px;
    color: var(--body-text-color);
}

/* whole-card links on the services hub */
a.pk-service-card {
    display: block;
    color: inherit;
}

a.pk-service-card:hover h3,
a.pk-service-card:hover .pk-more {
    color: var(--theme-color);
}

.pk-service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.pk-service-card .pk-more {
    font-weight: 700;
    font-size: 14px;
    color: var(--theme-color2);
}

.pk-service-card .pk-more i {
    margin-left: 6px;
    transition: var(--transition);
}

.pk-service-card:hover .pk-more i {
    transform: translateX(4px);
}

.pk-service-card ul {
    margin: 0 0 16px;
    padding: 0;
}

.pk-service-card li {
    list-style: none;
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--body-text-color);
    margin-bottom: 6px;
}

.pk-service-card li i {
    color: var(--theme-color);
    margin-top: 6px;
    font-size: 12px;
}


/*--------------------------------------------------------------
  Contact page
--------------------------------------------------------------*/
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--box-shadow);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-card > i {
    font-size: 24px;
    color: var(--theme-color);
    margin-bottom: 6px;
}

.contact-card .contact-card-title {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.contact-card p,
.contact-card a {
    font-size: 15px;
    color: var(--body-text-color);
    overflow-wrap: anywhere;
    margin: 0;
}

.contact-card a:hover {
    color: var(--theme-color);
}

.contact-card a[href^="tel:"] {
    color: var(--color-dark);
    font-weight: 700;
    white-space: nowrap;
}

/* the form's own grey panel is the card, so the wrapper adds no box */
.contact-form-card .pk-section-head {
    margin-bottom: 30px;
}

.about-experience.is-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.about-experience.is-text .label-title {
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
    text-transform: capitalize;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    min-height: 360px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}


/*--------------------------------------------------------------
  Footer additions
--------------------------------------------------------------*/
.footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    justify-content: flex-end;
    margin: 0 50px 10px 0;
    padding: 0;
}

.footer-quick-links li {
    list-style: none;
}

.footer-quick-links a {
    font-size: 14px;
    color: #020087;
}

.footer-quick-links a:hover {
    color: var(--theme-color);
}


/*--------------------------------------------------------------
  Headings retagged for a correct outline (sizes unchanged)
--------------------------------------------------------------*/
.choose-item-info h3 {
    color: var(--color-dark);
    margin-bottom: 8px;
    font-size: 25px;
    font-weight: 700;
}

.feature-content h3 {
    color: var(--color-white);
    font-size: 22px;
}

.skill-progress .progress-item h3 {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-content h3.service-title {
    font-size: 22px;
    color: var(--color-dark);
}

.quote-header .quote-header-text {
    font-size: 18px;
    padding-bottom: 20px;
}

.projects-grid .service-item {
    height: 100%;
}

a.pk-suburb-pill:hover {
    color: var(--color-white);
    background: var(--theme-color2);
    border-color: var(--theme-color2);
}

a.pk-suburb-pill:hover i {
    color: var(--color-white);
}

/* partner strip heading scales down on small screens */
.partner-title {
    text-align: center;
    font-size: clamp(26px, 2.2vw + 14px, 40px);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* closing call-to-action buttons */
.pk-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.theme-btn.theme-btn-wa {
    background: var(--whatsapp-green);
}

.theme-btn.theme-btn-wa::before {
    background: var(--color-dark);
}

/* brand logos are not tilted like the arrow icons */
.theme-btn .fa-whatsapp,
.theme-btn:hover .fa-whatsapp {
    transform: none;
}

/* on the navy banner the quote button needs the red to stand out */
.pk-cta-banner .theme-btn:not(.theme-btn-wa) {
    background: var(--theme-color);
}

.pk-cta-banner .theme-btn:not(.theme-btn-wa)::before {
    background: var(--color-white);
}

.pk-cta-banner .theme-btn:not(.theme-btn-wa):hover {
    color: var(--color-dark);
}


/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/
@media all and (max-width: 1199px) {
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media all and (max-width: 991px) {
}

@media all and (max-width: 767px) {
    /* keep the logo marquee inside the screen on phones */
    .partner-area .slider,
    .dtp-partners .slider {
        width: 100%;
    }

    .footer-quick-links {
        justify-content: flex-start;
        margin: 16px 0 0;
    }

    .pk-section {
        padding: 60px 0;
    }

    .pk-section-head {
        margin-bottom: 28px;
    }

    .pk-cta-banner h2 {
        font-size: 26px;
    }

    .pk-reviews {
        padding: 30px 20px;
    }
}

@media all and (max-width: 575px) {
    .contact-form {
        padding: 22px 16px;
        border-radius: 24px;
    }

    /* the wide g-5 gutter pushed rows past the screen edge on phones */
    .pk-section .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
        margin-top: -50px;
    }


    .pk-hero-actions a {
        flex: 1 1 100%;
        justify-content: center;
    }

    .pk-trust-bar {
        padding: 16px 6px;
    }
}


/*--------------------------------------------------------------
  Google rating badge (service pages)
--------------------------------------------------------------*/
.google-rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 18px;
    margin-bottom: 24px;
    border: 1px solid var(--color-gray);
    border-radius: 50px;
    background: var(--color-white);
    box-shadow: var(--box-shadow);
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.2;
}

.google-rating:hover {
    color: var(--color-dark);
    border-color: var(--theme-color2);
}

.google-rating-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.google-rating-brand i {
    color: #4285F4;
}

.google-rating-stars {
    color: #E69500;
    font-size: 13px;
    letter-spacing: 1px;
}

.google-rating-score {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
}

.google-rating-count {
    color: var(--body-text-color);
    padding-left: 10px;
    border-left: 1px solid var(--color-gray);
}


/*--------------------------------------------------------------
  Contact page trust strip and map
--------------------------------------------------------------*/
.trust-strip-section {
    padding-top: 50px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.trust-strip li {
    list-style: none;
    background: var(--theme-bg-light);
    border-radius: var(--radius-md);
    padding: 22px 14px;
}

.trust-strip li,
.trust-strip li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.trust-strip li > a {
    width: 100%;
    color: inherit;
}

.trust-strip i {
    font-size: 26px;
    color: var(--theme-color);
    margin-bottom: 6px;
}

.trust-strip .fa-star {
    color: #E69500;
}

.trust-strip .trust-value {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

.trust-strip .trust-label {
    font-size: 14px;
    color: var(--body-text-color);
}

.trust-strip li > a:hover .trust-value {
    color: var(--theme-color);
}

.contact-map-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 40px;
    background: var(--theme-bg-light);
}

.contact-map-card .contact-map {
    flex: 1;
    height: auto;
    min-height: 320px;
    border-radius: 0;
    box-shadow: none;
}

.contact-map-card .contact-map iframe {
    min-height: 320px;
}

.contact-map-info {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 24px 28px 28px;
}

.contact-map-info .label-title {
    font-size: 18px;
}


@media all and (max-width: 991px) {
    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media all and (max-width: 575px) {
    .trust-strip li {
        padding: 18px 10px;
    }

    .contact-map-card {
        border-radius: 24px;
    }
}


/*--------------------------------------------------------------
  Google reviews section (static, built by tools/build-reviews-section.py)
--------------------------------------------------------------*/
.gr-widget {
    container-type: inline-size;
    --gr-ink: #111111;
    --gr-muted: #5F6368;
    --gr-line: rgba(17, 17, 17, 0.1);
    --gr-star: #F9AB00;
    --gr-link: #0B57D0;
}

.gr-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 18px;
    padding: 16px 20px;
    border: 1px solid var(--gr-line);
    border-radius: 24px;
    background: var(--color-white);
}

.gr-summary-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--gr-ink);
}

.gr-summary-brand .fa-google,
.gr-source {
    color: #4285F4;
}

.gr-summary-brand .fa-google {
    font-size: 22px;
}

.gr-summary-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.gr-score {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--gr-ink);
}

.gr-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 15px;
    color: var(--gr-star);
}

.gr-count {
    font-size: 14px;
    color: var(--gr-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gr-count:hover {
    color: var(--gr-link);
}

.gr-write {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #1A73E8;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.gr-write:hover {
    background: #174EA6;
    color: #FFFFFF;
}

.gr-carousel {
    position: relative;
}

.gr-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px 10px;
}

.gr-track::-webkit-scrollbar {
    display: none;
}

.gr-track:focus-visible {
    outline: 3px solid var(--theme-color);
    outline-offset: 4px;
    border-radius: 24px;
}

@container (min-width: 540px) {
    .gr-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@container (min-width: 960px) {
    .gr-track {
        grid-auto-columns: calc((100% - 32px) / 3);
    }
}

.gr-slide {
    display: flex;
    scroll-snap-align: start;
}

.gr-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--gr-line);
    border-radius: 24px;
    background: var(--color-white);
}

.gr-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gr-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gr-avatar);
    color: #FFFFFF;
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 700;
}

.gr-author {
    flex: 1;
    min-width: 0;
}

.gr-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gr-ink);
}

.gr-name span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gr-verified {
    flex: none;
    font-size: 14px;
    color: #1A73E8;
}

.gr-date {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.3;
    color: var(--gr-muted);
}

.gr-source {
    align-self: flex-start;
    font-size: 18px;
}

.gr-card .gr-stars {
    font-size: 16px;
}

.gr-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gr-ink);
}

.gr-text p {
    margin: 0 0 8px;
}

.gr-text p:last-child {
    margin-bottom: 0;
}

/* collapsed cards show the first four lines */
.gr-text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin-top: auto;
}

.gr-more {
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--gr-link);
}

.gr-more:hover {
    text-decoration: underline;
}

.gr-link {
    font-size: 13px;
    color: var(--gr-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gr-link:hover {
    color: var(--gr-link);
}

.gr-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gr-line);
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    color: var(--gr-ink);
    transform: translateY(-50%);
    transition: opacity .2s ease;
}

.gr-nav:hover {
    color: var(--gr-link);
}

.gr-prev {
    left: -14px;
}

.gr-next {
    right: -14px;
}

.gr-nav[disabled] {
    opacity: 0;
    pointer-events: none;
}

/* without JavaScript the track still scrolls sideways, so hide the arrows */
.gr-widget:not(.is-ready) .gr-nav {
    display: none;
}

.gr-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
}

.gr-dots button {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
}

.gr-dots button::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #BDC1C6;
    transition: width .2s ease, background .2s ease;
}

.gr-dots button[aria-current="true"]::before {
    background: var(--gr-ink);
}

/* on one-card screens the arrows sit in the dots row so they never cover review text */
@container (max-width: 539px) {
    .gr-nav {
        top: auto;
        bottom: -54px;
        transform: none;
    }

    .gr-prev {
        left: 0;
    }

    .gr-next {
        right: 0;
    }

    .gr-dots {
        align-items: center;
        min-height: 44px;
        margin-top: 10px;
        padding: 0 48px;
    }

    .gr-summary {
        justify-content: flex-start;
    }
}
