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

/* Removed Google Fonts import for faster loading - using system fonts */

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
}

/* Logo Styles */
.site-logo {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin: 0.5rem 0;
    line-height: 1;
    position: relative;
    display: inline-block;
    transform: scale(0.8);
    transform-origin: center top;
}

.logo-proud {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 2px 2px 0 #003366;
    margin-bottom: 0.2rem;
}

.logo-veteran {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffd700 0%, #ffeb99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.logo-savings {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #cc0000;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    letter-spacing: 0.02em;
}

.logo-stars {
    position: absolute;
    top: 50%;
    left: -1.8rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.logo-star {
    width: 0.8rem;
    height: 0.8rem;
    background: #ffd700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Header Styles */
header {
    background: #ffffff;
    color: #333;
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e6e6e6;
}

.header-content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.header-content h1 span.highlight {
    color: #1a1a1a;
}

.header-content h1 span.emphasis {
    color: #1a1a1a;
}

/* Add these new styles after the header styles section */
.meta-info {
    display: none;
}



.featured-image {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.featured-image img {
    width: 100%;
    height: auto;
    box-shadow: none;
}

.subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 1.5rem auto;
    line-height: 1.6;
    padding: 0 1rem;
    text-align: left;
}

.notice-box {
    background-color: #f8f8f8;
    border: 1px solid #e6e6e6;
    padding: 1.5rem;
    margin: 2rem auto 0;
    max-width: 800px;
}

.notice-box p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Main Content Styles */
.listicle-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.list-item {
    background: white;
    margin-bottom: 3rem;
    box-shadow: none;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 2rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
}

/* Layout order: headline -> image -> content -> CTA */
.news-card h2 {
    order: 1;
}

.news-image {
    order: 2;
}

.news-blurb {
    order: 3;
}

.news-cta {
    order: 4;
}

.list-item img,
.news-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 1.5rem 0;
}

.text-content {
    padding: 0;
    text-align: left;
}

.text-content .read-more {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
}

h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0;
    text-align: left;
}

/* Highlight title amounts and keywords */
h2 .amount {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffeb99 100%);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(255, 215, 0, 0.4);
    margin: 0 3px;
    display: inline-block;
}

h2 .keyword {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, #90EE90 0%, #98FB98 100%);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(144, 238, 144, 0.4);
    margin: 0 3px;
    display: inline-block;
}

.financial-highlight {
    background: linear-gradient(135deg, #90EE90 0%, #98FB98 100%);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(144, 238, 144, 0.2);
    margin: 0 1px;
}

/* Special highlighting for large savings amounts */
.mega-savings {
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

/* Friendly percentage savings */
.percentage-save {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 2px 6px rgba(78, 205, 196, 0.4);
    position: relative;
    display: inline-block;
    margin: 0 2px;
}

.percentage-save::before {
    content: '💰';
    margin-right: 3px;
}

.testimonial {
    background: #f8f9fa;
    border-left: 4px solid #1877f2;
    padding: 1.5rem;
    margin: 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    font-style: italic;
}

.testimonial-separator {
    border: none;
    border-top: 1px solid #e6e6e6;
    margin: 1rem 0 1rem 0;
    height: 0;
    width: 100%;
}

.testimonial:before {
    content: '"';
    font-size: 3rem;
    color: #1877f2;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #e6e6e6;
}

.testimonial-content {
    margin-left: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.testimonial-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-left: 20px;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: #1877f2;
    font-style: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 0.9rem;
}

.testimonial-location {
    color: #666;
    font-size: 0.8rem;
    font-style: normal;
}

/* Inline testimonial quotes within body text */
.inline-testimonial {
    background: #f8f9fa;
    border-left: 4px solid #1877f2;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.inline-testimonial p {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.inline-testimonial .quote-text {
    font-weight: 500;
    color: #2c3e50;
}

.inline-testimonial .quote-attribution {
    font-weight: 600;
    color: #1877f2;
    font-style: normal;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #333;
}

.read-more,
.news-cta {
    display: block;
    background: #1877f2;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    border-radius: 8px;
    width: fit-content;
    text-align: center;
    cursor: pointer;
}

.read-more:hover,
.news-cta:hover {
    background: #166fe5;
}

.read-more:focus,
.news-cta:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.hidden {
    display: none;
}

.expanded-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e6e6e6;
}

/* News Card Styles */
.news-card {
    background: white;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.news-section-number {
    color: #1a1a1a;
    font-weight: 700;
}

.news-headline-main {
    color: #1a1a1a;
    font-weight: 700;
}

.news-headline-highlight {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffeb99 100%);
    padding: 3px 7px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
    margin: 0 2px;
    display: inline-block;
}

.news-blurb {
    padding: 0;
    margin: 0;
}

.news-blurb p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #333;
}

.news-blurb ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.news-blurb ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

.news-blurb ul li:before {
    content: "•";
    color: #1a1a1a;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.amount {
    color: #1a1a1a;
    font-weight: 700;
}

.keyword {
    color: #1a1a1a;
    font-weight: 700;
}

