/* Stylesheet for Article/Subfolder Pages - Stories GSM Gateway */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo:has(img) {
    font-size: 0; /* Hide text when logo image is present */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero-banner {
    background: linear-gradient(rgba(30, 60, 114, 0.85), rgba(42, 82, 152, 0.85)), url('/images/banner-hero.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2a5298;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

article {
    padding: 3rem 0;
}

.article-meta {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.article-content h2 {
    color: #1e3c72;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.article-content h3 {
    color: #2a5298;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #2a5298;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.timeline {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 3px solid #2a5298;
}

.timeline-year {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.2rem;
}

.story-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2a5298;
}

.privacy-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2a5298;
}

.generation-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2a5298;
}

.generation-box h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background: #1e3c72;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.related-links {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.related-links h3 {
    margin-bottom: 1rem;
    color: #1e3c72;
}

.related-links ul {
    list-style: none;
    margin-left: 0;
}

.related-links li {
    margin-bottom: 0.5rem;
}

.related-links a {
    color: #2a5298;
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

footer {
    background: #1e3c72;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
}