/* Modern Bright Theme Overrides for Thannam Taekwondo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Kanit:wght@300;400;500;600;700&display=swap');

/* Global Variables and Typography */
:root {
    --primary: #2563eb;       /* Royal Blue */
    --accent: #ef4444;        /* Sporty Red */
    --accent-orange: #f59e0b; /* Sporty Orange */
    --bg-light: #f8fafc;      /* Slate 50 background */
    --card-bg: #ffffff;
    --text-dark: #0f172a;     /* Slate 900 */
    --text-muted: #64748b;    /* Slate 500 */
    --border-color: #e2e8f0;  /* Slate 200 */
    --border-radius: 12px;
}

body {
    background: var(--bg-light) !important;
    font-family: 'Inter', 'Kanit', sans-serif !important;
    color: var(--text-dark) !important;
    line-height: 1.6 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .entry-title a, .widget-title {
    font-family: 'Kanit', sans-serif !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: var(--text-dark) !important;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, .entry-title a:hover {
    color: var(--primary) !important;
}

/* Wrapper Layout */
.wrapper, .wrapper-inner {
    max-width: 1240px !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.punica-shadow-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 24px 0 !important;
    margin-bottom: 24px !important;
}

/* FontAwesome Icon Safeguard — must come AFTER all font-family rules */
.fa, 
.fab,
.fas,
.far,
.fal,
.fad,
.fat,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"], 
[class*=" fa-"],
.fa:before,
[class^="fa-"]:before,
[class*=" fa-"]:before,
.fa:after,
[class^="fa-"]:after,
[class*=" fa-"]:after,
/* Protect pseudo-elements inside headings & links from Kanit override */
h1 i, h2 i, h3 i, h4 i, h5 i, h6 i,
h1 i:before, h2 i:before, h3 i:before, h4 i:before, h5 i:before, h6 i:before,
h1 span:before, h2 span:before, h3 span:before, h4 span:before, h5 span:before, h6 span:before,
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before,
h1:after, h2:after, h3:after, h4:after, h5:after, h6:after,
a i, a i:before,
a:before, a:after,
li:before, li:after,
.entry-icon:before, 
.pagination .page-numbers li a:before, 
.entry-box .tag-box:before, 
.owl-theme .owl-controls .owl-buttons div:before, 
.owl-controls .owl-buttons div:before, 
.punica-article-list-8-widget .older-post ul li .entry-item .entry-title:before, 
.widget_categories ul li a:before,
.punica-categories-widget ul li a:before {
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
}

/* Ensure brands use Font Awesome 6 Brands font-family */
.fab,
.fa-brands,
[class*="fa-facebook"]:before,
[class*="fa-twitter"]:before,
[class*="fa-youtube"]:before,
[class*="fa-google"]:before,
[class*="fa-instagram"]:before {
    font-family: 'Font Awesome 6 Brands', 'FontAwesome', FontAwesome !important;
}

/* Ensure solid, regular, light, thin, and classic styles use Font Awesome 6 Free font-family */
.fa,
.fas,
.far,
.fal,
.fad,
.fa-solid,
.fa-regular,
[class^="fa-"]:before,
[class*=" fa-"]:before,
.entry-icon:before, 
.pagination .page-numbers li a:before, 
.entry-box .tag-box:before, 
.owl-theme .owl-controls .owl-buttons div:before, 
.owl-controls .owl-buttons div:before, 
.punica-article-list-8-widget .older-post ul li .entry-item .entry-title:before, 
.widget_categories ul li a:before,
.punica-categories-widget ul li a:before {
    font-family: 'Font Awesome 6 Free', 'FontAwesome', FontAwesome !important;
}


/* ========================================================
   Hot News Headline
   ======================================================== */
.punica-headline-wrapper {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    margin-bottom: 24px !important;
}

.punica-headline-title {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-family: 'Kanit', sans-serif;
    padding: 3px 12px !important;
}

.ticker-1 dd a {
    color: var(--text-dark) !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 500 !important;
}

.ticker-1 dd a.entry-categories {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 11px;
    margin-right: 10px;
}

/* ========================================================
   Widgets Design
   ======================================================== */
.widget {
    background: var(--card-bg) !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid var(--border-color) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Borderless widgets in the right sidebar (Top News, Tournament, Gym) */
.widget-area-2 .widget,
.widget-area-3 .widget,
.widget-area-4 .widget,
.widget-area-5 .widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
}

/* Borderless wrapper for main carousel + 3-news section */
.widget-area-6 .widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.widget-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid var(--primary) !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.widget-title span {
    color: var(--text-muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: none;
    margin-left: 8px;
}

/* Carousel Slider & Item Cards */
.entry-item {
    background: var(--card-bg) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

.entry-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05) !important;
    border-color: #cbd5e1 !important;
}

.entry-thumb img {
    border-radius: 8px 8px 0 0 !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.entry-item:hover .entry-thumb img {
    transform: scale(1.02);
}

.entry-content {
    padding: 12px 15px !important;
}

.entry-title a {
    color: var(--text-dark) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    display: block;
}

.entry-title a:hover {
    color: var(--primary) !important;
}

/* Older posts lists (3-news horizontal grid below carousel) */
.punica-carousel-list-7-widget .older-post {
    padding: 0 !important;
    margin: 16px 0 0 -12px !important;
    list-style: none !important;
    overflow: hidden !important;
}

.punica-carousel-list-7-widget .older-post li {
    float: left !important;
    width: 33.3333% !important;
    padding-left: 12px !important;
    margin-top: 0 !important;
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item {
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Equal-height image container — image fills space uniformly */
.punica-carousel-list-7-widget .older-post li .entry-item .entry-thumb {
    display: block !important;
    width: 100% !important;
    height: 140px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    margin-right: 0 !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item .entry-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item .entry-content {
    padding: 0 !important;
    flex: none !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item .entry-content .entry-title {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 600 !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item .entry-content .entry-title a {
    color: var(--text-dark) !important;
    transition: color 0.2s ease !important;
}

.punica-carousel-list-7-widget .older-post li .entry-item .entry-content .entry-title a:hover {
    color: var(--primary) !important;
}

/* Generic .older-post (sidebar widgets) — horizontal flex */
.older-post li {
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
    list-style: none !important;
}

.older-post li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.older-post .entry-item {
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
}

.older-post .entry-item .entry-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin-right: 12px;
}

.older-post .entry-item .entry-thumb img {
    border-radius: 6px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.older-post .entry-item .entry-content {
    padding: 0 !important;
    flex: 1;
}

/* ========================================================
   Tournament Section Modernization
   ======================================================== */
/* Sponsors list (flat rows with divider lines) */
#box-chmp {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

#box-chmp:hover {
    background-color: transparent !important;
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
    transform: none !important;
}

#box-chmp a {
    color: var(--text-dark) !important;
    font-family: 'Kanit', sans-serif;
    font-weight: 500 !important;
    flex: 1;
    margin-left: 10px;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

#box-chmp a:hover {
    color: var(--primary) !important;
}

/* Standard List (flat rows with divider lines) */
#box-chmp2 {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

#box-chmp2:hover {
    background-color: transparent !important;
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
    transform: none !important;
}

#box-chmp2:last-of-type {
    border-bottom: none !important;
}

#box-chmp2 a {
    color: var(--text-dark) !important;
    font-family: 'Kanit', sans-serif;
    font-weight: 500 !important;
    flex: 1;
    margin-left: 10px;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

#box-chmp2 a:hover {
    color: var(--primary) !important;
}

/* Date badging */
.numberA {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center;
    font-family: 'Inter', sans-serif !important;
    min-width: 75px;
    height: auto !important;
    line-height: 1.4 !important;
    margin-right: 12px !important;
    display: inline-block;
}

.cityA {
    color: var(--text-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    height: auto !important;
    line-height: 1.4 !important;
}

.chg {
    background-color: var(--accent-orange) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    margin-left: 8px !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* Load more button */
.load-more {
    display: block !important;
    text-align: center !important;
    background: #f1f5f9 !important;
    color: var(--primary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    margin-top: 15px !important;
}

.load-more:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* ========================================================
   Banners & Delayed Banner Container Styling
   ======================================================== */
.container.col-sm-4 {
    position: relative;
    margin-bottom: 20px !important;
}

.container.col-sm-4 img {
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--border-color) !important;
}

.centered.mobile-box {
    background-color: rgba(239, 68, 68, 0.9) !important; /* Semi-transparent Accent Red */
    border: 2px solid #ffffff !important;
    border-radius: 8px !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    bottom: auto !important;
    padding: 8px 16px !important;
    width: auto !important;
    text-align: center;
}

/* ========================================================
   Footer Section Modernization (Bright Theme)
   ======================================================== */
#bottom-sidebar {
    background-color: #f1f5f9 !important; /* Soft bright gray footer background */
    border-top: 1px solid var(--border-color) !important;
    padding: 50px 0 30px !important;
}

#bottom-sidebar .widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#bottom-sidebar .widget-title {
    color: var(--text-dark) !important;
    border-bottom-color: #cbd5e1 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
}

#bottom-sidebar p, 
#bottom-sidebar .widget_text p, 
#bottom-sidebar .punica-newsletter-widget p {
    color: var(--text-muted) !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

#bottom-sidebar a {
    color: var(--text-dark) !important;
    transition: color 0.2s ease !important;
}

#bottom-sidebar a:hover {
    color: var(--primary) !important;
}

#bottom-sidebar .fa,
#bottom-sidebar i {
    color: var(--primary) !important;
    margin-right: 8px !important;
}

