/* News App CSS - Unique selectors to prevent conflicts */

/* ===== GLOBAL RESET ===== */
.news-app * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY STYLES ===== */
.news-app {
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background: white;
}

/* ===== NEWSPAPER CONTAINER ===== */
.news-app .newspaper-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ece3d8;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ===== HEADER STYLES ===== */
.news-app .newspaper-header {
    color: #333;
    padding: 0;
    text-align: center;
    position: relative;
}

.news-app .header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    border-bottom: 1px solid #dee2e6;
}

.news-app .news-front-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

.news-app .news-front-page-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
    color: white;
    text-decoration: none;
}

.news-app .news-front-page-btn i {
    font-size: 0.8rem;
}

.news-app .newspaper-logo {
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin-bottom: 0;
    object-fit: contain;
    object-position: center;
}

.news-app .newspaper-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.news-app .newspaper-date {
    position: absolute;
    top: 101px;
    right: 70px;
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
}

/* ===== NEARBY LOCATIONS ===== */
.news-app .nearby-locations {
    padding: 20px 30px;
    border-bottom: 2px solid #2196f3;
    margin-bottom: 0;
}

.news-app .nearby-locations h3 {
    margin: 0 0 15px 0;
    color: #1976d2;
    font-size: 1.2rem;
    text-align: center;
}

.news-app .locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.news-app .location-item {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #2196f3;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.news-app .location-item strong {
    font-weight: bold;
    margin-bottom: 4px;
}

.news-app .location-item span {
    color: #666;
    font-size: 0.8rem;
}

.news-app .location-item .distance {
    color: #2196f3;
    font-weight: bold;
    margin-top: 4px;
}

.news-app .location-banner {
    color: #333;
    padding: 10px 30px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.news-app .location-banner i {
    margin-right: 8px;
    color: #333;
}

.news-app .nearby-towns {
    font-family: 'League Gothic', sans-serif;
    text-align: center;
    padding: 10px 70px 10px 70px;
    color: #333;
    font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */
.news-app .newspaper-nav {
    padding: 0;
    margin-bottom: 0;
}

.news-app .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.news-app .nav-links a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-right: 1px solid #4a5f7a;
    transition: background-color 0.3s;
}

.news-app .nav-links a:last-child {
    border-right: none;
}

.news-app .nav-links a:hover,
.news-app .nav-links a.active {
    /* Hover styles can be added here */
}

/* ===== MAIN CONTENT ===== */
.news-app .main-content {
    padding: 15px 80px;
}

.news-app .newspaper-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.news-app .left-column {
    width: 33.333%;
    margin: 0;
    padding: 0;
    border-right: 1px solid #333;
    padding-right: 30px;
}

.news-app .left-column h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #333;
    padding: 0 0 10px 0;
    color: #333;
}

.news-app .left-column p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.news-app .right-section {
    width: 66.667%;
    display: flex;
    flex-direction: column;
}

/* ===== MAIN ARTICLE ===== */
.news-app .main-article {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.news-app .main-article-image {
    width: 100%;
    height: 300px;
    background: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcd0c1;
    font-size: 1.2rem;
    border: 2px solid #333;
    position: relative;
}

.news-app .main-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) sepia(20%);
}

.news-app .image-credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    text-align: right;
    font-style: italic;
}

.news-app .main-article-content {
    flex: 1;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #333;
    margin: 0;
}

.news-app .main-article h2 {
    font-family: 'League Gothic', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 0 0;
    line-height: 1.2;
    color: #333;
    text-transform: uppercase;
}

.news-app .main-article p {
    font-family: 'Noticia Text', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
    text-align: justify;
}

.news-app .article-intro {
    font-family: 'Noticia Text', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 20px 0;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.news-app .article-text-content {
    font-family: 'Noticia Text', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

/* ===== ARTICLE ITEMS ===== */
.news-app .article-item {
    margin: 0 0 30px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #333;
    position: relative;
}

.news-app .article-item-image {
    width: 100%;
    height: 120px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.news-app .article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) sepia(20%);
}

.news-app .article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #dcd0c1;
    font-size: 2rem;
    border: 2px solid #333;
}

