/* =========================================
    VARIABLES & RESET
   ========================================= */
:root {
    /* Palette Ganesha */
    --ganesha-teal: #30a9a9;       
    --ganesha-teal-dark: #165959;  
    --ganesha-coral: #FF8F6B;      
    --ganesha-coral-dark: #e67e5c;
    --text-dark: #212529;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 76px;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--ganesha-teal);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ganesha-coral);
}

/* =========================================
    NAVBAR
   ========================================= */
.navbar {
    padding: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ganesha-teal);
}

.dropdown-menu {
    border-top: 3px solid var(--ganesha-coral);
    border-radius: 0 0 5px 5px;
}

.dropdown-item:active, .dropdown-item:hover {
    background-color: var(--ganesha-teal);
    color: white;
}

/* =========================================
    BUTTONS OVERRIDE
   ========================================= */

.btn-primary {
    background-color: var(--ganesha-teal);
    border-color: var(--ganesha-teal);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--ganesha-teal-dark);
    border-color: var(--ganesha-teal-dark);
}

.btn-outline-secondary {
    color: var(--ganesha-teal);
    border-color: var(--ganesha-teal);
}

.btn-outline-secondary:hover {
    background-color: var(--ganesha-teal);
    color: white;
    border-color: var(--ganesha-teal);
}

.btn-accent {
    background-color: var(--ganesha-coral);
    color: white;
    border: none;
    font-weight: 700;
    padding: 12px 30px;
}

.btn-accent:hover {
    background-color: var(--ganesha-coral-dark);
    color: white;
}

/* =========================================
    HERO SECTION
   ========================================= */
.hero-section {
    padding: 80px 0;
    background-color:#2cb4b4;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    color: white; 
}

.hero-section p {
    font-size: 1.2rem;
    color: #e0f7f7; 
    margin-bottom: 30px;
}

.hero-section img {
    object-fit: contain;
    max-height: 440px;
    width: auto;
}

@media (max-width: 1199.98px) {
    .hero-section img {
        max-height: 350px;
    }
}

@media (max-width: 991.98px) {
    .hero-section img {
        max-height: 300px;
    }
}

/* =========================================
    FUNDING INFO SECTION
   ========================================= */
.funding-info-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.funding-box {
    background-color: #165959;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.funding-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin:0;
    font-size: 0.95rem;
}

.funding-row:last-child {
    margin-bottom: 0;
}

.funding-row-horizontal {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center;
}

.funding-row-horizontal:last-child {
    margin-bottom: 0;
}

.funding-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
}

.funding-item .funding-label {
    color: var(--ganesha-coral);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.funding-item .funding-value {
    color: #ffffff;
    font-size: 0.9rem;
}

.hero-section-about {
    padding: 80px 0;
    background-color: #ffffff;
    border-bottom: 5px solid var(--ganesha-teal);
   
}

.hero-section-about h3 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.4;
}

.info-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-left: 5px solid var(--ganesha-coral); 
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box strong {
    color: var(--ganesha-teal);
}

/* =========================================
    SECTIONS GENERAL
   ========================================= */
.section-padding {
    padding: 80px 0;
}

h2, h3 {
    color: var(--ganesha-teal);
    font-weight: 700;
}

/* =========================================
    RESEARCH LINES (GRID)
   ========================================= */
.research-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(31, 122, 122, 0.15); 
    border-color: var(--ganesha-coral);
}

.research-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: #e9ecef; 
    display: block;
    margin-bottom: 15px;
    line-height: 1;
    transition: color 0.3s;
}

.research-item:hover .number {
    color: var(--ganesha-coral);
}

.research-item h5 {
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

/* =========================================
    PUBLICATIONS
   ========================================= */

.publication-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(48, 169, 169, 0.15);
    border-color: var(--ganesha-coral);
}

