/**
 * Shared CSS for Visa Guide Pages
 * Used across: eb-2-national-interest-waiver, eb5-visa-guide, e2-visa-cost, etc.
 */

/* Headings */
h2 {
    border-bottom: 3px solid #1c173b;
}

h3 {
    color: #17a2b8;
}

/* Key Takeaways Box */
.key-takeaways-box {
    border: 2px solid #333;
    padding: 20px;
    max-width: 420px;
    margin-bottom: 20px;
}

.key-takeaways-box h2 {
    margin-top: 0 !important;
    margin-bottom: 16px;
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
}

.key-takeaways-box ul {
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 20px;
    text-align: left;
}

/* Advice Callout Box */
.advice-callout-box {
    border: 2px solid #0056b3;
    padding: 20px;
    margin: 30px 0;
    background-color: #f7faff;
    border-left: 5px solid #0056b3;
    border-radius: 4px;
}

.advice-callout-box p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.5;
}

.advice-callout-box .callout-link-area {
    margin-top: 10px;
    font-weight: bold;
}

.advice-callout-box a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.2s;
}

.advice-callout-box a:hover {
    color: #003d7a;
    text-decoration: underline;
}

/* Stats List */
.stats-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.stats-list li {
    background: #f8f9fa;
    border-left: 4px solid #17a2b8;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.stats-list li strong {
    color: #1c173b;
}

/* Strategic Note */
.strategic-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
}

/* Disclaimer Box */
.disclaimer-box {
    border: 1px solid #ffcc00;
    padding: 15px;
    margin: 20px 0;
    background-color: #fff9e6;
    border-radius: 5px;
}

.disclaimer-box h4 {
    color: #cc9900;
    margin-top: 0;
    border-bottom: 1px solid #ffcc00;
    padding-bottom: 5px;
}

/* Author Block */
.author-top {
    margin-bottom: 20px;
}

.author-top p {
    margin: 0;
    line-height: 1.6;
}

/* Responsive Tables */
.visa-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.visa-table th {
    background: #1c173b;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
}

.visa-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.visa-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Paragraph and List Styling */
p, li {
    line-height: 1.7;
    color: #333;
}

/* Section Subtitle */
.section-subtitle {
    color: #17a2b8;
}

/* FAQ/DETAILS/SUMMARY STYLES */
details {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9fbfb;
    transition: background-color 0.3s ease;
}

details[open] {
    background-color: #e6f7ff;
    border-color: #17a2b8;
}

summary {
    font-weight: 700;
    font-size: 1.1em;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    list-style: none;
    position: relative;
    padding: 10px 10px 10px 25px;
}

summary::before {
    content: "▶";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #17a2b8;
    font-size: 0.8em;
    transition: transform 0.3s;
}

details[open] summary::before {
    content: "▼";
    transform: translateY(-50%) rotate(0deg);
}

details p,
details ul {
    padding-left: 25px;
    margin-top: 10px;
    color: #555;
    line-height: 1.7;
}

details ul {
    margin-bottom: 10px;
}

details p:last-child,
details ul:last-child {
    margin-bottom: 0;
}
