/*
 * JNARA Theme - Main Stylesheet
 * 济南市业余无线电协会 WordPress 主题
 * Version: 1.0.0
 */

/* ============================================
   1. CSS Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background: #f5f6fa;
    line-height: 1.6;
    min-width: 320px;
}
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #B93229;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
input, button, select, textarea {
    font-family: inherit;
}

/* ============================================
   2. Container & Layout
   ============================================ */
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.main-wrap {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

/* ============================================
   3. Top Bar
   ============================================ */
.top-bar {
    background: #333;
    color: #ccc;
    font-size: 13px;
    line-height: 36px;
    height: 36px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .welcome {
    color: #ccc;
}
.top-bar .top-links a {
    color: #ccc;
    margin-left: 20px;
    font-size: 13px;
}
.top-bar .top-links a:hover {
    color: #B93229;
}

/* ============================================
   4. Header / Logo Area
   ============================================ */
.header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}
.header .container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #B93229 0%, #8B1E1F 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}
.header .logo-text h1 {
    font-size: 24px;
    color: #B93229;
    font-weight: bold;
    line-height: 1.3;
}
.header .logo-text p {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/* ============================================
   5. Navigation
   ============================================ */
.nav {
    background: #8B1E1F;
    position: relative;
    z-index: 100;
}
.nav .container {
    display: flex;
    align-items: center;
}
.nav-menu {
    display: flex;
}
.nav-menu > li {
    position: relative;
}
.nav-menu > li > a {
    display: block;
    color: #fff;
    font-size: 15px;
    padding: 0 22px;
    line-height: 50px;
    height: 50px;
    transition: background 0.3s;
    white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
/* Dropdown */
.nav-menu > li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 10px;
}
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #B93229;
    min-width: 160px;
    display: none;
    z-index: 101;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nav-menu li:hover > .sub-menu {
    display: block;
}
.nav-menu .sub-menu li a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s;
}
.nav-menu .sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

/* ============================================
   6. Page Banner
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, #B93229 0%, #8B1E1F 100%);
    padding: 50px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.page-banner::after {
    content: '';
    position: absolute;
    left: -30px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
}
.page-banner h2 {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.page-banner p {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* ============================================
   7. Breadcrumb
   ============================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px dashed #e5e5e5;
}
.breadcrumb a {
    color: #666;
}
.breadcrumb a:hover {
    color: #B93229;
}
.breadcrumb .current {
    color: #333;
}

/* ============================================
   8. Section Title
   ============================================ */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #B93229;
}
.section-title h3 {
    font-size: 20px;
    color: #B93229;
    font-weight: bold;
}
.section-title .more {
    font-size: 13px;
    color: #999;
}
.section-title .more:hover {
    color: #B93229;
}

/* ============================================
   9. Sidebar
   ============================================ */
.sidebar {
    width: 260px;
    flex-shrink: 0;
}
.side-menu {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}
.side-menu h4 {
    background: #8B1E1F;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
}
.side-menu ul {
    padding: 8px 0;
}
.side-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    color: #333;
}
.side-menu li a:hover {
    color: #B93229;
    background: #fff5f6;
}
.side-menu li.active a {
    color: #B93229;
    font-weight: bold;
    border-left-color: #B93229;
    background: #fff5f6;
}

/* ============================================
   10. Main Content
   ============================================ */
.main-content {
    flex: 1;
    min-width: 0;
}
.content-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 30px;
}

/* ============================================
   11. Homepage - Banner
   ============================================ */
.banner {
    height: 420px;
    background: linear-gradient(135deg, #B93229 0%, #8B1E1F 100%);
    position: relative;
    overflow: hidden;
}
.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}
.banner-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,30,31,0.85) 0%, rgba(26,60,110,0.6) 100%);
}
.banner-content {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    color: #fff;
    padding-left: 60px;
    position: relative;
    z-index: 2;
}
.banner-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.banner-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}
.banner-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    color: #B93229;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}
.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: #B93229;
}
.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}
.banner::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    z-index: 0;
}
.banner::after {
    content: '';
    position: absolute;
    right: 100px;
    bottom: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    z-index: 0;
}