.publication-title {
    color: var(--ganesha-teal);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.publication-authors {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.publication-journal {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
    border-left: 3px solid var(--ganesha-coral);
    padding-left: 12px;
}

.publication-abstract {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.publication-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.publication-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pub-link-primary {
    background-color: var(--ganesha-teal);
    color: white;
}

.pub-link-primary:hover {
    background-color: var(--ganesha-teal-dark);
    color: white;
}

.pub-link-secondary {
    background-color: #f0f0f0;
    color: var(--ganesha-teal);
    border: 1px solid #ddd;
}

.pub-link-secondary:hover {
    background-color: var(--ganesha-teal);
    color: white;
    border-color: var(--ganesha-teal);
}

.publication-year {
    display: inline-block;
    background-color: var(--ganesha-coral);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--ganesha-teal);
    background-color: white;
    color: var(--ganesha-teal);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--ganesha-teal);
    color: white;
}


/* =========================================
   7. PARTNERS
   ========================================= */
.partners-section img {
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-section img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   8. SELECTED PAPERS (Gradient)
   ========================================= */
.selected-papers-section {
    /* Gradiente basato sui tuoi colori */
    background: linear-gradient(135deg, var(--ganesha-teal) 0%, #114040 100%);
    color: white;
}

.selected-papers-section h2 {
    color: white;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background-color: #1a1a1a;
    border-top: 5px solid var(--ganesha-teal);
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

footer a:hover {
    color: var(--ganesha-coral);
}


/* =========================================
   10. PEOPLE PAGE STYLES
   ========================================= */
.page-header {
    background-color: var(--bg-light);
    padding: 60px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    color: var(--ganesha-teal);
    font-weight: 700;
}

.pi-section img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 5px solid var(--ganesha-teal);
}

.pi-section .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.pi-section .img-wrapper img {
    transition: opacity 0.4s ease, transform 0.3s ease;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 4px solid transparent;
}

.pi-section .img-wrapper img:first-child {
    display: block;
}

.pi-section .img-wrapper .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.pi-section .img-wrapper:hover .hover-img {
    opacity: 1;
}

.pi-section .img-wrapper:hover img:first-child {
    opacity: 0.3;
}

.pi-section .img-wrapper:hover img {
    transform: scale(1);
    border-color: var(--ganesha-coral);
}

.social-icon-link {
    color: var(--ganesha-teal);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.2s;
}

.social-icon-link:hover {
    color: var(--ganesha-coral);
}

.team-card {
    border: none;
    background: #fff;
    transition: transform 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.team-card img {
    transition: opacity 0.4s ease, transform 0.3s ease;
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-bottom: 4px solid transparent;
}

.team-card .img-wrapper img:first-child {
    display: block;
}

.team-card .img-wrapper .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.team-card:hover .img-wrapper .hover-img {
    opacity: 1;
}

.team-card:hover .img-wrapper img:first-child {
    opacity: 0.3;
}

.team-card:hover img {
    transform: scale(1);
    border-color: var(--ganesha-coral);
}

.team-card h5 {
    color: var(--ganesha-teal);
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card .role {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-us-section {
    background-color: var(--ganesha-teal);
    color: white;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}
.join-us-section h3 { color: white; }
.join-us-section .btn-light {
    color: var(--ganesha-teal);
    font-weight: bold;
}
/* =========================================
   11. TEAM MODALS & EXPANSION
   ========================================= */
.team-card {
    cursor: pointer;
}

.modal-header {
    background-color: var(--ganesha-teal);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); 
}

.modal-body {
    padding: 2rem;
}

.publication-list {
    list-style: none;
    padding-left: 0;
}

.publication-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.publication-list li::before {
    content: "•";
    color: var(--ganesha-coral);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-bio-role {
    color: var(--ganesha-coral);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

/* =========================================
   12. NEWS & EVENTS SECTION
   ========================================= */

.breadcrumb-section {
    background-color: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48, 169, 169, 0.12);
    border-color: var(--ganesha-coral);
}

.news-header {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.news-date {
    background: linear-gradient(135deg, var(--ganesha-teal), var(--ganesha-teal-dark));
    color: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(48, 169, 169, 0.2);
}

.news-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.95;
}

.news-info {
    flex: 1;
}

.news-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-title a {
    color: var(--ganesha-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--ganesha-coral);
}

.news-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
}

.news-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ganesha-teal);
    font-weight: 500;
}

.news-author {
    color: #888;
    font-style: italic;
}

.news-excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 15px 0 15px 0;
    font-size: 0.95rem;
}

.news-footer {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.read-more {
    color: var(--ganesha-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--ganesha-coral);
    gap: 12px;
}

/* News Detail Page Styles */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #e9ecef;
}

.news-article {
    line-height: 1.8;
}

.article-header {
    border-bottom: 3px solid var(--ganesha-coral);
    padding-bottom: 20px;
}

.article-title {
    color: var(--ganesha-teal);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    color: #666;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item a {
    color: var(--ganesha-teal);
    font-weight: 500;
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 0 2px;
}

.meta-item a:hover {
    background-color: var(--ganesha-teal);
    color: white;
}

.article-content {
    font-size: 1rem;
    color: var(--text-dark);
}

.article-content h3 {
    color: var(--ganesha-teal);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h4 {
    color: var(--ganesha-teal);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.article-content ul li {
    margin-bottom: 10px;
    color: #333;
}

.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-content .lead {
    font-size: 1.15rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sidebar Styles */
.sidebar-widget {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--ganesha-coral);
}

.widget-title {
    color: var(--ganesha-teal);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ganesha-coral);
}

/* Upcoming Events */
.upcoming-events {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(48, 169, 169, 0.1);
}

.event-date {
    background: linear-gradient(135deg, var(--ganesha-coral), var(--ganesha-coral-dark));
    color: white;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    min-width: 50px;
    font-size: 0.8rem;
}

.event-day {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.event-month {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.event-details h6 {
    color: var(--ganesha-teal);
    font-weight: 600;
    margin-bottom: 3px;
}

/* Categories */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: white;
    color: var(--ganesha-teal);
    border: 1px solid var(--ganesha-teal);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-tag:hover {
    background-color: var(--ganesha-teal);
    color: white;
}

/* Related News */
.related-news {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    padding: 12px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.related-item:hover {
    border-left-color: var(--ganesha-coral);
    box-shadow: 0 4px 12px rgba(48, 169, 169, 0.1);
}

.related-item h6 {
    color: var(--ganesha-teal);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================
   13. HERO SECTION RESPONSIVE
   ========================================= */
@media (max-width: 580px) {
  .hero-section h1 {
    text-align: center !important;
  }

  .hero-section img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* =========================================
   14. NEWS & EVENTS RESPONSIVE DESIGN
   ========================================= */

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
  .page-header {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-header h1 {
    font-size: 2rem;
    margin-top: 20px;
  }

  .page-header p {
    font-size: 1rem;
  }

  .news-header {
    gap: 15px;
  }

  .col-lg-4 {
    margin-top: 50px;
  }

  .news-date {
    min-width: 70px;
    padding: 12px;
  }

  .news-date .day {
    font-size: 1.6rem;
  }

  .news-title {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 60px 0;
  }
}

/* Smartphone (up to 767px) */
@media (max-width: 767.98px) {
  body {
    padding-top: 70px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .page-header {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  /* News Cards - Full Width and Optimized for Mobile */
  .news-card {
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
  }

  .news-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  .news-date {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: auto;
    width: 100%;
    padding: 12px;
    flex-direction: row;
    gap: 10px;
  }

  .news-date .day {
    font-size: 1.4rem;
    margin-right: 5px;
  }

  .news-date .month {
    font-size: 0.85rem;
    margin-top: 0;
  }

  .news-info {
    width: 100%;
  }

  .news-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .news-title a {
    word-break: break-word;
  }

  .news-meta {
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
  }

  .news-time {
    gap: 4px;
  }

  .news-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 12px 0;
  }

  .news-footer {
    padding-top: 12px;
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 12px;
    gap: 6px;
  }

  /* Sidebar - Stack Below Content on Mobile */
  .sidebar-widget {
    margin-top: 30px;
    padding: 18px;
    border-radius: 6px;
  }

  .widget-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }

  /* Events - Full Width and Tappable */
  .event-item {
    gap: 12px;
    padding: 15px;
    cursor: pointer;
  }

  .event-date {
    min-width: 45px;
    padding: 6px;
    font-size: 0.75rem;
  }

  .event-day {
    font-size: 1rem;
  }

  .event-details h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .event-details p {
    font-size: 0.8rem;
    margin: 0;
  }

  /* Categories - Better Wrapping */
  .categories {
    gap: 6px;
  }

  .category-tag {
    padding: 5px 12px;
    font-size: 0.8rem;
  }

  /* Article Content - Better Mobile Typography */
  .article-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .article-meta {
    gap: 10px;
    font-size: 0.85rem;
  }

  .article-content {
    font-size: 0.95rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .article-content h4 {
    font-size: 1.05rem;
    margin-top: 18px;
    margin-bottom: 10px;
  }

  .article-content p {
    text-align: left;
  }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
  body {
    padding-top: 65px;
  }

  .page-header h1 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  .news-card {
    padding: 15px;
    gap: 10px;
  }

  .news-date {
    padding: 10px;
  }

  .news-date .day {
    font-size: 1.2rem;
  }

  .news-title {
    font-size: 0.95rem;
  }

  .news-excerpt {
    font-size: 0.85rem;
  }

  .read-more {
    font-size: 0.85rem;
  }

  .sidebar-widget {
    margin-top: 25px;
    padding: 15px;
  }

  .widget-title {
    font-size: 1rem;
  }

  .event-item {
    padding: 12px;
    gap: 10px;
  }

  .category-tag {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .article-title {
    font-size: 1.2rem;
  }

  .article-meta {
    font-size: 0.8rem;
  }

  .article-content {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}