/* ==========================================================================
   GREYTON MARKETPLACE — Front Page Styles
   ========================================================================== */

/* Remove ALL top spacing on the homepage — body, page wrapper, content */
body.home {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home #page,
body.home .ast-separate-container,
body.home #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.greyton-home {
    margin-top: 0;
    padding: 0;
}

.greyton-marketplace.page .site-content > .ast-container {
    max-width: 100%;
    padding: 0;
}

.greyton-marketplace .entry-content {
    margin: 0;
}

/* Astra: remove sidebar and make full-width on front page */
body.home .site-content .ast-container,
body.home.ast-separate-container #content .ast-container,
body.page-template-default.home .site-content .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
}

body.home #secondary,
body.page-template-default.home #secondary {
    display: none;
}

body.home #primary,
body.page-template-default.home #primary {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Kill any Astra spacing above the homepage content */
body.home .site-content,
body.home .ast-container,
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.greyton-fp-container {
    max-width: var(--container-max, 1240px);
    margin: 0 auto;
    padding: 0 var(--space-xl, 2rem);
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.greyton-fp-section-title {
    font-family: var(--font-heading);
    color: var(--greyton-primary);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    text-align: center;
    margin: 0 0 var(--space-sm);
    line-height: 1.2;
}

.greyton-fp-section-subtitle {
    font-family: var(--font-accent);
    color: var(--greyton-secondary);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    text-align: center;
    margin: 0 0 var(--space-2xl);
    font-weight: 400;
}

.greyton-fp-section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ==========================================================================
   EYEBROW TEXT
   ========================================================================== */

.greyton-fp-eyebrow {
    font-family: var(--font-accent);
    color: var(--greyton-secondary);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    display: block;
    margin-bottom: var(--space-xs);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.greyton-fp-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

.greyton-fp-btn-primary {
    background: var(--greyton-secondary);
    color: #fff;
    border: 2px solid var(--greyton-secondary);
}

.greyton-fp-btn-primary:hover {
    background: var(--greyton-accent);
    border-color: var(--greyton-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.greyton-fp-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.greyton-fp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.greyton-fp-btn-secondary {
    background: transparent;
    color: var(--greyton-primary);
    border: 2px solid var(--greyton-primary);
}

.greyton-fp-btn-secondary:hover {
    background: var(--greyton-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.greyton-fp-btn-cta {
    background: var(--greyton-secondary);
    color: #fff;
    border: 2px solid var(--greyton-secondary);
    font-size: 1.1rem;
    padding: 18px 48px;
}

.greyton-fp-btn-cta:hover {
    background: var(--greyton-accent);
    border-color: var(--greyton-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(196, 101, 43, 0.3);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.greyton-fp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    overflow: hidden;
    /* Header is position:absolute, so hero naturally sits at top */
    margin-top: 0;
    padding-top: var(--greyton-header-height, 90px);
}

/* --- YouTube Video Background --- */

.greyton-fp-hero--video {
    position: relative;
}

/* Prevent Astra/WP responsive-embed wrappers from constraining the video */
.greyton-fp-hero-video-wrap .wp-block-embed__wrapper,
.greyton-fp-hero-video-wrap .wp-embed-responsive {
    position: static !important;
    padding: 0 !important;
}

.greyton-fp-hero-video-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Scale the 16:9 iframe so it always covers the hero, like object-fit:cover */
.greyton-fp-hero-video-wrap iframe,
.greyton-fp-hero--video .greyton-fp-hero-video-wrap iframe {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100vw !important;
    height: 56.25vw !important;  /* 16:9 ratio */
    min-height: 100% !important;
    min-width: 177.78vh !important; /* inverse of 16:9 */
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
}

.greyton-fp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 36, 22, 0.15) 0%,
        rgba(44, 36, 22, 0.45) 50%,
        rgba(44, 36, 22, 0.7) 100%
    );
    z-index: 1;
}

/* Full cover over video: hides fallback image flash + YouTube branding.
   JS adds .greyton-video-playing to the hero section when YouTube reports
   playerState=1 (actually playing), then this transitions to opacity 0. */
.greyton-fp-hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(250, 250, 247, 1) 0%,
        rgba(245, 240, 232, 0.85) 15%,
        rgba(44, 36, 22, 0.7) 50%,
        rgba(44, 36, 22, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
}

/* Cover fades out; content fades in — both triggered when video is playing */
.greyton-fp-hero--video.greyton-video-playing .greyton-fp-hero-video-wrap::after {
    opacity: 0;
}

.greyton-fp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: var(--space-xl);
    /* Start hidden; fade in once the video is playing so text never
       sits on the white loading gradient */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.greyton-fp-hero--video.greyton-video-playing .greyton-fp-hero-content {
    opacity: 1;
}

.greyton-fp-hero-title {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 var(--space-md);
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.02em;
}

.greyton-fp-hero-subtitle {
    color: var(--greyton-secondary-light) !important;
    font-family: var(--font-accent);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    margin: 0 0 var(--space-xl);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.greyton-fp-hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.greyton-fp-hero-scroll-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    margin-top: var(--space-2xl);
    animation: greyton-bounce 2s ease-in-out infinite;
}

@keyframes greyton-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Video credit line — bottom-right of hero */
.greyton-fp-hero-credit {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-lg);
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    z-index: 5;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s;
}

.greyton-fp-hero--video.greyton-video-playing .greyton-fp-hero-credit {
    opacity: 1;
}

.greyton-fp-hero-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.greyton-fp-hero-credit a:hover {
    color: #fff;
}

/* ==========================================================================
   2. INTRO STRIP
   ========================================================================== */

.greyton-fp-intro {
    background: var(--greyton-white);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    border-bottom: 1px solid var(--greyton-border-light);
}

.greyton-fp-intro-text {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--greyton-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.greyton-fp-intro-accent {
    display: block;
    font-family: var(--font-accent);
    color: var(--greyton-secondary);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    margin-top: var(--space-sm);
}

/* ==========================================================================
   3. CATEGORY GRID
   ========================================================================== */

.greyton-fp-categories {
    background: var(--greyton-parchment);
    padding: var(--space-3xl) var(--space-xl);
}

.greyton-fp-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 600px) {
    .greyton-fp-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .greyton-fp-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.greyton-fp-cat-card {
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.greyton-fp-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--greyton-secondary);
}

.greyton-fp-cat-card:hover .greyton-fp-cat-icon {
    background: var(--cat-color, var(--greyton-parchment));
    border-radius: 50%;
}

.greyton-fp-cat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-base);
    padding: 8px;
}

.greyton-fp-cat-icon img {
    width: 48px;
    height: 48px;
}

.greyton-fp-cat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--greyton-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ==========================================================================
   4. VENDORS SECTION
   ========================================================================== */

.greyton-fp-vendors {
    background: var(--greyton-white);
    padding: var(--space-3xl) var(--space-xl);
}

/* ==========================================================================
   5. PRODUCTS SECTION
   ========================================================================== */

.greyton-fp-products {
    background: var(--greyton-parchment);
    padding: var(--space-3xl) var(--space-xl);
}

.greyton-fp-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .greyton-fp-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .greyton-fp-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.greyton-fp-product-card {
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.greyton-fp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.greyton-fp-product-img-wrap {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--greyton-parchment);
}

.greyton-fp-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-base);
}