#bottom-sidebar .punica-article-list-1-widget > ul > li {
    border-color: #cbd5e1 !important;
}

#bottom-sidebar .entry-title a {
    color: var(--text-dark) !important;
}

#bottom-sidebar .entry-title a:hover {
    color: var(--primary) !important;
}

#bottom-sidebar .meta-box, 
#bottom-sidebar .meta-box span, 
#bottom-sidebar .meta-box a {
    color: var(--text-muted) !important;
    font-size: 11px !important;
}

#bottom-sidebar .punica-categories-widget ul li {
    border-color: #cbd5e1 !important;
    list-style: none !important;
}

#bottom-sidebar .punica-categories-widget ul li a {
    color: var(--text-dark) !important;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    transition: color 0.2s ease;
}

#bottom-sidebar .punica-categories-widget ul li a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

#punica-page-footer {
    background-color: #e2e8f0 !important;
    border-top: 1px solid #cbd5e1 !important;
    padding: 20px 0 !important;
    color: var(--text-muted) !important;
}

#copyright {
    color: var(--text-muted) !important;
    font-size: 12px !important;
}

/* Back to top button */
.back-to-top {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.back-to-top:hover {
    background-color: #1d4ed8 !important;
}

/* OWL Carousel Control Overrides */
.owl-controls .owl-buttons div,
.owl-theme .owl-controls .owl-buttons div {
    background: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    display: inline-block !important;
}

.owl-controls .owl-buttons div:hover,
.owl-theme .owl-controls .owl-buttons div:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* Social Links Header Overrides (Ensure high visibility on dark subheader) */
.punica-header-bottom .social-links li a {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.punica-header-bottom .social-links li a:hover {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: #ffffff !important;
}

/* ========================================================
   Tournament of the Month Widget Overrides (.punica-nothumb-widget)
   ======================================================== */
.punica-nothumb-widget ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
}

.punica-nothumb-widget ul li {
    list-style-type: none !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    border-top: none !important;
}

.punica-nothumb-widget ul li .entry-item {
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
}

.punica-nothumb-widget ul li:last-child .entry-item {
    border-bottom: none !important;
}

.punica-nothumb-widget ul li .entry-item:hover {
    background: transparent !important;
    border-bottom-color: var(--primary) !important;
    transform: none !important;
    box-shadow: none !important;
}

.punica-nothumb-widget ul li .entry-item .entry-number {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--primary), #1d4ed8) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.15) !important;
    margin-right: 12px !important;
    border: none !important;
    flex-shrink: 0 !important;
}

