/* TextEnergy Learning Resources - Shared Styles */

body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    line-height: 1.6;
}

h1 {
    color: #003366;
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #333;
    font-size: 1.2em;
    margin-bottom: 25px;
}

/* Hub link cards */
.hub-link {
    display: block;
    background-color: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hub-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Clickable hub-link heading arrow indicator */
.heading-arrow {
    color: #999;
    margin-left: 8px;
}

a.hub-link:hover h2 {
    background-color: #e8f4f8;
    border-radius: 4px;
}

a.hub-link:hover .heading-arrow {
    color: inherit;
}

/* Fake link styling for text that looks clickable within a card link */
.fake-link {
    color: #0066cc;
    text-decoration: underline;
}

.hub-link h2 {
    color: #003366;
    margin-top: 0;
    margin-bottom: 15px;
}

.hub-link p {
    color: #333;
    margin: 0;
}

/* Hub link variants - 3D border effect */
.hub-link.citizenship {
    border-left: 6px solid #003366;
    border-bottom: 6px solid #003366;
}

.hub-link.vocab {
    border-left: 6px solid blueviolet;
    border-bottom: 6px solid blueviolet;
}

.hub-link.vocab h2 {
    color: blueviolet;
}

.hub-link.bilingual {
    border-left: 6px solid #0066cc;
    border-bottom: 6px solid #cc6600;
}

/* Status badges */
.under-development {
    display: inline-block;
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Coming soon section within cards */
.coming-soon {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.coming-soon p {
    color: #333;
}

/* Navigation */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #003366;
    text-decoration: none;
    padding: 8px 16px;
    background-color: white;
    border-radius: 4px;
    border-left: 4px solid #003366;
    border-bottom: 4px solid #003366;
}

.back-link:hover {
    background-color: #e8f4f8;
}