.greyton-fp-product-card:hover .greyton-fp-product-img-wrap img {
    transform: scale(1.04);
}

.greyton-fp-product-info {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.greyton-fp-product-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
}

.greyton-fp-product-title a {
    color: var(--greyton-dark);
    text-decoration: none;
}

.greyton-fp-product-title a:hover {
    color: var(--greyton-primary);
}

.greyton-fp-product-price {
    color: var(--greyton-secondary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
    flex: 1;
}

.greyton-fp-product-price .woocommerce-Price-amount {
    color: var(--greyton-secondary);
}

.greyton-fp-product-btn {
    display: block;
    background: var(--greyton-primary) !important;
    color: var(--greyton-white) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px !important;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition-base);
    cursor: pointer;
}

.greyton-fp-product-btn:hover {
    background: var(--greyton-secondary) !important;
    color: var(--greyton-white) !important;
}

/* ==========================================================================
   6. SATURDAY MARKET
   ========================================================================== */

.greyton-fp-market {
    background: var(--greyton-white);
    padding: var(--space-3xl) var(--space-xl);
}

.greyton-fp-market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .greyton-fp-market-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.greyton-fp-market-image img {
    width: 100%;
    height: auto;
    border-radius: 20px 8px 20px 8px;
    box-shadow: var(--shadow-lg);
}