.punica-nothumb-widget ul li .entry-item .entry-content {
    flex: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
}

.punica-nothumb-widget ul li .entry-item .entry-content .entry-title {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
}

.punica-nothumb-widget ul li .entry-item .entry-content .entry-title a {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    font-family: 'Kanit', sans-serif !important;
    transition: color 0.2s ease !important;
}

.punica-nothumb-widget ul li .entry-item .entry-content .entry-title a:hover {
    color: var(--primary) !important;
}

/* ========================================================
   Borderless List Widgets (.punica-article-list-1-widget)
   ======================================================== */
.punica-article-list-1-widget ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
}

.punica-article-list-1-widget ul li {
    list-style-type: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 12px !important;
}

.punica-article-list-1-widget ul li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.punica-article-list-1-widget .entry-item {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transition: none !important;
}

.punica-article-list-1-widget .entry-item:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.punica-article-list-1-widget .entry-thumb {
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 45px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.punica-article-list-1-widget .entry-thumb img {
    border-radius: 6px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.punica-article-list-1-widget .entry-content {
    flex: 1 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* ========================================================
   Gym Management Widget Overrides (Borderless)
   ======================================================== */
.widget-area-5 .punica-nothumb-widget,
.widget:has(a[href="gym.php"]),
.widget:has(img[src="gymsystem.jpg"]) {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.widget-area-5 .punica-nothumb-widget .widget-title,
.widget:has(a[href="gym.php"]) .widget-title {
    background-color: transparent !important;
    color: var(--text-dark) !important;
    padding: 0 0 8px 0 !important;
    border-bottom: 2px solid #2563eb !important; /* Royal Blue header line */
    text-shadow: none !important;
}

.widget-area-5 .punica-nothumb-widget img,
.widget:has(a[href="gym.php"]) img {
    border-radius: 8px !important;
    width: 100% !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* Responsive Mobile Overrides for Tournament Cards (#box-chmp and #box-chmp2) */
@media (max-width: 991px) {
    #box-chmp, #box-chmp2 {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        padding: 12px 14px !important;
        align-items: center !important;
        justify-content: flex-start !important; /* Align everything to the left */
    }

    #box-chmp a, #box-chmp2 a {
        flex: 0 0 100% !important; /* Force title to occupy 100% of the first line by resetting flex-basis */
        width: 100% !important;
        order: 1 !important;
        margin-left: 0 !important;
        margin-bottom: 8px !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        display: block !important;
    }

    #box-chmp .numberA, #box-chmp2 .numberA {
        order: 2 !important;
        float: none !important;
        display: inline-block !important;
        font-size: 11.5px !important;
        margin-right: 8px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #box-chmp .cityA, #box-chmp2 .cityA {
        order: 3 !important;
        float: none !important;
        display: inline-block !important;
        font-size: 11.5px !important;
        margin-left: 0 !important;
        margin-right: 8px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        background: #f1f5f9 !important; /* Restore bright contrast pill */
        width: auto !important; /* Override explicit 100px width on desktop */
        text-align: left !important;
    }

    #box-chmp .chg, #box-chmp2 .chg {
        order: 4 !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 8px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }
}

/* Ensure consistent side spacing (gutter space) from screen edges on mobile/tablet */
@media (max-width: 991px) {
    .wrapper, .wrapper-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
    
    .punica-shadow-box {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
}





