/* Article Page Design - Modern Card-Based Layout with Blue Accents */

/* Main Article Container */
.article-content {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Article Title */
.article-title {
    color: #2842AB !important;
}

/* Article Subtitle */
.article-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
}

/* Section Headings */
.article-content h2 {
    color: #2842AB !important;
    margin-top: 50px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: none;
    position: relative;
    font-weight: 700;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.article-content h3 {
    color: #2842AB !important;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.3rem;
}

/* Body Text */
.article-content p {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #334155;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
}

.article-content li {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 12px;
    color: #334155;
}

/* Intro Block - 3 Column Layout */
.intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 0 10px;
    margin-bottom: 35px;
    color: #1e293b;
}

.intro-block .intro-highlight {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.6;
}

.intro-block .intro-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}

/* Callout Boxes */
.callout-box {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 30px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    color: #000000;
    text-align: center;
}

.callout-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #562BA5;
}

.callout-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #562BA5;
}

.callout-box strong:first-child {
    display: block;
    text-align: center;
    background: #562BA5;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Danger Callout */
.callout-box.danger::before,
.callout-box.danger::after {
    background: #FF2600;
}

.callout-box.danger strong:first-child {
    background: #FF2600;
    color: #ffffff;
}

/* Info Callout */
.callout-box.info::before,
.callout-box.info::after {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.callout-box.info strong:first-child {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #ffffff;
}

/* Success Callout */
.callout-box.success::before,
.callout-box.success::after {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.callout-box.success strong:first-child {
    background: linear-gradient(135deg, #166534, #15803d);
    color: #ffffff;
}

/* Example Boxes */
.example-box {
    background: #ffffff;
    border: none;
    padding: 28px;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.example-box::before {
    content: 'EXAMPLE';
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.example-box h4 {
    color: #1e40af;
    margin-bottom: 18px;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Quick Answer Box */
.quick-answer {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    color: white !important;
    border: none !important;
    padding: 32px !important;
    margin: 35px 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.4) !important;
}

.quick-answer h3 {
    color: #ffffff !important;
    margin-top: 0 !important;
    font-size: 1.6rem !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
}

.quick-answer p {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 16px !important;
    font-size: 20px !important;
    line-height: 1.7 !important;
}

.quick-answer strong {
    color: #fde68a !important;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
}

.faq-section h2::after {
    width: 80px;
}

.faq-section h3 {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 0;
    font-size: 17px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: all 0.2s ease;
}

.faq-section h3:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-section p {
    padding: 20px 24px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 0 12px 12px;
    margin-top: -4px;
    border-left: 4px solid #e2e8f0;
}

/* Comparison Tables */
.comparison-table {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.comparison-table table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #334155;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.comparison-table tr:hover {
    background: #eff6ff;
}

/* Checklist Boxes */
.checklist-box {
    background: #ffffff;
    border: 2px solid #2842AB;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.checklist-box h4 {
    color: #2842AB;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.checklist-box ul {
    list-style: none;
    padding-left: 0;
}

.checklist-box li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.checklist-box li:before {
    content: "\2610";
    position: absolute;
    left: 0;
    color: #2842AB;
}

/* Disclaimer */
.disclaimer {
    background: linear-gradient(135deg, #fefce8, #fef9c3) !important;
    border: 1px solid #fde047 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    position: relative;
}

.disclaimer::before {
    content: '!';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #eab308;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Related Articles Grid */
.related-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
}

.related-articles li {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.related-articles li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-articles li a {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
}

.related-articles li a:hover {
    color: #3b82f6;
}

/* CTA Button Enhancement */
.article-content .btn-color1 {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    border: none !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.4) !important;
    transition: all 0.3s ease !important;
}

.article-content .btn-color1:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px -5px rgba(30, 64, 175, 0.5) !important;
}

/* HR Styling */
.article-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 50px 0;
}

/* Tax Table Styling */
.tax-table {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.tax-table th {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 20px 30px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tax-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #334155;
    font-size: 17px;
    line-height: 1.6;
}

.tax-table tr:last-child td {
    border-bottom: none;
}

.tax-table tr:nth-child(even) {
    background: #f8fafc;
}

.tax-table tr:hover {
    background: #eff6ff;
}

.tax-table td strong {
    color: #1e40af;
    font-weight: 600;
}

/* Date Table Styling */
.date-table {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.date-table th {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 20px 35px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-table td {
    padding: 20px 35px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #334155;
    font-size: 17px;
    line-height: 1.6;
}

.date-table tr:last-child td {
    border-bottom: none;
}

.date-table tr:nth-child(even) {
    background: #f8fafc;
}

.date-table tr:hover {
    background: #eff6ff;
}

.date-table td strong {
    color: #1e40af;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .related-articles {
        grid-template-columns: 1fr;
    }

    .intro-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-content {
        padding: 30px 20px;
    }

    .tax-table th,
    .tax-table td {
        padding: 15px 20px;
        font-size: 15px;
    }
}
