/* Vocation Road Redesign Styles */

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

body {
    font-family: 'Georgia', serif;
    background: #fff;
}

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 100;
    padding: 8px 16px;
    background: #003b5a;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Top Partner Banner */
.partner-banner-top {
    background: #f5f5f5;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.content-slot-placeholder {
    background: #d97e38;
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 3px solid #003b5a;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.header-content .logo-link img {
    max-height: 150px;
    display: block;
}

/* Navigation */
nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-menu-wrapper {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px 8px;
    display: inline-block;
    min-height: 44px;
    line-height: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-right a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    padding: 12px 16px;
    display: inline-block;
    min-height: 44px;
    line-height: 20px;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    z-index: 1001;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #003b5a;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile article sections (before/after centerfold) — hidden on desktop */
.mobile-articles-before,
.mobile-articles-after {
    display: none;
}

/* Homepage Three Column Layout */
.homepage-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 30px;
}

/* Sidebar Left Articles */
.sidebar-left .sidebar-article {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar-left .sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-left h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sidebar-left h3 a {
    color: #000;
    text-decoration: none;
}

@media (hover: hover) {
    .sidebar-left h3 a:hover {
        text-decoration: underline;
    }
}

.sidebar-left p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 5px;
}

.sidebar-left .author {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Main Article Center */
.main-article {
    text-align: center;
}

.main-article .main-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 30px;
}

.main-article .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.main-article h1 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.main-article .cta-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #475569;
}

.main-article .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #944a00 0%, #d97e38 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: transform 0.3s;
}

@media (hover: hover) {
    .main-article .cta-button:hover {
        transform: scale(1.02);
    }
}

.main-article .subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #475569;
}

.main-article .author {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Sidebar Right Articles (also used by mobile image cards) */
.sidebar-right .sidebar-article-image,
.mobile-articles-before .sidebar-article-image,
.mobile-articles-after .sidebar-article-image {
    margin-bottom: 30px;
    position: relative;
}

.sidebar-right img,
.mobile-articles-before img,
.mobile-articles-after img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.sidebar-right .placeholder-image,
.mobile-articles-before .placeholder-image,
.mobile-articles-after .placeholder-image {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-right .badge,
.mobile-articles-before .badge,
.mobile-articles-after .badge {
    background: #944a00;
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 10px;
}

.sidebar-right h3,
.mobile-articles-before .sidebar-article-image h3,
.mobile-articles-after .sidebar-article-image h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1.2;
}

.sidebar-right .subtitle,
.mobile-articles-before .subtitle,
.mobile-articles-after .subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
}

/* Bottom Section (3 boxes) */
.bottom-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bottom-box {
    border: 2px solid #003b5a;
    padding: 20px;
    text-align: center;
    background: #fff;
}

.bottom-box h4 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

.bottom-box p {
    font-size: 14px;
    line-height: 1.4;
    color: #475569;
}

.bottom-box-highlight {
    background: #ffd700;
}

.bottom-box-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #944a00 0%, #d97e38 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.bottom-box-link:hover {
    transform: scale(1.02);
}

/* Bottom Partner Banner */
.partner-banner-bottom {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #ddd;
}

.content-slot-placeholder-bottom {
    background: #a99595;
    color: white;
    padding: 60px;
    font-size: 20px;
    font-weight: bold;
}

/* Footer */
footer {
    border-top: 1px solid #ddd;
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: #475569;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
}