.greyton-fp-market-content h2 {
    margin: 0 0 var(--space-md);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.greyton-fp-market-content p {
    color: var(--greyton-medium);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.greyton-fp-market-details {
    color: var(--greyton-dark) !important;
    font-size: 0.95rem !important;
    margin-bottom: var(--space-lg) !important;
}

/* ==========================================================================
   7. ABOUT GREYTON
   ========================================================================== */

.greyton-fp-about {
    background: var(--greyton-parchment);
    padding: var(--space-3xl) var(--space-xl);
}

.greyton-fp-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .greyton-fp-about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.greyton-fp-about-card {
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.greyton-fp-about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.greyton-fp-about-icon {
    margin-bottom: var(--space-md);
}

.greyton-fp-about-icon svg {
    display: inline-block;
}

.greyton-fp-about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--greyton-primary);
    margin: 0 0 var(--space-sm);
}

.greyton-fp-about-card p {
    font-size: 0.95rem;
    color: var(--greyton-medium);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   8. GALLERY SHOWCASE
   ========================================================================== */

.greyton-fp-gallery {
    background: var(--greyton-white);
    padding: var(--space-3xl) var(--space-xl);
}

.greyton-fp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .greyton-fp-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .greyton-fp-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.greyton-fp-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.greyton-fp-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.greyton-fp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.greyton-fp-gallery-item:hover img {
    transform: scale(1.08);
}

.greyton-fp-gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(44, 36, 22, 0.75) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.greyton-fp-gallery-item:hover .greyton-fp-gallery-item-overlay {
    opacity: 1;
}

.greyton-fp-gallery-item-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.greyton-fp-gallery-item-photographer {
    color: var(--greyton-secondary-light);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* ==========================================================================
   9. BECOME A VENDOR CTA
   ========================================================================== */

.greyton-fp-cta {
    background: var(--greyton-primary);
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal texture */
.greyton-fp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(255, 255, 255, 0.02) 80px
    );
    pointer-events: none;
}

.greyton-fp-cta-eyebrow {
    font-family: var(--font-accent);
    color: var(--greyton-accent);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    display: block;
    margin-bottom: var(--space-sm);
    position: relative;
}

.greyton-fp-cta h2 {
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 var(--space-lg);
    position: relative;
}

.greyton-fp-cta p {
    color: var(--greyton-primary-light) !important;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    line-height: 1.75;
    position: relative;
}

.greyton-fp-cta .greyton-fp-hero-buttons {
    position: relative;
}

/* ==========================================================================
   RESPONSIVE TWEAKS
   ========================================================================== */

/* Hide video for users who prefer reduced motion; show static image instead */
@media (prefers-reduced-motion: reduce) {
    .greyton-fp-hero--video {
        background-image: url('https://greyt.co.za/wp-content/uploads/2026/02/snow-greyton-scaled.jpg');
        background-size: cover;
        background-position: center 40%;
    }
    .greyton-fp-hero-video-wrap {
        display: none;
    }
}

@media (max-width: 767px) {
    .greyton-fp-hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: var(--greyton-header-height, 70px);
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }

    /* Ensure video wrapper stretches full width on mobile */
    .greyton-fp-hero-video-wrap {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
    }

    .greyton-fp-hero-title {
        font-size: 2.25rem;
    }

    .greyton-fp-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .greyton-fp-btn {
        width: 100%;
        max-width: 300px;
    }

    .greyton-fp-market-content {
        text-align: center;
    }

    .greyton-fp-cta {
        padding: var(--space-3xl) var(--space-md);
    }
}

@media (max-width: 480px) {
    .greyton-fp-hero {
        min-height: 100vh;
    }

    .greyton-fp-hero-content {
        padding: var(--space-md);
    }
}

/* ==========================================================================
   9. DOG PAGEANT WIDGET
   ========================================================================== */

.greyton-fp-dogpageant {
    background: linear-gradient(150deg, var(--greyton-primary-dark) 0%, var(--greyton-primary) 100%);
    padding: var(--space-3xl) var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal texture (matches vendor CTA) */
.greyton-fp-dogpageant::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(255, 255, 255, 0.02) 80px
    );
    pointer-events: none;
}

