
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}


header {
    width: 100%;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0; 
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8); 
    border-bottom: 2px solid rgba(0, 0, 0, 0.8); 
    font-size: 16px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0; 
    max-width: 75%;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    font-weight: bold;
}

.logo {
    width: 3rem; 
}

.cta-button {
    display: inline-block;
    width: 160px;
    font-weight: bold;
    border-radius: 20px; 
    background-color: #d7f6f4; 
    color: #186663; 
    padding: 0.5rem 0.5rem; 
    text-decoration: none;
    text-align: center;
}

.hero-section {
    padding: 1rem; 
    padding-top: 0;
    color: black;
    background-color: white;
    font-family: 'Noto Sans', Arial, sans-serif;
}

.section-container {
    margin: 0 auto;
}

.main-title {
    padding-top: 0.5rem; 
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
}

.subtitle {
    padding-top: 0.5rem; 
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.4;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 1rem; 
    padding-top: 1rem; 
    font-size: 0.775rem;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 2rem; 
    margin-bottom: 0.5rem; 
}

.hero-image {
    width: 100%;
    margin: 0 auto;
}

.image-caption {
    color: #5E5757;
    font-size: 0.875rem; 
    font-style: italic;
    padding-bottom: 1rem; 
    font-size: 0.675rem;
    line-height: 1.4;
}

.benefits-section {
    padding: 1.25rem 0; 
    color: black;
    margin: 0 auto;
    max-width: 82%;
    border: 2px solid black;
}

.benefits-title a {
    color: #186663; 
}

.benefits-title {
    margin: 0 1rem; 
    font-size: 1.2rem;
    font-weight: bold;
    color: #186663; 
    text-decoration: underline;
    cursor: pointer;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    font-size: .9rem;
    padding-top: 1rem; 
    margin: 0 2rem; 
    list-style-type: disc;
    line-height: 1.5;
}

.benefit-item {
    margin: 0.5rem 0;
}

.highlight {
    color: rgba(0, 0, 0, 0.8); 
}


.cost-section {
    padding-top: 1.25rem; /* pt-5 */
    color: black;
    margin: 0 auto;
    max-width: 82%;
}

.cost-list {
    display: flex;
    flex-direction: column;
    gap: 1rem; 
    font-size: .9rem;
    padding: 2rem 0; 
    color: black;
    line-height: 1.6;
}

.cta-container {
    display: flex;
    justify-content: center;
}

.cta-large {
    width: 180px;
    font-size: 1rem; 
}


.price-table-section {
    padding-top: 1rem; 
    margin: 0 auto;
    max-width: 82%;
}

.price-table-title {
    margin-bottom: 1.5rem; 
    margin-right: 0.5rem; 
    font-size: 1.1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8); 
    line-height: 1.4;
}

.price-table {
    display: grid;
    gap: 3px;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 68px auto auto 68px;
    color: rgba(0, 0, 0, 0.8); 
}

.table-header {
    background-color: #FFEDDD;
    font-weight: bold;
    border: 1px solid black;
    display: grid;
    place-items: center;
    font-size: 0.875rem; 
    height: 68px;
}

.table-header-type {
    width: 120px;
    border-top-left-radius: 20px;
}

.table-header-price {
    width: 100px;
}

.table-header-coverage {
    width: 120px;
    border-top-right-radius: 20px;
}

.table-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    border: 1px solid black;
    background-color: #d7f6f4; 
    padding: 0.5rem 0;
}

.type-col {
    font-size: 0.65rem; 
    font-weight: bold;
    grid-row-start: 2;
}

.price-col {
    font-size: 0.65rem; 
    grid-row-start: 2;
}

.coverage-col {
    font-size: 0.65rem; 
    grid-row-start: 2;
}

.table-footer {
    grid-column: span 3;
    font-size: 1rem;
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid black;
    background-color: #186663; /* bg-secondaryInsurance */
    color: white;
}

.table-cta {
    grid-column: span 4;
    width: 99.5%;
    border: 1px solid black;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #FFEDDD;
    display: flex;
    align-items: center;
    justify-content: center;
}


.advantages-section {
    padding: 1rem 0; 
    color: black;
    margin: 0 auto;
    max-width: 82%;
}

.advantages-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8); 
    line-height: 1.4;
}

.advantages-text {
    gap: 1rem; 
    padding-top: 1rem; 
    font-size: .9rem;
    line-height: 1.6;
}


.age-selection-section {
    padding: 1rem 0; 
    color: black;
    margin: 0 auto;
    max-width: 100%;
}

.age-selection-header {
    padding: 1.25rem; 
    font-size: .8rem;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
    color: white;
    font-family: 'Noto Sans', Arial, sans-serif;
    background: linear-gradient(270deg, #186663 1.91%, #03252d 108.46%)
}

.age-selection-container {
    padding-bottom: 1rem; 
}

.age-selection-prompt {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0; 
    font-size: 1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8); 
}

