/* Home News V4 Styles */
/* Scoped to .home-v4-container */

:root {
    /* Pastel Palette */
    --v4-bg: #FDFCF8;
    /* Warm Cream/Alabaster */
    --v4-card: #FFFFFF;
    --v4-text: #292524;
    /* Stone 800 */
    --v4-subtext: #78716c;
    /* Stone 500 */
    --v4-accent: #D6CFC7;
    /* Pastel Taupe */
    --v4-green: #CCD5AE;
    /* Pastel Sage */
    --v4-blue: #D4E0E8;
    /* Pastel Blue Grey */
    --v4-dark: #2C2C2B;
    /* Soft Charcoal */
    --v4-gold: #C5A992;
    /* Muted Gold */
    --v4-stone-100: #f5f5f4;
    --v4-stone-300: #d6d3d1;
    --v4-stone-400: #a8a29e;

    --v4-font-sans: 'Plus Jakarta Sans', sans-serif;
}

.home-v4-container {
    font-family: var(--v4-font-sans);
    background-color: var(--v4-bg);
    color: var(--v4-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-v4-container a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.home-v4-container img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.v4-max-w-7xl {
    max-width: 80rem;
    /* 1280px */
    margin-left: auto;
    margin-right: auto;
}

.v4-p-6 {
    padding: 1.5rem;
}

.v4-p-10 {
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .v4-md-p-10 {
        padding: 2.5rem;
    }
}

.v4-space-y-20>*+* {
    margin-top: 5rem;
}

.v4-section {
    margin-bottom: 5rem;
}

/* Typography */
.v4-text-xl {
    font-size: 1.25rem;
}

.v4-text-2xl {
    font-size: 1.5rem;
}

.v4-text-3xl {
    font-size: 1.875rem;
}

.v4-text-lg {
    font-size: 1.125rem;
}

.v4-text-sm {
    font-size: 0.875rem;
}

.v4-text-xs {
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .v4-md-text-4xl {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .v4-lg-text-5xl {
        font-size: 3rem;
    }
}

.v4-font-bold {
    font-weight: 700;
}

.v4-font-extrabold {
    font-weight: 800;
}

.v4-font-semibold {
    font-weight: 600;
}

.v4-font-medium {
    font-weight: 500;
}

.v4-uppercase {
    text-transform: uppercase;
}

.v4-tracking-widest {
    letter-spacing: 0.1em;
}

.v4-tracking-tight {
    letter-spacing: -0.025em;
}

.v4-tracking-wide {
    letter-spacing: 0.025em;
}

.v4-text-stone-400 {
    color: var(--v4-stone-400);
}

.v4-text-stone-500 {
    color: var(--v4-subtext);
}

.v4-text-pastel-dark {
    color: var(--v4-dark);
}

.v4-text-pastel-gold {
    color: var(--v4-gold);
}

.v4-text-white {
    color: #ffffff;
}

.v4-text-light {
    color: var(--v4-bg) !important;
}

/* Flex & Grid */
.v4-flex {
    display: flex;
}

.v4-flex-col {
    flex-direction: column;
}

.v4-items-center {
    align-items: center;
}

.v4-justify-center {
    justify-content: center;
}

.v4-justify-between {
    justify-content: space-between;
}

.v4-gap-3 {
    gap: 0.75rem;
}

.v4-gap-6 {
    gap: 1.5rem;
}

.v4-gap-8 {
    gap: 2rem;
}

.v4-grid {
    display: grid;
}

.v4-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .v4-sm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .v4-md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-md-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .v4-lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v4-lg-grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .v4-lg-col-span-7 {
        grid-column: span 7 / span 7;
    }

    .v4-lg-col-span-5 {
        grid-column: span 5 / span 5;
    }
}

/* Backgrounds & Borders */
.v4-bg-white {
    background-color: #ffffff;
}

.v4-bg-pastel-gold {
    background-color: var(--v4-gold);
}

.v4-bg-stone-300 {
    background-color: var(--v4-stone-300);
}

.v4-bg-pastel-green {
    background-color: var(--v4-green);
}

.v4-bg-pastel-bg {
    background-color: var(--v4-bg);
}

.v4-rounded-full {
    border-radius: 9999px;
}

.v4-rounded-2xl {
    border-radius: 1rem;
}

.v4-rounded-3rem {
    border-radius: 3rem;
}

.v4-rounded-\[2rem\] {
    border-radius: 2rem;
}

.v4-rounded-\[2\.5rem\] {
    border-radius: 2.5rem;
}

.v4-shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.v4-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.v4-border {
    border-width: 1px;
}

.v4-border-stone-100 {
    border-color: var(--v4-stone-100);
}

.v4-border-stone-700 {
    border-color: #44403c;
}

/* Components */
.v4-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--v4-gold);
}

