/* CONTENT PAGES */
.article-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 22px 50px;
}

.content-section h2 {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 700;
    padding-bottom: 4px;
}

.page-hero h1 {
    font-size: clamp(16px, 5vw, 30px);
    font-weight: 700;
}

.page-hero p {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 1px 16px;
    color: #000000;
}

.page-hero {
    max-width: 1100px;
    margin: 30px auto;
    padding: 40px 24px;
    border-radius: 12px;
    background: #dbf8ff;
}

.article-hero {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.article-hero img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.affiliate-disclosure p {
    font-size: 13px;
    line-height: 1;
    color: #666;
    margin: 10px 0 0px;
}

@media (max-width: 768px) {

    .article-hero img {
        height: 220px;
    }

}

/* CONTENT */
.content-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0px 24px;
    border-radius: 12px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 1px 16px;
    color: #000000;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-table th,
.content-table td {
    border: 1px solid #d9e2ec;
    padding: 12px;
    text-align: center;
}

.content-table th:first-child,
.content-table td:first-child {
    text-align: left;
}

.content-table th {
    background: #f4f8fb;
    color: #0E355B;
}

/* ARTICLE IMAGES */
.article-image {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 24px;
}

.article-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* TABLES */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d9e3e8;
    border-radius: 12px;
    overflow: hidden;
    font-size: 15px;
}

.info-table thead {
    background: #dbf8ff;
}

.info-table th {
    text-align: left;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #0d3b52;
    border-bottom: 2px solid #d9e3e8;
}

.info-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #e6edf1;
    vertical-align: top;
    line-height: 1.5;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr:hover {
    background: #f7fcfe;
}

/* MOBILE */
@media (max-width: 768px) {

    .info-table {
        font-size: 14px;
    }

    .info-table th,
    .info-table td {
        padding: 12px 14px;
    }

}

.article-date {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* SIMPLE LISTS */
.simple-list {
    font-size: 16px;
    margin: 4px 0;
    padding-left: 0;
    list-style: none;
    margin-bottom: 12px;
}

.simple-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 4px;
    line-height: 1.6;
}

.simple-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0077aa;
    font-weight: bold;
}

/* INTRO SECTION */

.intro-section {
    margin: 40px 0;
}

.intro-section h2 {
    font-size: 32px;
    color: #0E355B;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #000000;
}


/* QUESTION BLOCKS */

.question-block {
    margin: 60px 0;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.question-block:last-child {
    border-bottom: none;
}

.question-block h2 {
    font-size: 30px;
    color: #0E355B;
    margin-bottom: 20px;
}

.question-block h3 {
    font-size: 22px;
    color: #0E355B;
    margin: 30px 0 15px;
}

.question-block p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #000000;
}

.question-block ul {
    margin: 20px 0 20px 25px;
}

.question-block li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #444;
}


/* POOL ADVISER TIP BOX */

.tip-box {
    background: #f4fbff;
    border-left: 5px solid #1AA6D1;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 6px;
}

.tip-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0E355B;
    font-size: 20px;
}

.tip-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ NAVIGATION */

.faq-nav {
    background: #f7f9fb;
    padding: 25px;
    margin: 40px 0 50px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.faq-nav h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0E355B;
    font-size: 24px;
}

.faq-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-nav li {
    margin-bottom: 12px;
}

.faq-nav a {
    color: #0E355B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-nav a:hover {
    color: #1AA6D1;
}

@media (max-width: 768px) {

    .faq-nav ul {
        grid-template-columns: 1fr;
    }
}

.question-block {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .question-block {
        scroll-margin-top: 40px;
    }
}

.related-guides h2 {
    margin-bottom: 30px;
    color: #0E355B;
    text-align: center;
}