@media (hover: hover) {
    .social-links a:hover {
        color: #944a00;
    }
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.copyright {
    font-size: 12px;
    color: #666;
}

/* Footer Sitemap */
.footer-sitemap {
    max-width: 1200px;
    margin: 30px auto 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
    text-align: left;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

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

.footer-links li {
    margin-bottom: 4px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    line-height: 20px;
    min-height: 44px;
}

@media (hover: hover) {
    .footer-links a:hover {
        color: #944a00;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable button scale transforms */
    .cta-button:hover,
    .bottom-box-link:hover {
        transform: none !important;
    }
}

/* ===== ARTICLE PAGES STYLES BELOW ===== */

/* Article Container */
.article-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.category-badge {
    background: #944a00;
    color: #fff;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
    font-family: 'Manrope', sans-serif;
}

.article-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.article-meta .author {
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
}

.article-meta .date {
    margin-left: 10px;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    margin-bottom: 30px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.share-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    min-height: 44px;
    display: inline-block;
    line-height: 20px;
}

@media (hover: hover) {
    .share-btn:hover {
        background: #f5f5f5;
    }
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Manrope', sans-serif;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Manrope', sans-serif;
}

.article-content img {
    width: 100%;
    height: auto;
    margin: 30px 0;
}

.article-content blockquote {
    border-left: 4px solid #944a00;
    padding-left: 20px;
    margin: 30px 0;
    font-size: 22px;
    font-style: italic;
    color: #555;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content em {
    font-style: italic;
}

.article-content strong {
    font-weight: bold;
}

/* Author Bio */
.author-bio {
    margin-top: 50px;
    padding: 30px;
    background: #f9f9f9;
    border-left: 4px solid #944a00;
}

.author-bio h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.author-bio p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* CTA Box */
.article-cta-box {
    margin-top: 40px;
    padding: 30px;
    background: #fff3cd;
    border: 2px solid #944a00;
    text-align: center;
}

.article-cta-box p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Signup Form */
.signup-form {
    margin-top: 40px;
    padding: 40px;
    background: #f5f5f5;
    text-align: center;
}

.signup-form h3 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.privacy-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
    font-style: italic;
}

/* Related Articles Section */
.related-articles {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-articles h2 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-article {
    text-decoration: none;
    color: inherit;
}

.related-article img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* ========================================
   MOBILE RESPONSIVE STYLES - PHASE 4.1
   ======================================== */

/* Tablet Breakpoint for Footer (1024px and below) */
@media (max-width: 1024px) {
    .footer-sitemap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Breakpoint (768px and below) */
@media (max-width: 768px) {
    /* Header - Make logo smaller */
    .header-content .logo-link img {
        max-height: 80px;
    }

    /* Show hamburger, hide desktop nav layout */
    .hamburger {
        display: flex;
    }

    .nav-content {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    /* Hide navigation by default on mobile */
    .nav-menu-wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 15px 0;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* Show navigation when active */
    .nav-menu-wrapper.active {
        display: flex;
    }

    /* Stack navigation items vertically */
    .nav-center {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
    }

    @media (hover: hover) {
        .nav-menu li a:hover {
            background-color: #f5f5f5;
        }
    }

    /* Stack auth links */
    .nav-right {
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        border-top: 2px solid #ddd;
        padding-top: 10px;
    }

    .nav-right a {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }

    @media (hover: hover) {
        .nav-right a:hover {
            background-color: #f5f5f5;
        }
    }

    /* Homepage - Convert 3 columns to single column */
    .homepage-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        margin: 20px auto;
    }

    /* Hide desktop sidebars on mobile — replaced by mobile-before/after sections */
    .sidebar-left,
    .sidebar-right {
        display: none;
    }

    /* Show mobile article sections */
    .mobile-articles-before,
    .mobile-articles-after {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .mobile-articles-before .sidebar-article,
    .mobile-articles-after .sidebar-article {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .sidebar-article h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* Center island - Reduce sizes */
    .main-article {
        padding: 30px 20px;
    }

    .main-logo {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .cta-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Right sidebar hidden — no nth-child rule needed */

    .sidebar-right .sidebar-article-image img {
        height: 180px;
        object-fit: cover;
    }

    /* Bottom boxes - Stack in single column */
    .bottom-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px auto;
    }

    /* Footer sitemap - Stack in single column */
    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    /* Article list page - 2 columns */
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Category list - 2 columns */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Related articles - 2 columns */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Article detail page */
    .article-content h1 {
        font-size: 32px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content p, 
    .article-content li {
        font-size: 16px;
    }

    /* Share buttons - Stack vertically on tablet */
    .share-buttons div {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .share-buttons a {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
        text-align: center !important;
    }
}

/* Mobile Phone Breakpoint (480px and below) */
@media (max-width: 480px) {
    /* Header - Even smaller logo */
    .header-content .logo-link img {
        max-height: 60px;
    }

    header {
        padding: 10px 0;
    }

    /* Navigation already handled by 768px breakpoint */
    
    /* Homepage - Tighter spacing */
    .homepage-container {
        padding: 0 10px;
        margin: 15px auto;
        gap: 20px;
    }

    /* Sidebars already hidden at 768px breakpoint */
    .sidebar-left .sidebar-article:nth-child(n+2) {
        display: none;
    }

    .sidebar-article h3 {
        font-size: 16px;
    }

    .sidebar-article p {
        font-size: 13px;
    }

    /* Center island - Mobile optimized */
    .main-article {
        padding: 20px 15px;
    }

    .main-logo {
        max-width: 80px;
        margin-bottom: 15px;
    }

    .cta-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 14px;
        width: 100%;
    }

    /* Right sidebar hidden at 768px breakpoint — no rules needed */

    .sidebar-right .sidebar-article-image img {
        height: 150px;
    }

    .sidebar-right .sidebar-article-image h3 {
        font-size: 14px;
    }

    /* Bottom boxes - Tighter spacing */
    .bottom-section {
        margin: 20px auto;
        gap: 15px;
    }

    .bottom-box {
        padding: 20px 15px;
    }

    .bottom-box h3 {
        font-size: 18px;
    }

    .bottom-box p {
        font-size: 13px;
    }

    /* Partner banner - Smaller */
    .partner-banner {
        margin: 20px auto;
    }

    /* Footer - Tighter spacing */
    .footer {
        padding: 30px 0;
    }

    .footer-sitemap {
        padding: 0 10px;
        gap: 15px;
    }

    /* Article list - Single column on phone */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Category list - Single column on phone */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card h2 {
        font-size: 20px;
    }

    .category-card p {
        font-size: 13px;
    }

    /* Related articles - Single column on phone */
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Article detail - Smaller text */
    .article-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-content p, 
    .article-content li {
        font-size: 14px;
        line-height: 1.6;
    }

    .article-meta {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Article images - Full width on mobile */
    .article-content img {
        margin: 15px 0;
    }

    /* Share buttons - Larger touch targets on mobile */
    .share-buttons h4 {
        font-size: 14px !important;
    }

    .share-buttons div {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .share-buttons a {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

.related-article .badge {
    background: #944a00;
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.related-article h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-article .article-author {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
}

/* Newsletter Callout */
.newsletter-callout {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #f5f5f5;
    text-align: center;
}

.newsletter-callout h3 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.newsletter-callout p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border: none;
    border-bottom: 2px solid #003b5a;
    background: transparent;
    font-size: 14px;
}

.newsletter-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #944a00 0%, #d97e38 100%);
    border: 2px solid #944a00;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 13px;
}