.news-app .article-item:first-child {
    margin: 5px 0 30px 0;
}

.news-app .article-headline {
    font-family: 'League Gothic', sans-serif;
    font-size: 2rem;
    line-height: 2.0rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    text-transform: uppercase;
}

.news-app .article-text {
    font-family: 'Noticia Text', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
    text-align: justify;
}

/* ===== BOTTOM ARTICLES (Below Main Article) ===== */
.news-app .bottom-articles {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
}

.bottom-article-left, .bottom-article-right {
    border-right: 1px solid #333;
    padding-right:20px;
}

.news-app .bottom-article-left,
.news-app .bottom-article-right {
    width: 50%;
}

/* Use the same styling as left column articles */
.news-app .bottom-article-item {
    margin: 5px 0 30px 0;
    position: relative;
}

.news-app .bottom-article-headline {
    font-family: 'League Gothic', sans-serif;
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    text-transform: uppercase;
}


.news-app .bottom-article-text {
    font-family: 'Noticia Text', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
    text-align: justify;
}


/* ===== SUBSCRIBE CARD ===== */
.news-app .subscribe-card {
    margin-bottom: 30px;
    padding: 0;
    /* border: 3px solid #333;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); */
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.news-app .subscribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #333 0%, #666 50%, #333 100%);
}

.news-app .subscribe-header {
    background: #333;
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: relative;
}

.news-app .subscribe-header i {
    /* color: #ffd700; */
    font-size: 1.3rem;
    margin-right: 10px;
}

.news-app .subscribe-title {
    font-family: 'League Gothic', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    /* color: white; */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    display: inline-block;
}

.news-app .subscribe-content {
    padding: 25px 20px;
    text-align: center;
}

.news-app .subscribe-text {
    font-family: 'Noticia Text', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
}

.news-app .subscribe-form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
}

.news-app .subscribe-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.news-app .subscribe-form-group input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
    transform: translateY(-1px);
}

.news-app .subscribe-form-group input::placeholder {
    color: #aaa;
    font-style: italic;
}

.news-app .subscribe-btn {
    padding: 5px 5px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #ece3d8;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.news-app .subscribe-btn:hover {
    background: linear-gradient(135deg, #444 0%, #666 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.news-app .subscribe-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.news-app .subscribe-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.news-app .subscribe-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.news-app .subscribe-btn:hover i {
    transform: scale(1.1);
}

/* ===== SUBSCRIBE SUCCESS ===== */
.news-app .subscribe-success {
    margin-bottom: 30px;
    padding: 0;
    border: 3px solid #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.news-app .subscribe-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #28a745 100%);
}

.news-app .subscribe-success-content {
    padding: 25px 20px;
    text-align: center;
    color: #155724;
    position: relative;
}

.news-app .subscribe-success-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #28a745;
    text-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.news-app .subscribe-success-content h4 {
    font-family: 'League Gothic', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #155724;
}

.news-app .subscribe-success-content p {
    font-family: 'Noticia Text', serif;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    color: #155724;
}

/* ===== LINKS ===== */
.news-app .read-more-link {
    color: #333;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'League Gothic', sans-serif;
}

.news-app .read-more-link:hover {
    color: #666;
}

.news-app .article-link {
    display: inline-block;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: 1px solid #333;
}

.news-app .article-link:hover {
    /* Hover styles can be added here */
}

/* ===== LOADING SPINNER ===== */
.news-app .loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 208, 193, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.news-app .loading-spinner > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-app .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: news-spin 1s linear infinite;
}

@keyframes news-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-app .loading-text {
    margin-top: 20px;
    font-family: 'League Gothic', sans-serif;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

/* ===== GRID LAYOUTS ===== */
.news-app .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-app .article-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-app .article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-app .local-news-card {
    border-left: 4px solid #e74c3c;
}

.news-app .important-article {
    border-left: 4px solid #f39c12;
}

.news-app .article-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.news-app .article-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #2c3e50;
}

