:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
    --header-offset: 122px; /* Default, will be overridden by shared.css body padding-top */
}

/* Base styles for the page content */
.page-blog-sports-betting-tips {
    background-color: var(--deep-navy-color);
    color: var(--text-main);
    padding: 0; /* body handles padding-top */
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}

.page-blog-sports-betting-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px; /* Responsive padding */
}

/* Hero Section */
.page-blog-sports-betting-tips__hero-section {
    position: relative;
    background-color: var(--primary-color);
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
}

.page-blog-sports-betting-tips__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-blog-sports-betting-tips__hero-image {
    width: 100%;
    height: auto; /* Prevent stretching */
    display: block;
    aspect-ratio: 1920 / 600; /* Maintain aspect ratio */
    object-fit: cover;
    object-position: center;
    fetchpriority: high; /* For the main hero image */
}

.page-blog-sports-betting-tips__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 15px 50px;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background layers */
    color: var(--text-main);
}

.page-blog-sports-betting-tips__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-align: center;
    /* No fixed font-size, rely on clamp for responsiveness if needed */
}

.page-blog-sports-betting-tips__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* General Section Titles */
.page-blog-sports-betting-tips__section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    position: relative;
}
.page-blog-sports-betting-tips__section-title::before,
.page-blog-sports-betting-tips__section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px; /* Shorter on mobile */
    height: 2px;
    background-color: var(--divider-color);
    transform: translateY(-50%);
}
.page-blog-sports-betting-tips__section-title::before {
    left: 0;
    margin-left: calc(50% - 150px - 80px); /* Adjust based on title width */
}
.page-blog-sports-betting-tips__section-title::after {
    right: 0;
    margin-right: calc(50% - 150px - 80px); /* Adjust based on title width */
}


/* Subtitles */
.page-blog-sports-betting-tips__sub-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Paragraphs */
.page-blog-sports-betting-tips__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Call to Action Button */
.page-blog-sports-betting-tips__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-sports-betting-tips__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

/* Image with text block */
.page-blog-sports-betting-tips__image-text-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-sports-betting-tips__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-blog-sports-betting-tips__content-image {
    flex: 1;
    min-width: 300px; /* Ensure image is not too small */
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    max-width: 100%; /* Ensure responsiveness */
    /* No CSS filter allowed */
}

.page-blog-sports-betting-tips__text-content {
    flex: 2;
    min-width: 300px;
}

/* CTA Section */
.page-blog-sports-betting-tips__cta-section {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-sports-betting-tips__cta-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-blog-sports-betting-tips__cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-blog-sports-betting-tips__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-blog-sports-betting-tips__cta-button--large {
    padding: 16px 35px;
    font-size: 1.2rem;
}

/* Related Articles */
.page-blog-sports-betting-tips__related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--divider-color);
}

.page-blog-sports-betting-tips__article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-blog-sports-betting-tips__article-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Make card content flex */
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-sports-betting-tips__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-sports-betting-tips__article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.page-blog-sports-betting-tips__article-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog-sports-betting-tips__article-card-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 849px) {
    .page-blog-sports-betting-tips__hero-content {
        padding: 20px 15px 40px;
    }

    .page-blog-sports-betting-tips__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-blog-sports-betting-tips__hero-description {
        font-size: 1rem;
    }

    .page-blog-sports-betting-tips__section-title::before,
    .page-blog-sports-betting-tips__section-title::after {
        width: 40px; /* Shorter lines on smaller screens */
        margin-left: calc(50% - 100px - 40px);
        margin-right: calc(50% - 100px - 40px);
    }

    .page-blog-sports-betting-tips__image-text-block {
        flex-direction: column; /* Stack image and text */
        text-align: center;
    }

    .page-blog-sports-betting-tips__image-text-block--reverse {
        flex-direction: column; /* Stack image and text */
    }

    .page-blog-sports-betting-tips__content-image {
        margin: 0 auto 20px; /* Center image when stacked */
        max-width: 100%;
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }

    .page-blog-sports-betting-tips__text-content {
        min-width: unset;
    }

    .page-blog-sports-betting-tips__cta-section {
        padding: 30px 20px;
    }

    .page-blog-sports-betting-tips__cta-image {
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }

    .page-blog-sports-betting-tips__article-list {
        grid-template-columns: 1fr; /* Single column for articles */
    }
}

@media (max-width: 549px) {
    .page-blog-sports-betting-tips__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .page-blog-sports-betting-tips__hero-description {
        font-size: 0.95rem;
    }

    .page-blog-sports-betting-tips__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-blog-sports-betting-tips__section-title::before,
    .page-blog-sports-betting-tips__section-title::after {
        width: 20px; /* Even shorter lines */
        margin-left: calc(50% - 80px - 20px);
        margin-right: calc(50% - 80px - 20px);
    }

    .page-blog-sports-betting-tips__sub-title {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }

    .page-blog-sports-betting-tips__paragraph {
        font-size: 0.9rem;
    }

    .page-blog-sports-betting-tips__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .page-blog-sports-betting-tips__cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-blog-sports-betting-tips__cta-description {
        font-size: 0.95rem;
    }

    .page-blog-sports-betting-tips__article-card-title {
        font-size: 1.1rem;
    }

    /* Ensure content images are not smaller than 200px in CSS */
    .page-blog-sports-betting-tips__content-image,
    .page-blog-sports-betting-tips__cta-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Explicitly ensure min-width */
        min-height: 200px; /* Explicitly ensure min-height */
    }
}

/* Global image responsiveness for content area */
@media (max-width: 768px) {
    .page-blog-sports-betting-tips img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content images are not smaller than 200px by CSS rules */
.page-blog-sports-betting-tips__content-image,
.page-blog-sports-betting-tips__cta-image,
.page-blog-sports-betting-tips__hero-image {
    /* These rules ensure that even if HTML width/height are smaller,
       the CSS won't make them visually smaller than 200px.
       The HTML width/height are for CLS, CSS for actual rendering. */
    min-width: 200px;
    min-height: 200px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Override default for section title lines for better mobile appearance */
@media (max-width: 480px) {
    .page-blog-sports-betting-tips__section-title::before,
    .page-blog-sports-betting-tips__section-title::after {
        width: 15px; /* Even shorter lines on very small screens */
        margin-left: calc(50% - 60px - 15px);
        margin-right: calc(50% - 60px - 15px);
    }
}