.v4-header-pill {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.v4-header-pill.v4-grey {
    background-color: var(--v4-stone-300);
}

.v4-header-pill.v4-green {
    background-color: var(--v4-green);
}

.v4-btn-view-all {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--v4-stone-400);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    background: none;
    border: none;
}

.v4-btn-view-all:hover {
    color: var(--v4-gold);
}

/* Image Zoom Effect */
.v4-image-hover-zoom {
    overflow: hidden;
    position: relative;
}

.v4-image-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-group:hover .v4-image-hover-zoom img,
.v4-image-hover-zoom:hover img {
    transform: scale(1.04);
}

/* Spotlight / Hero */
.v4-hero-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--v4-stone-100);
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .v4-hero-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .v4-hero-card {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: center;
    }
}

.v4-hero-img-wrap {
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: relative;
    border-radius: 2rem;
}

@media (min-width: 768px) {
    .v4-hero-img-wrap {
        min-height: 450px;
    }
}

.v4-tag-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--v4-text);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.v4-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--v4-dark);
    color: var(--v4-bg);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.v4-hero-btn:hover {
    background-color: #44403c;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.v4-hero-btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.v4-hero-btn:hover svg {
    transform: translateX(0.25rem);
}

/* Motorsport Grid (3 Cols) */
.v4-aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.v4-overlay-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--v4-bg);
    color: var(--v4-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Luxury Collection (Bento like) */
.v4-luxury-large {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 2.5rem;
    border: 1px solid var(--v4-stone-100);
    transition: all 0.3s ease;
}

.v4-luxury-large:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.v4-aspect-3-4 {
    aspect-ratio: 3 / 4;
}

.v4-tag-pill {
    background-color: var(--v4-stone-100);
    color: #57534e;
    /* stone-600 */
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    display: inline-block;
}

.v4-read-more-link {
    font-size: 0.875rem;
    font-weight: 700;
    border-bottom: 2px solid var(--v4-gold);
    padding-bottom: 0.125rem;
    color: var(--v4-text);
    transition: color 0.3s ease;
}

.v4-read-more-link:hover {
    color: var(--v4-gold);
}

.v4-luxury-small {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 2.5rem;
    border: 1px solid var(--v4-stone-100);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.v4-luxury-small:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .v4-luxury-small {
        flex-direction: row;
    }
}

.v4-luxury-small-img {
    width: 100%;
    height: 14rem;
    border-radius: 2rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .v4-luxury-small-img {
        width: 50%;
        height: 100%;
    }
}

.v4-luxury-content {
    width: 100%;
}

@media (min-width: 640px) {
    .v4-luxury-content {
        width: 50%;
        padding-right: 0.5rem;
    }
}

/* Golf Lifestyle (Dark) */
.v4-golf-section {
    background-color: var(--v4-dark);
    border-radius: 3rem;
    padding: 2rem;
    color: var(--v4-bg);
}

@media (min-width: 768px) {
    .v4-golf-section {
        padding: 3rem;
    }
}

.v4-golf-img-wrap {
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--v4-stone-700);
}

.v4-golf-img-wrap img {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.v4-group:hover .v4-golf-img-wrap img {
    opacity: 1;
    transform: scale(1.05);
    /* slightly bigger zoom */
}

.v4-more-news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    border: 1px dashed #57534e;
    /* stone-600 */
    color: var(--v4-stone-300);
    height: 100%;
    min-height: 200px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.v4-more-news-btn:hover {
    background-color: #44403c;
    /* stone-700 */
    color: #ffffff;
    border-style: solid;
}

/* Utility for clamps */
.v4-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v4-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover colors */
.v4-group:hover .v4-hover-text-gold {
    color: var(--v4-gold);
}