.news-app .important-indicator {
    color: #f39c12;
    margin-right: 8px;
}

.news-app .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.news-app .article-feed {
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-app .article-date {
    color: #666;
    margin-bottom: 10px;
}

.news-app .article-description {
    padding: 20px;
    color: #555;
    line-height: 1.6;
}

/* ===== SECTIONS ===== */
.news-app .section-header {
    color: #333;
    padding: 15px 30px;
    margin: 30px 0 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-app .no-articles {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

.news-app .no-articles i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ddd;
}

.news-app .no-articles-text {
    color: #333;
}

/* ===== PAGINATION ===== */
.news-app .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
}

.news-app .pagination a,
.news-app .pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.news-app .pagination a:hover {
    color: #333;
    border-color: #3498db;
}

.news-app .pagination .current {
    color: #333;
    border-color: #2c3e50;
}

.news-app .pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ===== ARTICLE VIEW SPECIFIC STYLES ===== */
.news-app .article-view-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-app .article-view-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-app .article-view-title {
    font-family: 'League Gothic', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #333;
}

.news-app .article-view-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}


.news-app .article-view-image {
    width: 100%;
    height: 400px;
    background: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcd0c1;
    font-size: 1.2rem;
    border: 2px solid #333;
    position: relative;
}

.news-app .article-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) sepia(20%);
}

.news-app .article-view-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-app .article-view-intro {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #444;
    font-style: italic;
}

.news-app .article-view-text {
    margin-bottom: 20px;
}

.news-app .view-more-news {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.news-app .view-more-news a {
    display: inline-block;
    background: #333;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.news-app .view-more-news a:hover {
    background: #555;
}

/* ===== LOCATION FORM STYLES ===== */
.news-app .location-form-section {
    margin: 20px;
    padding: 50px;
    /* border: 2px solid #333; */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
}

.news-app .location-form h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    text-align: center;
}

.news-app .location-form p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
    color: #555;
}

.news-app .form-group {
    margin-bottom: 25px;
}

.news-app .form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.news-app .form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    background: #fff;
    transition: border-color 0.3s ease;
}

