/* The Global Gazette — Newspaper aesthetic */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f9;
    color: #222;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Masthead */
.masthead {
    background: #1a1a2e;
    padding: 18px 24px;
    border-bottom: 3px solid #e0e0e0;
}
.masthead-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.masthead-link {
    text-decoration: none;
}
.masthead-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
}
.masthead-tagline {
    font-size: 13px;
    color: #ccc;
    margin-top: 2px;
}
.masthead-nav a {
    color: #ccc;
    font-size: 14px;
    margin-left: 20px;
}
.masthead-nav a:hover {
    color: #fff;
}

/* Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 48px 20px 40px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 32px;
}
.hero-headline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 12px;
}
.hero-sub {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.cta-button:hover {
    background: #2d2d5e;
    text-decoration: none;
    color: #fff;
}

/* Features */
.features {
    margin-bottom: 36px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 4px;
}
.feature-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 14px;
    color: #555;
}

/* Section headings */
.section-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    color: #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* Preview / Free content */
.preview-section {
    margin-bottom: 36px;
}
.free-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
}
.free-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #1a1a2e;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 4px;
    margin-bottom: 12px;
}
.free-content p {
    font-size: 14px;
    line-height: 1.7;
}

/* Locked sections grid */
.locked-wrapper {
    position: relative;
}
.locked-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.locked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.locked-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}
.lock-icon {
    font-size: 16px;
}
.locked-name {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

/* Locked overlay */
.locked-overlay {
    text-align: center;
    padding: 20px;
}
.locked-cta p {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}
.locked-cta h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

/* Blurred sections (preview page) */
.blurred-sections {
    position: relative;
}
.blurred-section-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px 24px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.blurred-section-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.locked-section {
    filter: blur(6px);
    user-select: none;
    opacity: 0.5;
    pointer-events: none;
}
.locked-overlay-full {
    position: sticky;
    bottom: 20px;
    text-align: center;
    padding: 28px 20px;
    background: rgba(246, 247, 249, 0.95);
    border: 2px solid #1a1a2e;
    border-radius: 8px;
    margin-top: 20px;
}

/* Archive */
.archive-section {
    margin-bottom: 36px;
}
.archive-list {
    list-style: none;
    padding: 0;
}
.archive-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: 4px;
}
.archive-item a {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: bold;
}
.archive-back {
    margin-bottom: 16px;
}
.archive-back a {
    font-size: 14px;
    color: #555;
}

/* Archive detail — embedded email HTML */
.briefing-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.briefing-content table {
    max-width: 100% !important;
    width: 100% !important;
}

/* Message pages (success, cancelled) */
.message-page {
    text-align: center;
    padding: 48px 20px;
}
.message-page h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.message-page p {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
}

/* Subscribe form */
.subscribe-form {
    margin-top: 8px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    .masthead-title { font-size: 22px; }
    .hero-headline { font-size: 24px; }
    .feature-grid { grid-template-columns: 1fr; }
    .locked-grid { grid-template-columns: 1fr 1fr; }
}