.time-estimate {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* Footer Styles */
footer {
    background: #f8f8f8;
    color: #666;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid #e6e6e6;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-disclaimer {
    border-top: 1px solid #e6e6e6;
    padding-top: 1.5rem;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Print Styles */
@media print {
    .read-more,
    .news-cta {
        display: none;
    }
    .hidden {
        display: block;
    }
    .list-item {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    header {
        padding: 3rem 2rem;
    }
    .header-content h1 {
        font-size: 3rem;
        max-width: 1040px;
    }
    .featured-image {
        max-width: 1040px;
        padding: 0 2rem;
    }
    .subtitle {
        max-width: 1040px;
        padding: 0 2rem;
    }
    .notice-box {
        max-width: 1040px;
        margin: 2rem auto 0;
    }
    .notice-box p {
        font-size: 1.1rem;
    }
    .list-item img,
    .news-image {
        height: 500px;
    }
    .text-content {
        padding: 0;
    }
    h2 {
        font-size: 2rem;
    }
    h2 .alert {
        color: #1a1a1a;
    }
    p {
        font-size: 1.2rem;
    }
    .read-more,
    .news-cta {
        font-size: 1.1rem;
    }
    footer {
        padding: 3rem 2rem;
    }
    .footer-content {
        max-width: 1040px;
    }
    .footer-section p {
        font-size: 1rem;
    }
    .footer-links a {
        font-size: 1rem;
    }
    .footer-disclaimer p {
        font-size: 0.9rem;
    }
    .listicle-container {
        max-width: 1040px;
        padding: 0 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border: none;
    width: 90%;
    max-width: 600px;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

.close {
    color: #1a1a1a;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #666;
}

.quiz-step {
    text-align: center;
}

.quiz-step h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.quiz-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    margin: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.quiz-btn:hover {
    background: #333;
}

.progress-container {
    width: 100%;
    background-color: #e6e6e6;
    border-radius: 0;
    margin: 1rem 0;
    height: 4px;
}

.progress-bar {
    height: 4px;
    background-color: #1a1a1a;
    border-radius: 0;
    transition: width 0.3s ease;
}

.provider-logo {
    max-width: 200px;
    margin: 1rem auto;
    display: block;
}

.countdown {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 1rem 0;
}

.urgency {
    color: #1a1a1a;
    font-weight: bold;
    margin: 1rem 0;
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content.visible {
    display: block;
}

.content-wrapper.filler-content {
    background: none;
    box-shadow: none;
    border: none;
}

.content-wrapper.filler-content .text-content {
    padding: 0;
}

.content-wrapper.filler-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.content-wrapper.filler-content p {
    font-family: Georgia, 'Times New Roman', serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .content-wrapper.filler-content {
        padding: 0;
    }
    .content-wrapper.filler-content h2 {
        font-size: 2rem;
    }
}

.text-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.text-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

.text-content ul li:before {
    content: "•";
    color: #1a1a1a;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.conclusion {
    background: #f8f8f8;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e6e6e6;
}

.conclusion .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .conclusion .content-wrapper {
        max-width: 1040px;
        padding: 0 2rem;
    }
}

.conclusion h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-left: 3px solid #1a1a1a;
}

.benefits-list li a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1rem;
}

.benefits-list li a:hover {
    text-decoration: underline;
}

.benefits-list .amount {
    color: #1a1a1a;
    font-weight: 700;
}

@media (max-width: 768px) {
    /* Header compact on mobile */
    header {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .site-logo {
        transform: scale(0.7);
    }
    
    /* Featured image compact */
    .featured-image {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin: 1rem auto;
        padding: 0 0.5rem;
        line-height: 1.4;
    }
    
    .notice-box {
        padding: 1rem;
        margin: 1rem auto 0;
    }
    
    .notice-box p {
        font-size: 0.9rem;
    }
    
    /* Compact listicle container */
    .listicle-container {
        padding: 0 0.5rem;
    }
    
    /* Compact list items */
    .list-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .list-item img {
        margin: 1rem 0;
    }
    
    /* Compact text content */
    .text-content {
        padding: 0.5rem 0;
    }
    
    /* Compact headlines */
    h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    /* Compact paragraphs */
    p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    /* Compact buttons */
    .read-more {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Compact testimonials */
    .testimonial {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .inline-testimonial {
        padding: 0.8rem 1rem;
        margin: 1rem 0;
    }
    
    /* Compact news sections */
    .news-blurb {
        padding: 0.5rem 0;
    }
    
    .news-blurb p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .news-blurb ul {
        margin: 0.8rem 0;
        padding-left: 1.2rem;
    }
    
    .news-blurb ul li {
        margin-bottom: 0.4rem;
        font-size: 1rem;
    }
    
    /* Compact footer */
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        margin: 0 0.8rem 0 0;
    }
    
    .footer-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Compact conclusion section */
    .conclusion {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .conclusion .content-wrapper {
        padding: 0 0.5rem;
    }
    
    .conclusion h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .benefits-list li {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .benefits-list {
        padding: 0 0.5rem;
    }
    
    /* Compact modal on mobile */
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .quiz-step h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .quiz-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.3rem;
    }
    
}

 