/* ============================================
   12. Homepage - Main Content Area
   ============================================ */
.main-area {
    padding: 40px 0;
}

/* News Section (spotlight + notice) */
.news-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.spotlight-box {
    flex: 1.2;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.spotlight-main {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e5e5e5;
}
.spotlight-img {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, #B93229 0%, #B93229 100%);
}
.spotlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spotlight-info {
    flex: 1;
}
.spotlight-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.spotlight-info .summary {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spotlight-info .date {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}
.spotlight-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.spotlight-list li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}
.spotlight-list li .date {
    font-size: 12px;
    color: #999;
    margin-left: 15px;
    flex-shrink: 0;
}

.notice-box {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.notice-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notice-list li:last-child {
    border-bottom: none;
}
.notice-list a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 12px;
    position: relative;
    font-size: 14px;
}
.notice-list a::before {
    content: '\25CF';
    position: absolute;
    left: 0;
    color: #B93229;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.notice-list .date {
    color: #999;
    font-size: 13px;
    margin-left: 15px;
    flex-shrink: 0;
}

/* Service Grid */
.service-section {
    background: #fff;
    padding: 30px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.service-item {
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    transition: all 0.3s;
    display: block;
}
.service-item:hover {
    background: #f0f3f8;
    transform: translateY(-3px);
}
.service-item .icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}
.service-item .name {
    font-size: 14px;
    color: #333;
    display: block;
}

/* News & Events Row */
.content-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.news-box, .events-box {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* News Item */
.news-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px dashed #e5e5e5;
}
.news-item:last-child {
    border-bottom: none;
}
.news-img {
    width: 160px;
    height: 100px;
    background: linear-gradient(135deg, #B93229 0%, #8B1E1F 100%);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-info {
    flex: 1;
    min-width: 0;
}
.news-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.news-info .summary {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-info .news-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Event Card */
.event-card {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed #e5e5e5;
}
.event-card:last-child {
    border-bottom: none;
}
.event-date-box {
    width: 60px;
    text-align: center;
    background: linear-gradient(180deg, #B93229 0%, #8B1E1F 100%);
    color: #fff;
    border-radius: 6px;
    padding: 8px 5px;
    flex-shrink: 0;
}
.event-date-box .day {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}
.event-date-box .month {
    font-size: 12px;
    opacity: 0.9;
}
.event-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
}
.event-info p {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}
.event-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.status-signup { background: #e8f5e9; color: #2e7d32; }
.status-going { background: #fff3e0; color: #e65100; }
.status-upcoming { background: #e3f2fd; color: #1565c0; }
.status-end { background: #f5f5f5; color: #999; }

/* Gallery */
.gallery-section {
    background: #fff;
    padding: 30px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Partners */
.partners-section {
    background: #fff;
    padding: 30px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.partner-logos img {
    max-height: 60px;
    max-width: 160px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Friend Links */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    justify-content: center;
    font-size: 13px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.friend-links a {
    color: #666;
}
.friend-links a:hover {
    color: #B93229;
}

/* ============================================
   13. Content Card (通用)
   ============================================ */

/* Single Article */
.single-article {
    padding: 30px;
}
.single-title {
    font-size: 24px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}
.single-meta {
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.single-meta .meta-item {
    display: inline-block;
}
.single-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.single-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 4px;
}
.single-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}
.single-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Archive News List */
.news-list-item {
    padding: 20px 0;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    gap: 25px;
}
.news-list-item:last-child {
    border-bottom: none;
}
.news-list-img {
    width: 200px;
    height: 130px;
    background: linear-gradient(135deg, #B93229 0%, #8B1E1F 100%);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    overflow: hidden;
}
.news-list-info {
    flex: 1;
    min-width: 0;
}
.news-list-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.news-list-info h4:hover {
    color: #B93229;
}
.news-list-info .summary {
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-info .meta {
    font-size: 13px;
    color: #999;
}

/* ============================================
   14. Pagination
   ============================================ */
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}
.pagination .page-numbers.current {
    background: #B93229;
    color: #fff;
    border-color: #B93229;
}
.pagination .page-numbers:hover:not(.current) {
    color: #B93229;
    border-color: #B93229;
}

/* ============================================
   15. 404 Page
   ============================================ */
.page-404 {
    text-align: center;
    padding: 100px 20px;
}
.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #B93229;
    line-height: 1;
    opacity: 0.3;
}
.error-title {
    font-size: 24px;
    color: #333;
    margin: 20px 0 10px;
}
.error-desc {
    color: #999;
    margin-bottom: 30px;
}
.error-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #B93229;
    color: #fff;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
}
.error-btn:hover {
    background: #B93229;
    color: #fff;
}

/* ============================================
   16. Footer
   ============================================ */
.footer {
    background: #F8EFE0;
    color: #555;
    padding: 0;
}
.footer-top-line {
    height: 3px;
    background: linear-gradient(90deg, #B93229 0%, #7A1516 100%);
}
.footer-widgets {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-widgets .widget-title {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}
.footer-widgets ul li {
    padding: 6px 0;
}
.footer-widgets ul li a {
    color: #555;
    font-size: 13px;
}
.footer-widgets ul li a:hover {
    color: #B93229;
}
.footer-widgets p {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-bottom a {
    color: #666;
}
.footer-bottom a:hover {
    color: #B93229;
}
.footer-bottom .icp {
    margin-top: 8px;
}

/* ============================================
   17. Buttons & Forms
   ============================================ */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
}
.btn-primary {
    background: #B93229;
    color: #fff;
}
.btn-primary:hover {
    background: #8B1E1F;
    color: #fff;
}
.btn-red {
    background: #B93229;
    color: #fff;
}
.btn-red:hover {
    background: #8B1E1F;
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 1px solid #B93229;
    color: #B93229;
}
.btn-outline:hover {
    background: #B93229;
    color: #fff;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s;
    width: 100%;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #B93229;
}
textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   18. Utility Classes
   ============================================ */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* ============================================
   19. Responsive: >1024px (Desktop)
   ============================================ */
@media screen and (min-width: 1025px) {
    .container {
        width: 1200px;
    }
}

/* ============================================
   20. Responsive: 768px - 1024px (Tablet)
   ============================================ */
@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    .news-row, .content-row {
        flex-direction: column;
    }
    .spotlight-box, .notice-box, .news-box, .events-box {
        flex: none;
    }
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-wrap {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .news-list-item {
        flex-direction: column;
    }
    .news-list-img {
        width: 100%;
        height: 180px;
    }
    .spotlight-main {
        flex-direction: column;
    }
    .spotlight-img {
        width: 100%;
        height: 200px;
    }
    .banner-content h2 {
        font-size: 26px;
    }
    .banner-content p {
        font-size: 15px;
    }
}

/* ============================================
   21. Responsive: <768px (Mobile)
   ============================================ */
@media screen and (max-width: 767px) {
    .top-bar {
        display: none;
    }
    .header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .header .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    .header .logo-text h1 {
        font-size: 18px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #8B1E1F;
        z-index: 100;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu > li > a {
        padding: 0 20px;
    }
    .nav-menu .sub-menu {
        position: static;
        background: #B93229;
        padding-left: 20px;
    }
    .banner {
        height: 300px;
    }
    .banner-content {
        padding-left: 20px;
    }
    .banner-content h2 {
        font-size: 22px;
    }
    .banner-content p {
        font-size: 13px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    .page-banner h2 {
        font-size: 22px;
    }
    .single-title {
        font-size: 20px;
    }
    .single-meta {
        flex-direction: column;
        gap: 5px;
    }
    .single-nav {
        flex-direction: column;
        gap: 10px;
    }
    .section-title h3 {
        font-size: 17px;
    }
    .partner-logos {
        justify-content: flex-start;
    }
}