.news-app .form-group input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.news-app .btn {
    background: #333;
    color: white;
    border: 2px solid #333;
    padding: 15px 40px;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-app .btn:hover {
    background: #555;
    border-color: #555;
}

.news-app .btn:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.news-app .auth-links {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.news-app .auth-links p {
    margin-bottom: 10px;
    color: #555;
}

.news-app .auth-links a {
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}

.news-app .auth-links a:hover {
    color: #666;
}

.news-app .hidden {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .news-app .newspaper-date {
        position: static;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
        right: auto;
        top: auto;
    }
    
    .news-app .newspaper-header {
        padding: 20px;
    }
    
    .news-app .header-controls {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .news-app .news-front-page-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .news-app .newspaper-title {
        font-size: 2rem;
    }

    .news-app .nearby-towns {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    .news-app .main-content {
        padding: 20px;
    }
    
    .news-app .newspaper-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-app .left-column {
        width: 100%;
        border-right: none;
        padding-bottom: 20px;
        margin-bottom: 20px;
        padding-right: 0px !important;
        order: 2;
    }
    
    .news-app .right-section {
        order: 1;
        width: 100%;
    }
    
    .news-app .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-app .nav-links {
        flex-direction: column;
    }
    
    .news-app .nav-links a {
        border-right: none;
        border-bottom: 1px solid #4a5f7a;
    }
    
    .news-app .main-article-image {
        height: 200px;
    }
    
    .news-app .main-article-content {
        padding: 15px;
    }
    
    .news-app .main-article h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .news-app .article-text {
        font-size: 0.9rem;
    }
    
    /* Bottom articles responsive */
    .news-app .bottom-articles {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-app .bottom-article-left,
    .news-app .bottom-article-right {
        width: 100%;
        border-bottom: 1px solid #333;
        border-right: 0px solid #333;
    }
    
    .news-app .bottom-article-headline {
        font-size: 2.2rem;
        line-height: 1.0;
    }
    
    .news-app .bottom-article-text {
        font-size: 1rem;
    }

    .news-app .read-more-link {
        font-size: 0.9rem;
    }
    
    .news-app .right-section {
        margin-bottom: 20px;
        width: 100%;
    }
    
    /* Article view responsive */
    .news-app .article-view-title {
        font-size: 2rem;
    }
    
    .news-app .article-view-image {
        height: 250px;
    }
    
    .news-app .article-view-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-app .newspaper-title {
        font-size: 1.5rem;
    }
    
    .news-app .main-content {
        padding: 15px;
    }
    
    .news-app .main-article-image {
        height: 150px;
    }
    
    .news-app .main-article h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .news-app .left-column h3 {
        font-size: 1.4rem;
    }
    
    
    .news-app .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* Article view responsive */
    .news-app .article-view-title {
        font-size: 1.8rem;
    }
    
    .news-app .article-view-image {
        height: 200px;
    }
    
    .news-app .article-view-content {
        font-size: 1rem;
    }
    
    /* Location form responsive */
    .news-app .location-form-section {
        margin: 10px;
        padding: 20px;
    }
    
    .news-app .location-form h2 {
        font-size: 1.5rem;
    }
}

/* ===== NO NEWS MODAL ===== */
.news-app .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.news-app .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.news-app .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px 12px 0 0;
}

.news-app .modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.news-app .modal-header h2 i {
    color: #3498db;
    margin-right: 10px;
}

.news-app .modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.news-app .modal-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.news-app .modal-body {
    padding: 25px;
}

.news-app .no-news-message {
    text-align: center;
    margin-bottom: 30px;
}

.news-app .no-news-message i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.news-app .no-news-message h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.news-app .no-news-message p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

.news-app .subscribe-section {
    margin-top: 20px;
}

.news-app .subscribe-card-modal {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-app .subscribe-card-modal .subscribe-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-app .subscribe-card-modal .subscribe-header i {
    font-size: 1.2rem;
}

.news-app .subscribe-card-modal .subscribe-header .subscribe-title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.news-app .subscribe-card-modal .subscribe-content {
    padding: 20px;
}

.news-app .subscribe-card-modal .subscribe-text {
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-app .subscribe-card-modal .subscribe-form-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.news-app .subscribe-card-modal input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-app .subscribe-card-modal input[type="email"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.25);
}

.news-app .subscribe-card-modal .subscribe-btn {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.news-app .subscribe-card-modal .subscribe-btn:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.news-app .subscribe-card-modal .subscribe-btn i {
    font-size: 0.9rem;
}

.news-app .success-message {
    text-align: center;
}

.news-app .success-message i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.news-app .success-message h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.news-app .success-message p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.news-app .home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.news-app .home-link:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* ===== USER CITY DISPLAY ===== */
.news-app .user-city-display {
    font-size: 1.8rem;
    font-weight: 700;
    /* color: #2c3e50; */
    margin-bottom: -12px;
    text-align: center;
}

/* ===== ARTICLE DATES ===== */
.news-app .article-date {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    margin: 4px 0 8px 0;
}

.news-app .article-header .article-date {
    font-size: 0.9rem;
    margin: 2px 0 12px 0;
    color: #495057;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .news-app .modal-content {
        width: 95%;
        margin: 20px;
    }

    .news-app .modal-header {
        padding: 15px 20px;
    }

    .news-app .modal-header h2 {
        font-size: 1.3rem;
    }

    .news-app .modal-body {
        padding: 20px;
    }

    .news-app .subscribe-card-modal .subscribe-form-group {
        flex-direction: column;
    }

    .news-app .subscribe-card-modal .subscribe-btn {
        justify-content: center;
    }

    .news-app .article-date {
        font-size: 0.8rem;
    }

    .news-app .user-city-display {
        font-size: 1.1rem;
    }
}