.selectable-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; 
    padding: 1rem; 
}

.selectable-item {
    cursor: pointer;
    width: 140px;
    height: 100px;
    border-radius: 0.75rem; /* rounded-xl */
    background-color: #FFEDDD;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
}

.selectable-item.active {
    background-color: #d7f6f4; 
}

.age-icon {
    width: 33.333333%; 
    height: 2.25rem; 
}

.age-label {
    font-weight: bold;
    font-size: 1rem; 
}


.footer {
    background-color: #FFEDDD; 
    position: relative;
    z-index: 15; 
}

.footer-content {
    font-size: 1rem;
    padding: 1.5rem; 
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: 6rem; 
    padding: 1rem 0; 
}

.footer-copyright {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    font-size: .9rem;
}

.footer-links a {
    color: black;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}


.lg-hidden {
    display: inline;
}

@media (min-width: 420px) {
    .price-table {
        grid-template-columns: 2fr 1fr 2fr;
    }

    .table-header-type {
        width: 100%;
    }
    
    .table-header-price {
        width: 100%;
    }
    
    .table-header-coverage {
        width: 100%;
    }
}

/* Media queries for responsive design */
@media (min-width: 768px) { 
    .table-cta {
        width: 99.9%;
    }

    .main-nav {
        max-width: 700px;
    }

    .type-col {
        font-size: 0.75rem;
    }
    
    .price-col {
        font-size: 0.75rem;
    }
    
    .coverage-col {
        font-size: 0.75rem;
    }
    
    .section-container,
    .benefits-section,
    .cost-section,
    .price-table-section,
    .advantages-section {
        max-width: 700px;
    }
    
    .benefits-title {
        margin: 0 3rem; 
        font-size: 1.875rem; 
    }
    
    .benefits-list {
        margin: 0 3rem; 
    }
    
    .main-title {
        font-size: 2.25rem; 
    }
    
    .subtitle {
        font-size: 1.25rem; 
    }
    
    .image-caption {
        font-size: 1rem; 
    }
    
    .price-table-section {
        padding: 2rem 0; 
        padding-left: 0;
        padding-right: 0;
    }
    
    .cost-list {
        padding: 1rem 0; 
    }
    
    .age-selection-header {
        font-size: .9rem;
    }
    
    .age-selection-prompt {
        font-size: 1rem;
    }
    
    .selectable-item {
        width: 122px; 
    }
    
    .footer-content {
        font-size: 1rem; 
    }
}

@media (min-width: 1024px) { 
    .header-title {
        font-size: 1.25rem; 
    }

    .main-nav {
        max-width: 1024px;
    }

    .type-col {
        font-size: 0.65rem;
    }
    
    .price-col {
        font-size: 0.65rem;
    }
    
    .coverage-col {
        font-size: 0.65rem;
    }
    
    .logo {
        width: 5rem; 
    }
    
    .cta-button {
        width: auto;
        font-size: 17px;
        padding: 0.5rem 1.5rem; 
    }
    
    .section-container,
    .benefits-section,
    .cost-section,
    .advantages-section {
        max-width: 1024px;
    }
    
    .price-table-section {
        max-width: 1024px;
    }
    
    .meta-info {
        padding-top: 3rem; 
        gap: 3rem; 
        flex-direction: row;
        font-size: 0.8125rem; 
        width: 1024px;
        margin: 0 auto;
    }
    
    .reading-time {
        gap: 3rem; 
    }
    
    .hero-image {
        width: 1024px;
    }
    
    .image-caption {
        font-size: 1rem; 
        width: 1024px;
    }
    
    .main-title {
        font-size: 2.25rem; 
    }
    
    .subtitle {
        font-size: 1.3125rem; 
    }
    
    .benefits-list {
        gap: 1rem; 
        font-size: 1rem; 
    }
    
    .cost-list {
        font-size: 1rem; 
        padding: 3rem 0; 
    }
    
    .cta-large {
        width: auto;
        font-size: 0.9375rem; 
    }
    
    .price-table-title {
        font-size: 1.5rem; 
    }
    
    .table-header {
        font-size: 1rem; 
    }
    
    .table-col {
        font-size: 1rem; 
    }
    
    .table-footer {
        font-size: 1.5rem;
        padding: 1.2rem 1.5rem;
    }
    
    .advantages-title {
        font-size: 1.875rem;
    }
    
    .advantages-text {
        font-size: 1rem; 
    }

    .lg-hidden {
        display: none;
    }
    
    .selectable-item {
        width: 140px;
        height: 110px;
        justify-content: center;
        align-content: center;
    }

    .age-selection-header {
        font-size: 1rem;
    }

    .age-selection-section {
        max-width: 1080px;
    }
    
    .age-label {
        font-size: 1rem; 
    }
    
    .footer-links {
        flex-direction: row; 
        gap: 2rem; 
    }
}