.greyton-fp-dogpageant-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .greyton-fp-dogpageant-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: var(--space-3xl);
    }
}

/* --- Badge --- */
.greyton-fp-dogpageant-badge {
    display: inline-block;
    background: var(--greyton-accent);
    color: var(--greyton-primary-dark);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
}

/* --- Title --- */
.greyton-fp-dogpageant-title {
    color: var(--greyton-white) !important;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 var(--space-md);
}

.greyton-fp-dogpageant-gold {
    display: block;
    color: var(--greyton-accent) !important;
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

/* --- Body text --- */
.greyton-fp-dogpageant-text {
    color: rgba(250, 250, 247, 0.85);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    margin: 0 0 var(--space-sm);
    max-width: 540px;
}

.greyton-fp-dogpageant-count {
    color: var(--greyton-secondary-light);
    font-family: var(--font-accent);
    font-size: 1.15rem;
    margin: 0 0 var(--space-lg);
}

.greyton-fp-dogpageant-count strong {
    color: var(--greyton-accent);
    font-family: var(--font-body);
}

/* --- Buttons --- */
.greyton-fp-dogpageant-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.greyton-fp-btn-outline--dark {
    color: var(--greyton-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.greyton-fp-btn-outline--dark:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--greyton-white);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* --- Visual column --- */
.greyton-fp-dogpageant-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

/* Trophy */
.greyton-fp-dogpageant-trophy {
    font-size: clamp(5rem, 10vw, 8rem);
    line-height: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
    animation: greyton-trophy-float 3s ease-in-out infinite;
}

@keyframes greyton-trophy-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* Dog face thumbnails — overlapping circles */
.greyton-fp-dogpageant-faces {
    display: flex;
    justify-content: center;
}

.greyton-fp-dogpageant-face {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--greyton-accent);
    object-fit: cover;
    margin-left: -16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-base);
}

.greyton-fp-dogpageant-face:first-child {
    margin-left: 0;
}

.greyton-fp-dogpageant-face:hover {
    transform: scale(1.15) translateY(-4px);
    z-index: 2;
}

/* Scattered paws */
.greyton-fp-dogpageant-paws {
    display: flex;
    gap: var(--space-lg);
    opacity: 0.15;
    font-size: 2rem;
}

.greyton-fp-dogpageant-paws span:nth-child(1) { transform: rotate(-20deg); }
.greyton-fp-dogpageant-paws span:nth-child(2) { transform: rotate(10deg) translateY(-8px); }
.greyton-fp-dogpageant-paws span:nth-child(3) { transform: rotate(25deg); }

/* --- Mobile tweaks --- */
@media (max-width: 767px) {
    .greyton-fp-dogpageant {
        text-align: center;
    }

    .greyton-fp-dogpageant-text {
        max-width: none;
    }

    .greyton-fp-dogpageant-buttons {
        justify-content: center;
    }

    .greyton-fp-dogpageant-face {
        width: 60px;
        height: 60px;
    }
}
