/* ------------------------------------------ */
/*             TABLE OF CONTENTS
/* ------------------------------------------ */
/*   01 - General Styles   */
/*   02 - Header & Navigation      */
/*   03 - Sliders                  */
/*   04 - Breadcrumbs              */
/*   05 - Sidebar                  */
/*   06 - Post                     */
/*   07 - Home                     */
/*   08 - Tabs                     */
/*   09 - Users                    */
/*   10 - Pagination               */
/*   11 - Page 404                 */
/*   12 - Search                   */
/*   13 - Single                   */
/*   14 - Questions                */
/*   15 - Alerts                   */
/*   16 - Contact                  */
/*   17 - Advertising              */
/*   18 - Accordion                */
/*   19 - Panel pop                */
/*   20 - Forms                    */
/*   21 - Profile setting          */
/*   22 - Points & 
		  Badges sections          */
/*   23 - Categories               */
/*   24 - Tags                     */
/*   25 - Blog post area           */
/*   26 - Messages                 */
/*   27 - Footer                   */



/* 01 - General Styles */

/* RESET: Normalize + Box model */


/* Target emojis in headings */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit; /* Ensure heading font size doesn't overscale emojis */
}
h1 .emoji, h2 .emoji, h3 .emoji, h4 .emoji, h5 .emoji, h6 .emoji {
    font-size: 0.8em; /* Smaller than heading text, adjust as needed */
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
}

/* Target emojis in inline content (e.g., paragraphs, spans) */
p, span, div {
    font-size: inherit; /* Prevent parent font size from overscaling emojis */
}
p .emoji, span .emoji, div .emoji {
    font-size: 1em; /* Matches surrounding text size, adjust as needed */
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
}

/* General emoji fallback for image-based emojis (e.g., WordPress) */
img.emoji, .wp-smiley, img.wp-smiley {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    object-fit: contain;
}

/* Ensure emoji font rendering consistency */
.emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-variant-emoji: emoji; /* Render as graphical emojis */
}



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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #e6e3e3;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #171717;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2610eb;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body,
.main-content {
    background-color: #f2f2f2;
}

.header-skin-li {
    cursor: pointer;
    display: inline-block;
    float: right;
}

.main-content {
    position: relative;
    z-index: 1;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #f2f2f2;
    z-index: 999999;
}

.loader_html {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
    border-width: 8px;
    border-style: solid;
    border-right-color: rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0);
}

.load_span {
    text-align: center;
    display: none;
    height: 39px;
}

.load_span.load_span_display {
    display: block;
}

.loader_2,
.loader_3,
.loader_4 {
    width: 20px;
    height: 20px;
    border-width: 3px;
    border-style: solid;
    border-right-color: rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0);
    display: inline-block;
}

.loader_2 {
    margin-top: 7px;
}

.small_loader.loader_2 {
    margin-top: 0;
    width: 16px;
    height: 16px;
    border-width: 2px;
    vertical-align: middle;
    display: none;
}

.loader_4 {
    height: 30px;
    width: 30px;
    vertical-align: middle;
    display: none;
}

.wp-editor-wrap .load_span {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.author-pop-loader {
    text-align: center;
    padding: 10px;
}

.li-follow-question .loader_2 {
    border-color: #FFF;
}

.li_loader {
    margin: 0;
    font-size: 13px;
    font-weight: normal;
    height: 22px;
    display: none;
    margin-top: 6px;
}

.cover_loader {
    padding: 7px;
    height: 30px;
    width: 30px;
    vertical-align: middle;
    margin: auto;
}

.cover_loader_show,
.cover_loader_show .small_loader {
    display: block;
}

#wrap {
    position: relative;
    z-index: 1;
}

.site-html-login,
.site-html-login body {
    height: 100%;
}

.background-cover,
.login-page-cover,
.login-opacity,
.cover-opacity,
.panel-image-opacity {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: fixed;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    height: 100%;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 0;
    overflow: hidden;
    position: absolute !important;
    width: 0;
}


/* TABLES */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #fff;
}

thead {
    background-color: #2610eb;
    color: #fff;
}

th,
td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
}

tr:hover {
    background-color: #f9f9f9;
}

th {
    font-weight: 600;
}

@media (max-width: 600px) {
    table {
        font-size: 0.9rem;
    }
}



/* BUTTONS */
button,
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

/* Primary Button */
.btn-primary {
    background-color: #2610eb;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1d0bd1;
}

/* Secondary Button */
.btn-secondary {
    background-color: #f1f1f1;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e2e2e2;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid #2610eb;
    color: #2610eb;
}

.btn-outline:hover {
    background-color: #2610eb;
    color: #fff;
}




/* FORMS */
form {
    width: 100%;
    margin-bottom: 2rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2610eb;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

input[type="submit"],
button[type="submit"] {
    margin-top: 1rem;
}

/* Disabled state */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f8f8f8;
    cursor: not-allowed;
}



/* === SPACING === */
/* Margin */
.m-0 {
    margin: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.ml-1 {
    margin-left: 0.5rem !important;
}

.mr-1 {
    margin-right: 0.5rem !important;
}

.mx-1 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.my-1 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Padding */
.p-0 {
    padding: 0 !important;
}

.pt-1 {
    padding-top: 0.5rem !important;
}

.pb-1 {
    padding-bottom: 0.5rem !important;
}

.pl-1 {
    padding-left: 0.5rem !important;
}

.pr-1 {
    padding-right: 0.5rem !important;
}

.px-1 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.py-1 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* === TEXT === */
.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-primary {
    color: #2610eb !important;
}

.text-muted {
    color: #666 !important;
}

.text-white {
    color: #fff !important;
}

/* === DISPLAY === */
.d-block {
    display: block !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-none {
    display: none !important;
}

/* === FLEX HELPERS === */
.justify-between {
    justify-content: space-between !important;
}

.justify-center {
    justify-content: center !important;
}

.align-center {
    align-items: center !important;
}

.flex-column {
    flex-direction: column !important;
}

/* === WIDTH === */
.w-100 {
    width: 100% !important;
}

.max-w-screen {
    max-width: 100vw !important;
}






/* === CARD STYLES === */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.card-header,
.card-footer {
    padding: 0.75rem 1rem;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2610eb;
}

.card-text {
    font-size: 0.95rem;
    color: #444;
}

.card-img-top {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    object-fit: cover;
}



/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #2610eb;
    color: #fff;
}

.btn-primary:hover {
    background-color: #190ac7;
}

.btn-outline {
    background-color: transparent;
    color: #2610eb;
    border: 2px solid #2610eb;
}

.btn-outline:hover {
    background-color: #2610eb;
    color: #fff;
}

.btn-light {
    background-color: #f4f4f4;
    color: #333;
}

.btn-light:hover {
    background-color: #e0e0e0;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
}



/* === ALERTS === */
.alert {
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid;
    background-color: #f9f9f9;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #28a745;
}

.alert-error,
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #dc3545;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffc107;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #17a2b8;
}












/* Content Wrapper */
.content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  padding: 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 400;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Paragraphs - sharp, professional look */
.content p {
  margin-bottom: 1.2em;
  font-weight: 500;
}


/* Images & Media - always full width */
.content img,
.content video,
.content figure,
.content picture {
  display: block;
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 6px; /* optional for a modern look */
}

/* Iframe, Embed, Object - responsive full width */
.content iframe,
.content embed,
.content object {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px; /* fallback height */
  border: none;
  margin: 1rem 0;
}





/* Headings with thick underline and letter-spacing */
.content h1,
.content h2,
.content h3,
.content h5,
.content h6 {
    font-weight: 700;
    color: #060606;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 14px solid #d5d6d7;
    letter-spacing: -0.02em;
}





/* Default fluid scaling (desktop + tablets) */
.content h1 {
    font-size: clamp(2.25rem, 4.5vw, 2.5rem);
}

.content h2 {
    font-size: clamp(1.875rem, 4vw, 2rem);
}

.content h3 {
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

.content h4 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.content h5 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.content h6 {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
}

/* Mobile overrides (screens up to 768px) */
@media (max-width: 768px) {
    .content h1 {
        font-size: 1.75rem;
    }
    .content h2 {
        font-size: 1.5rem;
    }
    .content h3 {
        font-size: 1.375rem;
    }
    .content h4 {
        font-size: 1.25rem;
    }
    .content h5 {
        font-size: 1.125rem;
    }
    .content h6 {
        font-size: 1rem;
    }
}


/* Paragraphs with balanced spacing, adjusted for mobile */
.content p {
    margin-bottom: 1.2rem; /* Reduced for mobile readability */
}

/* Links with accessible focus and hover states */
.content a {
    color: #082c5a;
    font-weight: bold; /* Make links bold */
    text-decoration: none; /* Underline by default */
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 1px solid transparent;
}

.content a:hover {
    color: #1557b0;
    border-bottom: 1px solid #1557b0;
    text-decoration: underline; /* Keep underline on hover */
}

.content a:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
    border-radius: 2px;
    text-decoration: underline; /* Ensure underline remains on focus */
}




/* Blockquote with modern styling */
.content blockquote {
    border-left: 4px solid #112847;
    padding: 1rem 1.5rem;
    color: #4a4a4a;
    margin: 2rem 0;
    font-style: italic;
    background: #f8fafc;
    border-radius: 4px;
}

/* Lists with nested support */
.content ul,
.content ol {
    padding-left: 1.75rem;
    margin-bottom: 1.2rem;
}

.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content ul li,
.content ol li {
    margin-bottom: 0.6rem;
}

.content ul li::marker {
    color: #1a73e8;
}




/* Emoji resizing */
.content span[role="img"],
.content img.emoji {
    font-size: 2rem; /* Larger emoji size */
    vertical-align: middle;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}






/* Captions for all media */
.content figure {
    margin: 1.2rem auto;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
    box-sizing: border-box;
}

.content figcaption {
    font-size: 0.85rem;
    color: #ffffff;
    background: #1e3a8a;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.4;
    border-radius: 4px;
    font-style: italic;
    max-width: 100%;
    box-sizing: border-box;
}

/* Tables with professional styling */
.content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    overflow-x: auto;
    display: block;
}

.content th,
.content td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.content th {
    background: #f8fafc;
    font-weight: 600;
    color: #2f2e2e;
}

.content tr:nth-child(even) {
    background: #f9f9f9;
}

/* Code blocks with modern styling */
.content pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.2rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.content code {
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Inline code */
.content p code,
.content li code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Buttons for call-to-action elements */
.content button,
.content input[type="submit"],
.content input[type="button"] {
    background: #1a73e8;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.content button:hover,
.content input[type="submit"]:hover,
.content input[type="button"]:hover {
    background: #1557b0;
    transform: translateY(-1px);
}

.content button:focus,
.content input[type="submit"]:focus,
.content input[type="button"]:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

/* Form inputs for consistency */
.content input[type="text"],
.content input[type="email"],
.content textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    color: #2f2e2e;
    margin-bottom: 1rem;
}

.content input:focus,
.content textarea:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

/* Horizontal rule for section separation */
.content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}













/* Scrollbar - Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background-color: #2610eb;
    border-radius: 10px;
    border: 3px solid #f4f4f4;
    background-clip: padding-box;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #1d0bd1;
}

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #2610eb #f4f4f4;
}

/* Optional: dark mode (uses slightly darker background) */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #1c1c1c;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #453df5;
        border: 3px solid #1c1c1c;
    }

    * {
        scrollbar-color: #453df5 #1c1c1c;
    }
}







.top-header-telegram-wrapper {
  background: #1a1a1a !important; /* Darker black shade to complement black header */
  padding: 5px 0 !important; /* Thin padding for wrapping effect */
}

.top-header-telegram {
  width: 100% !important;
  height: 50px !important;
  background: #000000 !important; /* Black background matching site header */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 6px !important; /* Minimal padding for fit */
  box-sizing: border-box !important;
  font-family: 'Inter', sans-serif !important;
  border-bottom: 1px solid #333333 !important; /* Darker border for contrast */
}

.top-header-telegram-text {
  font-size: 1rem !important;
  color: #ffffff !important;
  font-weight: 600 !important; /* Bolder for sharper visibility */
  flex: 1 !important; /* Take available space */
  overflow: hidden !important;
  font-synthesis: none !important; /* Ensure sharp font rendering */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.top-header-telegram-highlight {
  color: #ff0000 !important; /* Red for high contrast */
  font-weight: 700 !important;
}

.top-header-telegram-main-text {
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  transition: opacity 0.3s ease !important; /* Smooth transition for text change */
}

.top-header-telegram-join-btn {
  background: #ff4500 !important; /* Vibrant orange-red for visibility */
  color: #ffffff !important;
  padding: 8px 10px !important; /* Tighter padding */
  text-decoration: none !important;
  font-size: 0.20rem !important;
  font-weight: 700 !important; /* Bolder for sharper button text */
  white-space: nowrap !important; /* Ensure "Join Now" stays on one line */
  min-width: 80px !important; /* Ensure button width */
  flex-shrink: 0 !important; /* Prevent button from shrinking */
  transition: background 0.3s ease, transform 0.3s ease !important;
  text-align: center !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.top-header-telegram-join-btn:hover {
  background: #ff6347 !important; /* Lighter orange-red on hover */
  transform: scale(1.05) !important;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  /* Desktop and tablet: Show full text and button */
  .top-header-telegram-text {
    font-size: 1rem !important;
  }
  .top-header-telegram-highlight {
    display: inline !important;
  }
  .top-header-telegram-main-text {
    display: inline !important;
    white-space: nowrap !important; /* Keep single line on larger screens */
    overflow: visible !important;
  }
  .top-header-telegram-join-btn {
    padding: 8px 10px !important;
    font-size: 0.9rem !important;
    min-width: 80px !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile: Show full "Don’t Miss:" and dynamic text with button, allow text to break into two lines */
  .top-header-telegram-text {
    font-size: 0.90rem !important; /* Increased font size for readability */
    max-width: 65% !important; /* Slightly reduced to fit button */
    font-weight: 600 !important;
    line-height: 1.2 !important; /* Allow text to break into two lines */
  }
  .top-header-telegram-highlight {
    display: inline !important; /* Show " Don’t Miss This:" on mobile */
  }
  .top-header-telegram-main-text {
    display: inline !important;
    white-space: normal !important; /* Allow text to wrap */
    overflow: visible !important;
  }
  .top-header-telegram-join-btn {
    padding: 5px 8px !important;
    font-size: 0.20rem !important; /* Increased button font size */
    min-width: 70px !important; /* Ensure button width */
    margin-left: 6px !important; /* Minimal space */
    font-weight: 700 !important;
  }
}

@media (max-width: 575.98px) {
  /* Small mobile: Further adjustments */
  .top-header-telegram-text {
    font-size: 0.75rem !important; /* Slightly larger font for small screens */
    max-width: 62% !important; /* Adjusted for smaller screens */
    font-weight: 600 !important;
    line-height: 1.2 !important; /* Allow text to break */
  }
  .top-header-telegram-join-btn {
    padding: 4px 6px !important;
    font-size: 0.75rem !important; /* Slightly larger button font */
    min-width: 65px !important; /* Minimal width for "Join Now" */
    margin-left: 4px !important;
    font-weight: 700 !important;
  }
}









/* Mobile-first base styles for subscription section */
.single-sub-social {
    background: #ffffff;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    width: 100%;         /* Full width */
    margin: 0;           /* Remove outside spacing */
    border-radius: 0;    /* Optional: makes it flush edge-to-edge */
}

/* Paragraph styling */
.single-sub-social p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #2f2e2e;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Button container */
.single-sub-social-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Button styling */
.single-sub-social-button {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    justify-content: center;
    width: 100%;
}

/* Telegram button */
.single-sub-social-telegram {
    background: #0088cc;
    color: #ffffff;
    border: 1px solid #0077b3;
}

.single-sub-social-telegram::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 2L11 13"></path><path d="M22 2L15 22L11 13L2 9L22 2Z"></path></svg>');
    margin-right: 0.5rem;
}

/* Subscribe button */
.single-sub-social-subscribe {
    background: #d32f2f;
    color: #ffffff;
    border: 1px solid #b71c1c;
}

.single-sub-social-subscribe::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>');
    margin-right: 0.5rem;
}

/* Facebook button */
.single-sub-social-facebook {
    background: #1877f2;
    color: #ffffff;
    border: 1px solid #1560bd;
}

.single-sub-social-facebook::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg>');
    margin-right: 0.5rem;
}

/* TikTok button */
.single-sub-social-tiktok {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.single-sub-social-tiktok::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 12a4 4 0 1 0 4 4V4a5 5 0 0 1 5 5"></path></svg>');
    margin-right: 0.5rem;
}

/* WhatsApp button */
.single-sub-social-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: 1px solid #20b358;
}

.single-sub-social-whatsapp::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21l1.65-3.75a9 9 0 1 1 3.75 3.75L3 21z"></path><path d="M9 10a.5.5 0 0 0 1 0V9a.5.5 0 0 0-1 0v1zm0 0a.5.5 0 0 0 1 0V9a.5.5 0 0 0-1 0v1zm3 3a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0v1z"></path></svg>');
    margin-right: 0.5rem;
}

/* Button hover and focus effects */
.single-sub-social-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.single-sub-social-button:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

/* Larger screens */
@media (min-width: 768px) {
    .single-sub-social {
        max-width: 800px;
        margin: 2rem auto;
        padding: 2rem;
    }

    .single-sub-social p {
        font-size: clamp(1rem, 2vw, 1.1rem);
    }

    .single-sub-social-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .single-sub-social-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 200px;
    }
}




#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* High z-index to appear above sticky header */
}

.popup-content {
    position: relative;
    max-width: 90%;
    width: 500px;
    max-height: 80vh; /* Limit height to 80% of viewport height */
    overflow-y: auto; /* Scroll if content is too tall */
    border-radius: 8px;
}

.popup-close-button {
    display: block;
    margin: 15px auto 10px;
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}

.popup-close-button:hover {
    background: #cc0000;
}








.single-inline-related-posts {
    margin: 20px 0;
    width: 100%;
}

.single-inline-related-title {
    font-size: 1.5em;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.single-inline-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-inline-related-item {
    width: 100%;
    margin-bottom: 8px;
    padding: 5px 0; /* Minimal padding for reduced height */
    box-sizing: border-box;
}

.single-inline-related-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left-align content */
    gap: 10px;
}

.single-inline-related-number {
    width: 50px;
    min-height: 30px; /* Minimum height, adjusts to title */
    line-height: 30px; /* Base line-height for single-line titles */
    text-align: center;
    background: #003087; /* Deep blue */
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    border-radius: 8px; /* Rounded corners */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.single-inline-related-link {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.4;
    flex-grow: 1;
}

.single-inline-related-link a {
    color: #0066cc;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-inline-related-link a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .single-inline-related-item {
        padding: 4px 0;
    }

    .single-inline-related-number {
        min-height: 40px; /* Adjust for two-line titles */
        line-height: 1.4; /* Match title line-height */
        font-size: 1.1em;
        padding: 5px;
    }

    .single-inline-related-link {
        font-size: 1em;
        -webkit-line-clamp: 2; /* Truncate to 2 lines */
    }
}











:root {
    --site-color: #1307f5;
    --hover-color: #e6e9ff;
}

.sticky-container {
    position: sticky;
    top: 0;
    z-index: 1030;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack header and nav vertically */
}

.site-header {
    background: linear-gradient(135deg, #1a3a6e 0%, var(--site-color) 50%, #1a3a6e 100%);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    padding: 5px 0; /* Minimal padding to fit 50px */
    height: 60px; /* Fixed header height */
    display: flex;
    align-items: center; /* Center content vertically */
    overflow: hidden;
}

.secondary-nav {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 5px 0; /* Minimal padding */
    height: 60px; /* Default height for PC */
    display: flex;
    align-items: center; /* Center content vertically */
}

.site-logo img {
    max-height: 40px; /* Fit within 50px header */
    width: auto;
    filter: brightness(0) invert(1);
}

.site-logo .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-family: 'Inter', -apple-system, sans-serif;
    text-decoration: none;
    line-height: 36px; /* Align with logo */
    font-size: 1rem;
    text-rendering: optimizeLegibility; /* Sharper text */
    -webkit-font-smoothing: antialiased;
}

.header-icons .fa {
    font-size: 1.4rem; /* Fit within 50px header */
    color: #fff;
    transition: color 0.2s ease;
}

.header-icons a {
    text-decoration: none;
}

.header-icons .fa:hover {
    color: var(--hover-color);
}

.header-icons .menu-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-left: 5px;
    line-height: 1;
    font-family: 'Inter', -apple-system, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.desktop-nav .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    max-height: 40px; /* Fit within header */
}

.desktop-nav .nav-link {
    color: #fff;
    font-weight: 700; /* Bold */
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem; /* Slightly larger for clarity */
    transition: color 0.2s ease;
    padding: 8px 12px; /* Fit within 50px header */
    text-decoration: none;
    text-rendering: optimizeLegibility; /* Sharper text */
    -webkit-font-smoothing: antialiased;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus {
    color: var(--hover-color);
}

.desktop-nav .dropdown-menu {
    background: #fff;
    border: 1px solid var(--site-color);
    position: absolute;
    z-index: 1040; /* Ensure dropdowns are not clipped */
}

.desktop-nav .dropdown-menu .dropdown-item {
    color: #333;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.desktop-nav .dropdown-menu .dropdown-item:hover {
    background: var(--site-color);
    color: #fff;
}

.secondary-nav .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%; /* Full width for scrolling */
    max-height: 48px; /* Fit within 60px nav (PC) */
    scrollbar-gutter: stable; /* Prevent layout shift (modern browsers) */
}

.secondary-nav .nav-link {
    white-space: nowrap;
    color: #333;
    font-weight: 700; /* Bold */
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem; /* Slightly larger for clarity */
    transition: color 0.2s ease;
    padding: 8px 12px; /* Fit within height */
    text-decoration: none;
    text-rendering: optimizeLegibility; /* Sharper text */
    -webkit-font-smoothing: antialiased;
}

.secondary-nav .nav-link:hover,
.secondary-nav .nav-link:focus {
    color: var(--site-color);
}

.secondary-nav .dropdown-menu {
    background: #fff;
    border: 1px solid var(--site-color);
    position: absolute;
    top: 100%; /* Position below nav */
    z-index: 1040;
}

.secondary-nav .dropdown-menu .dropdown-item {
    color: #333;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.secondary-nav .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, var(--site-color) 0%, #1a3a6e 100%);
    color: #fff;
}

@media (min-width: 992px) {
    .header-icons {
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    .secondary-nav {
        height: 70px; /* 70px height on PC */
    }

    .secondary-nav .nav {
        max-height: 50px; /* Fit within 60px */
        overflow-x: hidden; /* Hide scrollbar by default on PC */
        scrollbar-width: none; /* Hide scrollbar in Firefox by default */
    }

    /* Show scrollbar on hover in PC */
    .secondary-nav .nav:hover {
        overflow-x: auto; /* Reveal scroll on hover */
        scrollbar-width: thin; /* Show thin scrollbar in Firefox on hover */
        scrollbar-color: var(--site-color) #f1f1f1;
    }

    /* Hide scrollbar in WebKit (Chrome/Safari) by default */
    .secondary-nav .nav::-webkit-scrollbar {
        display: none;
    }

    /* Show and style scrollbar on hover in WebKit */
    .secondary-nav .nav:hover::-webkit-scrollbar {
        display: block;
        height: 6px; /* Slim scroll bar */
    }

    .secondary-nav .nav:hover::-webkit-scrollbar-thumb {
        background: var(--site-color);
        border-radius: 3px;
    }

    .secondary-nav .nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .secondary-nav {
        height: 50px; /* 50px height on mobile */
    }

    .secondary-nav .nav {
        flex-wrap: nowrap;
        overflow-x: auto; /* Always enable horizontal scroll on mobile */
        width: 100%;
        max-height: 38px; /* Fit within 50px nav */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: thin; /* Always show thin scrollbar in Firefox on mobile */
        scrollbar-color: var(--site-color) #f1f1f1;
    }

    .secondary-nav .nav::-webkit-scrollbar {
        height: 6px; /* Always show slim scroll bar on mobile */
    }

    .secondary-nav .nav::-webkit-scrollbar-thumb {
        background: var(--site-color);
        border-radius: 3px;
    }

    .secondary-nav .nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .site-header {
        height: 50px; /* Consistent header height */
    }
}










/* Responsive Pagination Styles */
.pagination {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination .page-item {
  list-style: none;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #007bff; /* Primary color */
  border: 1px solid #ddd;
  border-radius: 50px; /* Rounded pills */
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pagination .page-item.active .page-link {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  box-shadow: 0 3px 8px rgba(0,123,255,0.4);
}

.pagination .page-link:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #0056b3;
  transform: translateY(-2px);
}

.pagination .page-item.disabled .page-link {
  color: #aaa;
  pointer-events: none;
  background: #f1f1f1;
  border-color: #ddd;
}

/* Make arrows more stylish */
.pagination .page-link i {
  font-size: 20px;
  vertical-align: middle;
}

/* Mobile-friendly: smaller buttons on small screens */
@media (max-width: 576px) {
  .pagination .page-link {
    padding: 8px 12px;
    font-size: 15px;
  }
}












.horizontal-clubs-container {
    margin: 0 auto 2rem !important;
    padding: 0 0.5rem !important;
    max-width: 1200px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.horizontal-clubs-section {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #2d079e #f1f1f1 !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    padding: 0.5rem !important;
}

.horizontal-clubs-posts {
    display: flex !important;
    gap: 1rem !important;
    padding: 0.5rem 0 !important;
}

.horizontal-clubs-thumbnail {
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.horizontal-clubs-thumbnail img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

.horizontal-clubs-section::-webkit-scrollbar {
    height: 8px !important;
}

.horizontal-clubs-section::-webkit-scrollbar-thumb {
    background: #2d079e !important;
    border-radius: 4px !important;
}

.horizontal-clubs-section::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

@media (min-width: 768px) {
    .horizontal-clubs-section {
        overflow-x: hidden !important; /* Prevent scrolling on desktop */
    }
}

@media (max-width: 767px) {
    .horizontal-clubs-thumbnail img {
        width: 50px !important;
        height: 50px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }
}

































.hm-post-title {
    font-weight: 900 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    font-size: 1rem !important;
    margin-bottom: 0.3rem !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased !important;
}

.hm-featured-card:hover .hm-post-title,
.hm-small-post:hover .hm-post-title {
    text-decoration: underline !important;
}

.hm-featured-card {
    position: relative !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.hm-featured-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

.hm-title-section {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    padding: 1rem !important;
}

.hm-title-section .hm-post-title {
    color: white !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    font-weight: 900 !important;
    -webkit-font-smoothing: antialiased !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hm-trending-label {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #ea0b0b !important;
    color: white !important;
    padding: 0.2rem 0.5rem !important;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}

.hm-post-type-label {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #003087 !important;
    color: white !important;
    padding: 0.2rem 0.5rem !important;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
}

.hm-post-type-label:hover {
    background: #0040b8 !important;
    text-decoration: none !important;
}

.hm-video-play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: rgb(10, 7, 173) !important;
    font-size: 2.5rem !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s !important;
}

.hm-featured-card:hover .hm-video-play-icon,
.hm-small-post:hover .hm-video-play-icon {
    opacity: 1 !important;
}

.hm-small-post {
    margin-bottom: 1.5rem !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 0 !important;
    padding: 0.75rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.hm-small-post .hm-post-title {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hm-small-post img {
    width: 200px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.hm-time-ago {
    font-size: 0.9rem !important;
    color: red !important;
    font-family: 'Arial', sans-serif !important;
    font-weight: 700 !important;
    display: block !important;
}

.hm-recent-section .hm-recent-heading {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase !important;
    color: #2d079e !important;
    -webkit-font-smoothing: antialiased !important;
}

.hm-recent-section {
    max-height: 600px !important;
    overflow-y: auto !important;
    position: sticky !important;
    top: 20px !important;
}

.hm-recent-section::-webkit-scrollbar {
    width: 8px !important;
}

.hm-recent-section::-webkit-scrollbar-thumb {
    background: #2d079e !important;
    border-radius: 4px !important;
}

.hm-recent-section::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

@media (min-width: 768px) {
    .container {
        display: flex !important;
        gap: 2rem !important;
    }

    .hm-featured-section {
        flex: 0 0 60% !important;
    }

    .hm-recent-section {
        flex: 0 0 40% !important;
    }

    .hm-featured-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        height: 100% !important;
    }

    .hm-featured-main {
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .hm-featured-main .hm-featured-card {
        height: 500px !important;
    }

    .hm-featured-main img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .hm-featured-main .hm-title-section {
        padding: 1.5rem !important;
    }

    .hm-featured-main .hm-post-title {
        font-size: 1.6rem !important;
    }

    .hm-sub-posts-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .hm-featured-sub {
        width: 100% !important;
    }

    .hm-featured-sub .hm-featured-card {
        height: 250px !important;
    }

    .hm-featured-sub img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .hm-featured-sub .hm-title-section {
        padding: 1rem !important;
    }

    .hm-featured-sub .hm-post-title {
        font-size: 1rem !important;
    }
}

@media (max-width: 767px) {
    .hm-featured-card {
        height: 250px !important;
        margin-bottom: 1.5rem !important;
    }

    .hm-featured-card img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .hm-featured-main .hm-title-section {
        padding: 1.5rem !important;
    }

    .hm-featured-main .hm-post-title {
        font-size: 1.4rem !important;
    }

    .hm-featured-sub .hm-title-section {
        padding: 1rem !important;
    }

    .hm-featured-sub .hm-post-title {
        font-size: 1rem !important;
    }

    .hm-small-post {
        margin-bottom: 2rem !important;
        background: #fff !important;
        border: 1px solid #e9ecef !important;
        border-radius: 0 !important;
        padding: 0.75rem !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }

    .hm-small-post img {
        width: 120px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .hm-small-post .hm-post-title {
        font-size: 1.2rem !important;
    }

    .hm-featured-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .hm-sub-posts-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
}














body {
      font-family: 'Inter', sans-serif !important;
      font-weight: 600 !important;
  }

  .home-widget-container {
      margin: 0 auto 2rem !important;
      padding: 0 0.5rem !important;
      max-width: 1200px !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }

  .home-widget-tabs-wrapper {
      overflow-x: auto !important;
      white-space: nowrap !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: thin !important;
      scrollbar-color: #0015ff #e9ecef !important;
      background: #fff !important;
      border-bottom: 1px solid #dee2e6 !important;
      margin-bottom: 1.5rem !important;
      padding: 0.5rem 0 !important;
  }

  .home-widget-tabs-wrapper::-webkit-scrollbar {
      height: 8px !important;
  }

  .home-widget-tabs-wrapper::-webkit-scrollbar-thumb {
      background: #1500ff !important;
      border-radius: 4px !important;
  }

  .nav-tabs {
      flex-wrap: nowrap !important;
      gap: 0.5rem !important;
  }

  .nav-tabs .nav-link {
      color: #333 !important;
      font-weight: 800 !important;
      font-size: 1rem !important;
      border: none !important;
      border-bottom: 3px solid transparent !important;
      padding: 0.75rem 1.5rem !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      border-radius: 4px 4px 0 0 !important;
  }

  .nav-tabs .nav-link:hover {
      color: #1500ff !important;
      background: #f8f9fa !important;
  }

  .nav-tabs .nav-link.active {
      color: #2200ff !important;
      border-bottom: 3px solid #1e00ff !important;
      background: #f8f9fa !important;
      font-weight: 900 !important;
  }

  .home-widget-post {
      background: #fff !important;
      border: 1px solid #e9ecef !important;
      border-radius: 10px !important;
      margin-bottom: 1.5rem !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
      transition: box-shadow 0.3s ease !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }

  .home-widget-post:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  .home-widget-post-header {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 0.5rem !important;
      padding: 1rem !important;
      border-bottom: 1px solid #e9ecef !important;
  }

  .home-widget-post .home-widget-post-meta .home-widget-post-avatar {
      width: 40px !important;
      height: 40px !important;
      min-width: 40px !important;
      min-height: 40px !important;
      max-width: 40px !important;
      max-height: 40px !important;
      border-radius: 50% !important;
      object-fit: cover !important;
      background: #e9ecef !important;
      flex-shrink: 0 !important;
      border: 2px solid #0c0cdf !important;
  }

  .home-widget-post-meta {
      display: flex !important;
      align-items: center !important;
      gap: 0.5rem !important;
      flex: 1 !important;
      font-size: 0.85rem !important;
  }

  .home-widget-post-meta .display-name {
      display: flex !important;
      align-items: center !important;
      gap: 0.3rem !important;
  }

  .home-widget-post-meta .display-name a {
      font-weight: 800 !important;
      color: #1a1a1a !important;
      text-decoration: none !important;
  }

  .home-widget-post-meta .display-name a:hover {
      color: #1100ff !important;
  }

  .home-widget-post-meta .social-icons a {
      font-size: 0.8rem !important;
      text-decoration: none !important;
  }

  .home-widget-post-meta .social-icons .twitter-icon {
      color: #1DA1F2 !important;
  }

  .home-widget-post-meta .social-icons .facebook-icon {
      color: #4267B2 !important;
  }

  .home-widget-post-meta .social-icons .instagram-icon {
      color: #E1306C !important;
  }

  .home-widget-post-meta .social-icons .tiktok-icon {
      color: #000000 !important;
  }

  .home-widget-post-category {
      display: flex !important;
      align-items: center !important;
      gap: 0.3rem !important;
      font-size: 0.85rem !important;
      color: #606770 !important;
      font-weight: 600 !important;
  }

  .home-widget-post-category a {
      color: #606770 !important;
      text-decoration: none !important;
  }

  .home-widget-post-category a:hover {
      color: #290aef !important;
  }

  .home-widget-post-category i {
      font-size: 0.9rem !important;
  }

  .home-widget-post-image {
      position: relative !important;
      width: 100% !important;
  }

  .home-widget-post-image img {
      width: 100% !important;
      height: auto !important;
      object-fit: cover !important;
      border-radius: 0 !important;
  }

  .home-widget-post-image .play-icon {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      background: rgba(0, 0, 0, 0.6) !important;
      border-radius: 50% !important;
      width: 50px !important;
      height: 50px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: #fff !important;
      font-size: 1.5rem !important;
      transition: background 0.3s ease !important;
  }

  .home-widget-post-image .play-icon:hover {
      background: rgba(0, 0, 0, 0.8) !important;
  }

  .home-widget-post-content {
      padding: 1rem !important;
  }

  .home-widget-post-content h4 {
      margin: 0 0 1rem !important;
      font-size: 1.25rem !important;
      font-weight: 900 !important;
      line-height: 1.3 !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
  }

  .home-widget-post-content h4 a {
      color: #1a1a1a !important;
      text-decoration: none !important;
  }

  .home-widget-post-content h4 a:hover {
      color: #140ae4 !important;
  }

  .home-widget-actions {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding: 0.75rem 1rem !important;
      border-top: 1px solid #e9ecef !important;
      font-size: 0.85rem !important;
      color: #606770 !important;
  }

  .home-widget-actions a,
  .home-widget-actions span {
      display: flex !important;
      align-items: center !important;
      gap: 0.5rem !important;
      color: #606770 !important;
      text-decoration: none !important;
      cursor: pointer !important;
      transition: color 0.3s ease !important;
  }

  .home-widget-actions a:hover,
  .home-widget-actions span:hover,
  .home-widget-actions span.saved {
      color: #120ae4 !important;
  }

  .home-widget-actions i {
      font-size: 1rem !important;
  }

  .home-widget-more {
      text-align: center !important;
      margin: 1.5rem 0 !important;
  }

  .home-widget-more a {
      display: inline-block !important;
      background: #080bc0 !important;
      color: #fff !important;
      padding: 0.75rem 2rem !important;
      border-radius: 6px !important;
      text-decoration: none !important;
      font-weight: 700 !important;
      font-size: 0.9rem !important;
      transition: background 0.3s ease !important;
  }

  .home-widget-more a:hover {
      background: #0c059c !important;
  }

  .save-popup {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      background: rgba(0, 0, 0, 0.5) !important;
      align-items: center !important;
      justify-content: center !important;
      z-index: 10000 !important;
      visibility: hidden !important;
      opacity: 0 !important;
      transition: visibility 0s, opacity 0.3s ease !important;
  }

  .save-popup.visible {
      visibility: visible !important;
      opacity: 1 !important;
      display: flex !important;
  }

  .save-popup-content {
      background: #fff !important;
      padding: 1.5rem !important;
      border-radius: 8px !important;
      text-align: center !important;
      max-width: 400px !important;
      width: 90% !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }

  .save-popup-content p {
      margin: 0 0 1rem !important;
      font-size: 1rem !important;
      font-weight: 600 !important;
  }

  .save-popup-buttons {
      display: flex !important;
      gap: 1rem !important;
      justify-content: center !important;
  }

  .save-popup-buttons button,
  .save-popup-buttons a {
      padding: 0.5rem 1.5rem !important;
      border-radius: 6px !important;
      font-weight: 700 !important;
      font-size: 0.9rem !important;
      cursor: pointer !important;
      text-decoration: none !important;
  }

  .save-popup-buttons .continue-btn {
      background: #606770 !important;
      color: #fff !important;
      border: none !important;
  }

  .save-popup-buttons .continue-btn:hover {
      background: #4a5058 !important;
  }

  .save-popup-buttons .view-saved-btn {
      background: #1805e3 !important;
      color: #fff !important;
  }

  .save-popup-buttons .view-saved-btn:hover {
      background: #1c07df !important;
  }

  /* Mobile Layout */
  @media (max-width: 575.98px) {
      .home-widget-container {
          padding: 0 0.25rem !important;
      }

      .home-widget-post-image img {
          height: 240px !important;
      }

      .home-widget-post-image .play-icon {
          width: 40px !important;
          height: 40px !important;
          font-size: 1.2rem !important;
      }

      .home-widget-post-content h4 {
          font-size: 1.1rem !important;
          -webkit-line-clamp: 2 !important;
      }

      .home-widget-actions {
          font-size: 0.8rem !important;
      }

      .home-widget-actions i {
          font-size: 0.9rem !important;
      }

      .home-widget-post-header {
          padding: 0.75rem !important;
      }

      .home-widget-post-meta {
          font-size: 0.8rem !important;
      }

      .home-widget-post-meta .display-name a {
          font-size: 0.85rem !important;
      }

      .home-widget-post-meta .social-icons a {
          font-size: 0.75rem !important;
      }

      .home-widget-post-category {
          font-size: 0.8rem !important;
      }

      .home-widget-post-category i {
          font-size: 0.85rem !important;
      }

      .save-popup-content {
          padding: 1rem !important;
          max-width: 300px !important;
      }

      .save-popup-content p {
          font-size: 0.9rem !important;
      }

      .save-popup-buttons button,
      .save-popup-buttons a {
          padding: 0.5rem 1rem !important;
          font-size: 0.85rem !important;
      }
  }

  /* Tablet Layout */
  @media (min-width: 576px) and (max-width: 767.98px) {
      .home-widget-post-image img {
          height: 260px !important;
      }

      .home-widget-post-content h4 {
          font-size: 1.25rem !important;
      }

      .home-widget-post-image .play-icon {
          width: 45px !important;
          height: 45px !important;
          font-size: 1.3rem !important;
      }
  }

  /* Desktop Layout */
  @media (min-width: 768px) {
      .home-widget-post {
          display: block !important;
          max-width: 380px !important;
          margin: 0 auto 1.5rem !important;
      }

      .home-widget-post-header {
          padding: 1rem !important;
          border-bottom: 1px solid #e9ecef !important;
      }

      .home-widget-post-image img {
          width: 100% !important;
          height: 360px !important;
          border-radius: 0 !important;
      }

      .home-widget-post-content {
          padding: 1rem !important;
      }

      .home-widget-post-content h4 {
          font-size: 1.75rem !important;
      }

      .home-widget-actions {
          font-size: 0.9rem !important;
      }

      .home-widget-actions i {
          font-size: 1.1rem !important;
      }

      .tab-content {
          display: block !important;
      }

      .tab-content .tab-pane {
          display: none !important;
      }

      .tab-content .tab-pane.active {
          display: grid !important;
          grid-template-columns: repeat(3, minmax(380px, 1fr)) !important;
          gap: 1.5rem !important;
      }

      .tab-content > .home-widget-post {
          display: grid !important;
          grid-template-columns: repeat(3, minmax(380px, 1fr)) !important;
          gap: 1.5rem !important;
      }
  }

  /* Large Desktop Layout */
  @media (min-width: 992px) {
      .home-widget-post-image img {
          height: 400px !important;
      }

      .home-widget-post-content h4 {
          font-size: 2rem !important;
      }
  }
















  /* Comments Container */
  .comments-area {
      max-width: 800px;
      margin: 40px auto;
      padding: 20px;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Comment List */
  .comment-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .comment {
      margin-bottom: 20px;
      padding: 20px;
      background: #f9f9f9;
      border-radius: 6px;
      border: 1px solid #e1e1e1;
  }

  .comment.depth-2,
  .comment.depth-3,
  .comment.depth-4,
  .comment.depth-5 {
      margin-left: 40px;
  }

  /* Comment Meta */
  .comment-meta {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
  }

  .comment-author {
      font-weight: 600;
      color: #333;
  }

  .comment-metadata {
      margin-left: 10px;
      color: #666;
      font-size: 0.9em;
  }

  .comment-metadata time {
      color: #888;
  }

  /* Comment Content */
  .comment-content {
      margin: 10px 0;
      line-height: 1.6;
      color: #444;
  }

  .comment-content p {
      margin: 0 0 10px;
  }

  /* Reply Link */
  .comment-reply-link {
      display: inline-block;
      padding: 6px 12px;
      background: #0716dd;
      color: #fff;
      text-decoration: none;
      border-radius: 4px;
      font-size: 0.9em;
      transition: background 0.3s ease;
  }

  .comment-reply-link:hover {
      background: hsl(240, 93%, 40%)
  }

  /* Comment Form */
  .comment-form {
      margin-top: 30px;
      padding: 20px;
      background: #f1f1f1;
      border-radius: 6px;
  }

  .comment-form p {
      margin-bottom: 15px;
  }

  .comment-form label {
      display: block;
      margin-bottom: 5px;
      font-weight: 500;
      color: #333;
  }

  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
      width: 100%;
      max-width: 600px;
      /* Prevent full-width on PC */
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 1em;
      background: #fff;
      transition: border-color 0.3s ease;
  }

  .comment-form input[type="text"]:focus,
  .comment-form input[type="email"]:focus,
  .comment-form input[type="url"]:focus,
  .comment-form textarea:focus {
      border-color: #007bff;
      outline: none;
  }

  .comment-form textarea {
      min-height: 120px;
      resize: vertical;
  }

  /* Submit Button */
  .comment-form input[type="submit"] {
      display: inline-block;
      padding: 12px 24px;
      background: #28a745;
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 1em;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .comment-form input[type="submit"]:hover {
      background: #218838;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
      .comments-area {
          padding: 15px;
      }

      .comment.depth-2,
      .comment.depth-3,
      .comment.depth-4,
      .comment.depth-5 {
          margin-left: 20px;
      }

      .comment-form {
          padding: 15px;
      }

      .comment-form input[type="text"],
      .comment-form input[type="email"],
      .comment-form input[type="url"],
      .comment-form textarea {
          max-width: 100%;
          /* Full width on mobile */
      }
  }

  /* Comment Navigation */
  .comment-navigation {
      margin: 20px 0;
      display: flex;
      justify-content: space-between;
  }

  .comment-navigation .nav-previous,
  .comment-navigation .nav-next {
      padding: 10px;
      background: #f1f1f1;
      border-radius: 4px;
  }

  .comment-navigation a {
      color: #007bff;
      text-decoration: none;
  }

  .comment-navigation a:hover {
      text-decoration: underline;
  }

  /* Comment Moderation Notice */
  .comment-awaiting-moderation {
      color: #e67e22;
      font-style: italic;
      font-size: 0.9em;
      margin-top: 10px;
  }



  /* Search Header */
  .search-header {
      max-width: 800px;
      margin: 0 auto 40px;
      padding: 0 20px;
  }

  .search-header h1 {
      font-size: 1.8em;
      color: #333;
      font-weight: 600;
      margin-bottom: 20px;
  }

  .search-header h1 span.text-primary {
      color: #007bff;
      font-weight: bold;
      /* Bold for .text-primary */
  }

  /* Search Form */
  .search-form {
      max-width: 600px;
      margin: 0 auto;
  }

  .search-form .mb-3 {
      margin-bottom: 15px;
  }

  .search-form .form-label {
      display: block;
      margin-bottom: 5px;
      font-weight: 500;
      color: #333;
  }

  .search-form .form-control {
      width: 100%;
      max-width: 600px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 0;
      /* Flat-box style */
      font-size: 1em;
      background: #fff;
      transition: border-color 0.3s ease;
  }

  .search-form .form-control:focus {
      border-color: #007bff;
      outline: none;
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
  }

  .search-form .btn-primary {
      display: inline-block;
      padding: 10px 20px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 0;
      /* Flat-box style */
      font-size: 1em;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .search-form .btn-primary:hover {
      background: #0056b3;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
      .search-header {
          padding: 0 15px;
      }

      .search-header h1 {
          font-size: 1.5em;
      }

      .search-form {
          max-width: 100%;
      }

      .search-form .form-control {
          max-width: 100%;
      }

      .search-form .btn-primary {
          width: 100%;
          padding: 12Buscar en la base de datos 12px 24px;
      }
  }

  @media (max-width: 576px) {
      .search-header h1 {
          font-size: 1.3em;
      }

      .search-form .form-control {
          font-size: 0.9em;
      }

      .search-form .btn-primary {
          font-size: 0.9em;
          padding: 8px 16px;
      }
  }












  
/* Mobile-First Subscription Page Styling */
#subscribe-form-container,
#manage-subscription-container {
    max-width: 100%;
    padding: 15px;
    margin: 20px auto;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* Headings */
#subscribe-form-container h1.h3,
#manage-subscription-container h2.h4 {
    color: #1a3c34;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Form Groups */
.sub-form-group {
    margin-bottom: 1.25rem;
}

.sub-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

/* Form Inputs and Selects */
.sub-form-control,
.sub-form-select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.sub-form-control:focus,
.sub-form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.sub-form-select[multiple] {
    height: auto;
    min-height: 120px;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
}

/* Checkbox Group */
.sub-checkbox-group {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
}

.sub-checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sub-checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

/* Buttons */
.sub-btn-primary,
.sub-btn-danger,
.sub-btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-align: center;
}

.sub-btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.sub-btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.sub-btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.sub-btn-danger:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.sub-btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.sub-btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* Alerts */
.subscribe-alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.subscribe-alert.alert-success {
    background-color: #28a745;
    color: #fff;
}

.subscribe-alert.alert-danger {
    background-color: #dc3545;
    color: #fff;
}

.subscribe-alert.alert-info {
    background-color: #007bff;
    color: #fff;
}

/* Validation Feedback */
.sub-invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.sub-needs-validation:invalid .sub-invalid-feedback,
.sub-needs-validation.sub-was-validated .sub-invalid-feedback:invalid {
    display: block;
}

/* Post Type Info */
.sub-post-type-info {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Hidden Fields */
#sub-phone-field,
#sub-email-field,
#sub-post-field,
#sub-update-phone-field,
#sub-update-email-field,
#sub-update-post-field {
    display: none;
}

#sub-post-search,
#sub-update-post-search {
    margin-bottom: 0.5rem;
}

#sub-subscription-details {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tablet and Larger Screens */
@media (min-width: 768px) {
    #subscribe-form-container,
    #manage-subscription-container {
        max-width: 600px;
        padding: 20px;
    }

    #subscribe-form-container h1.h3 {
        font-size: 1.75rem;
    }

    #manage-subscription-container h2.h4 {
        font-size: 1.5rem;
    }

    .sub-form-group {
        margin-bottom: 1.5rem;
    }

    .sub-form-control,
    .sub-form-select {
        font-size: 1.1rem;
    }

    .sub-checkbox-group {
        padding: 0.75rem;
    }

    .sub-btn-primary,
    .sub-btn-danger,
    .sub-btn-secondary {
        font-size: 1.1rem;
        padding: 0.875rem;
    }
}

/* Desktop Screens */
@media (min-width: 992px) {
    #subscribe-form-container,
    #manage-subscription-container {
        max-width: 700px;
    }

    #subscribe-form-container h1.h3 {
        font-size: 2rem;
    }

    #manage-subscription-container h2.h4 {
        font-size: 1.75rem;
    }

    .sub-form-control,
    .sub-form-select {
        padding: 0.875rem;
    }

    .sub-checkbox-group label {
        font-size: 1rem;
    }

    .subscribe-alert {
        font-size: 1rem;
    }
}




.featured-video-container {
  background: #0a1a2f;
  padding: 20px;
}

.featured-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.featured-video-grid.hidden {
  opacity: 0;
}

.featured-video-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 4px solid #0514f0;
    transition: transform 0.3s ease;
}

.featured-video-post:hover {
  transform: scale(1.02);
}

.featured-video-image-link {
  text-decoration: none;
  display: block;
}

.featured-video-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.featured-video-lazy-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}

.featured-video-title-container {
  background: #fff;
  padding: 12px 15px;
  display: flex;
  align-items: center;
}

.featured-video-title {
color: white !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    font-weight: 900 !important;
    -webkit-font-smoothing: antialiased !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.featured-video-title a {
  display: block;
  color: #0a1a2f;
}

.featured-video-title a:hover {
  text-decoration: underline;
}

.featured-video-trending-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f90330;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 10px;
  text-transform: uppercase;
}

.featured-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.play-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #0514f0;
  border-radius: 50%;
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background: #333;
  margin-top: 20px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: #0514f0;
  animation: progress 5s linear infinite;
}

@keyframes progress {
  0% { width: 0; }
  100% { width: 100%; }
}

@media (min-width: 768px) {
  .featured-video-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
  }

  .featured-video-image {
    height: 240px;
  }

  .featured-video-title {
    font-size: 20px;
  }
}



@media (max-width: 767px) {
    .featured-video-container {
        padding: 0;
        /* Reduced from 20px to increase post width */
    }

    .featured-video-grid {
        grid-template-columns: 1fr;
        /* Keep full-width posts */
        gap: 10px;
        /* Optional: Reduce gap for more content width */
    }

    .featured-video-post {
        width: 100%;
        /* Ensure full-width within reduced padding */
    }
}






/* Widget Container */
/* Widget Title */
.widget-title {
    font-size: 1.5rem;
    /* Responsive base size */
    font-weight: 900;
    font-family: 'Arial Black', 'Arial', sans-serif;
    color: #2d079e;
    /* Matches theme color from your existing CSS */
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 13px solid #2f0386;
    /* Thicker line for emphasis */
    -webkit-font-smoothing: antialiased;
    line-height: 1.2;
    
}

/* Links inside widgets */
.widget a {
    color: #230c96;
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

/* Sidebar titles */
.sidebar-left .widget-title,
.sidebar-right .widget-title {
    color: #2d079e;
    /* Consistent with theme color */
}

/* Widget Lists (like categories or recent posts) */
.widget ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.sport-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B);
    padding: 1rem;
    line-height: 1.2;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}




.video-posts-tm-wrapper {
    background: linear-gradient(135deg, #141465 0%, #2507cf 50%, #170e30 100%) !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    max-width: none !important; /* Full screen width */
}

.video-posts-tm-heading {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase !important;
    color: #ffffff !important; /* White for contrast */
    -webkit-font-smoothing: antialiased !important;
}

.video-posts-tm-container {
    overflow-x: hidden !important; /* Prevent horizontal scroll */
    width: 100% !important;
    max-width: none !important; /* Full screen width */
}

.video-posts-tm-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.video-posts-tm-card {
    margin-bottom: 1.5rem !important;
}

.video-posts-tm-inner {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease !important;
}

.video-posts-tm-inner:hover {
    transform: translateY(-5px) !important;
}

.video-posts-tm-link {
    position: relative !important;
    display: block !important;
}

.video-posts-tm-img {
    width: 100% !important;
    height: 220px !important; /* Increased for larger posts */
    object-fit: cover !important;
}

.video-posts-tm-play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: rgb(9, 5, 238) !important;
    font-size: 2.2rem !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s !important;
}

.video-posts-tm-inner:hover .video-posts-tm-play-icon {
    opacity: 1 !important;
}

.video-posts-tm-title-section {
    background: rgba(0, 0, 0, 0.7) !important; /* Default for mobile */
    padding: 0.8rem !important;
}

.video-posts-tm-title {
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    color: white !important; /* Default for mobile */
    margin: 0 !important;
    line-height: 1.3 !important;
    -webkit-font-smoothing: antialiased !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.video-posts-tm-title-section a:hover {
    text-decoration: underline !important;
}

.video-posts-tm-see-more {
    text-align: center !important;
    margin-top: 1.5rem !important;
}

.video-posts-tm-see-more .btn-primary {
    background-color: #0b08ee !important;
    border-color: #0814ea !important;
    font-family: 'Arial Black', 'Arial', sans-serif !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease !important;
}

.video-posts-tm-see-more .btn-primary:hover {
    background-color: #0808ec !important;
    border-color: #060aef !important;
}

@media (min-width: 768px) {
    .video-posts-tm-heading {
        font-size: 1.8rem !important;
        text-align: left !important; /* Left-aligned, separate from posts */
        margin-left: 0 !important;
        margin-right: auto !important;
        width: auto !important; /* Only as wide as needed */
    }

    .video-posts-tm-grid {
        gap: 1rem !important;
        justify-content: center !important; /* Center posts */
    }

    .video-posts-tm-card {
        flex: 0 0 calc(25% - 0.75rem) !important; /* 4 columns, full width */
        max-width: calc(25% - 0.75rem) !important;
        margin-bottom: 2rem !important; /* More space between rows */
    }

    .video-posts-tm-img {
        height: 250px !important; /* Larger for better space utilization */
    }

    .video-posts-tm-title-section {
        position: static !important; /* Below image on desktop */
        background: #ffffff !important; /* White background */
        padding: 1rem !important;
        border-bottom: 2px solid #1e07ed !important; /* Match theme */
    }

    .video-posts-tm-title {
        font-size: 1rem !important;
        color: #333 !important; /* Dark for contrast on white */
    }
}

@media (max-width: 767px) {
    .video-posts-tm-grid {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .video-posts-tm-card {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin-bottom: 2rem !important; /* Increased spacing */
    }

    .video-posts-tm-inner {
        display: flex !important;
        align-items: center !important;
        box-shadow: none !important;
        border-bottom: none !important; /* Remove line under posts */
        border-radius: 0 !important;
        background: none !important;
    }

    .video-posts-tm-img {
        width: 90px !important;
        height: 90px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .video-posts-tm-title-section {
        position: static !important;
        background: none !important;
        padding: 0 1rem !important;
        flex: 1 !important;
    }

    .video-posts-tm-title {
        font-size: 0.9rem !important;
        color: #ffffff !important; /* White for contrast on dark wrapper */
    }

    .video-posts-tm-play-icon {
        font-size: 1.5rem !important;
    }
}






















/*   CLUB HEADER   */
.custom-club-header-sticky-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    margin: 0 !important;
    padding: 0 !important;
}


.custom-club-header-secondary-nav {
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.custom-club-header-site-logo img {
    max-height: 40px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
}

.custom-club-header-site-logo .custom-club-header-navbar-brand {
    color: var(--custom-club-header-name-color) !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
}

.custom-club-header-header-icons .fa {
    font-size: 1.6rem !important;
    color: #fff !important;
    transition: color 0.2s ease !important;
}

.custom-club-header-header-icons a {
    text-decoration: none !important;
}

.custom-club-header-header-icons .fa:hover {
    color: var(--custom-club-header-hover-color) !important;
}

.custom-club-header-header-icons .custom-club-header-menu-label {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-left: 5px !important;
    line-height: 1 !important;
    font-family: 'Inter', sans-serif !important;
}

.custom-club-header-desktop-nav .custom-club-header-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.custom-club-header-desktop-nav .custom-club-header-nav-link {
    color: #fff !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    transition: color 0.2s ease !important;
    padding: 12px 15px !important;
    text-decoration: none !important;
}

.custom-club-header-desktop-nav .custom-club-header-nav-link:hover {
    color: var(--custom-club-header-hover-color) !important;
}

.custom-club-header-desktop-nav .dropdown-menu {
    background: #fff !important;
    border: 1px solid var(--custom-club-header-club-color) !important;
}

.custom-club-header-desktop-nav .dropdown-menu .dropdown-item {
    color: #333 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.custom-club-header-desktop-nav .dropdown-menu .dropdown-item:hover {
    background: var(--custom-club-header-club-color) !important;
    color: #fff !important;
}

.custom-club-header-secondary-nav .custom-club-header-nav-link {
    white-space: nowrap !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    transition: color 0.2s ease !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
}

.custom-club-header-secondary-nav .custom-club-header-nav-link:hover {
    color: var(--custom-club-header-hover-color) !important;
}

.custom-club-header-secondary-nav .custom-club-header-nav {
    flex-wrap: nowrap !important;
}

.custom-club-header-secondary-nav .dropdown-menu {
    background: #fff !important;
    border: 1px solid var(--custom-club-header-club-color) !important;
}

.custom-club-header-secondary-nav .dropdown-menu .dropdown-item {
    color: #333 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.custom-club-header-secondary-nav .dropdown-menu .dropdown-item:hover {
    background: var(--custom-club-header-club-color) !important;
    color: #fff !important;
}

.custom-club-header-player-nav .custom-club-header-player-link {
    display: block;
    margin-right: 10px;
}

.custom-club-header-player-nav .custom-club-header-player-image {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--custom-club-header-club-color);
}

.custom-club-header-player-nav-mobile .custom-club-header-player-link-mobile {
    text-decoration: none !important;
}

.custom-club-header-player-nav-mobile .custom-club-header-player-image-mobile {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--custom-club-header-club-color);
}

.custom-club-header-offcanvas-player-section {
    padding: 0 15px;
}

.custom-club-header-offcanvas-player-section .custom-club-header-offcanvas-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .custom-club-header-header-icons {
        display: flex !important;
    }

    .custom-club-header-desktop-nav {
        display: block !important;
    }

    .custom-club-header-player-nav {
        display: none !important;
    }

    .custom-club-header-desktop-only {
        display: flex !important;
    }

    .custom-club-header-secondary-nav .custom-club-header-nav {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .custom-club-header-desktop-nav {
        display: none !important;
    }

    .custom-club-header-secondary-nav .custom-club-header-nav {
        display: none !important;
    }

    .custom-club-header-header-icons {
        display: flex !important;
    }

    .custom-club-header-desktop-only {
        display: none !important;
    }

    .custom-club-header-player-nav {
        display: flex !important;
    }
}

















    /*Achieve Club Base Styles */
    .archive-club-tab {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
        min-height: 100vh; /* Prevent layout shifts */
    }

    /* Prevent body scroll when popup is open */
    body.search-popup-open {
        overflow: hidden;
    }

    /* Archive Title */
    .archive-club-title {
        font-size: 2rem;
        color: #2d3748;
        margin-bottom: 1.5rem;
    }

    /* Alphabet Filter - Grid Layout */
    .archive-club-alphabet-filter {
        margin-bottom: 1.5rem;
    }

    .archive-club-alphabet-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-club-alphabet-letter {
        padding: 0.75rem;
        background: #edf2f7;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        color: #2d3748;
        transition: all 0.2s;
        text-align: center;
        font-size: 1.2rem;
    }

    .archive-club-alphabet-letter:hover, .archive-club-alphabet-letter.active {
        background: #003087;
        color: white;
    }

    .search-icon {
        font-size: 1rem;
    }

    /* Loading Spinner */
    .archive-club-spinner {
        display: none;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }

    .archive-club-spinner-icon {
        border: 4px solid rgba(237, 242, 247, 0.8);
        border-top: 4px solid #003087;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 0.8s linear infinite;
    }

    /* Country Sections */
    .archive-club-country-section {
        margin-bottom: 2.5rem;
        color: #2d3748;
        transition: opacity 0.3s ease; /* Smooth filter transitions */
    }

    .archive-club-country-header {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #003087;
    }

    /* Clubs Grid */
    .archive-club-grid {
        display: grid;
        gap: 1rem;
    }

    .archive-club-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s ease;
        text-decoration: none;
        color: inherit;
        width: 100%;
        overflow: hidden;
    }

    .archive-club-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .archive-club-logo {
        flex: 0 0 60px;
        height: 60px;
    }

    .archive-club-thumbnail {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 4px;
        border: 1px solid #e2e8f0;
    }

    .archive-club-name {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        color: #2d3748;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .archive-club-no-clubs {
        font-size: 1rem;
        color: #6b7280;
    }

    /* Search Popup */
    .archive-club-search-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out;
    }

    .archive-club-search-popup.show {
        opacity: 1;
    }

    .archive-club-search-container {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .archive-club-search-form-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .archive-club-search-form-container input {
        flex: 1;
        height: 40px;
        border-radius: 4px;
    }

    .archive-club-search-icon-btn {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #003087;
        border: none;
    }

    .archive-club-close-search-btn {
        width: 100%;
        background: #6b7280;
        border: none;
    }

    .archive-club-autocomplete-results {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 10px;
        display: none;
    }

    .archive-club-autocomplete-results div {
        padding: 10px;
        cursor: pointer;
    }

    .archive-club-autocomplete-results div:hover {
        background: #f1f1f1;
    }

    /* Animations */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive Grid */
    @media (min-width: 768px) {
        .archive-club-alphabet-grid {
            grid-template-columns: repeat(14, 1fr);
        }
        .archive-club-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 767px) {
        .archive-club-alphabet-grid {
            grid-template-columns: repeat(7, 1fr);
        }
        .archive-club-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 575.98px) {
        .archive-club-tab {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        .archive-club-title {
            font-size: 1.8rem;
        }
        .archive-club-country-header {
            font-size: 1.3rem;
        }
        .archive-club-name {
            font-size: 0.9rem;
        }
        .archive-club-thumbnail {
            width: 50px;
            height: 50px;
        }
        .archive-club-logo {
            flex: 0 0 50px;
            height: 50px;
        }
    }

    @media (min-width: 992px) {
        .archive-club-tab {
            max-width: 1100px;
            padding: 2rem 0;
            font-size: 0.95rem;
        }
        .archive-club-title {
            font-size: 2rem;
        }
        .archive-club-country-header {
            font-size: 1.5rem;
        }
        .archive-club-name {
            font-size: 1.1rem;
        }
        .archive-club-thumbnail {
            width: 60px;
            height: 60px;
        }
    }

    @media (max-width: 400px) {
        .archive-club-alphabet-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .archive-club-name {
            font-size: 0.8rem;
        }
    }





    /*Achieve Player Base Styles */
    .archive-player-tab {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
        min-height: 100vh; /* Prevent layout shifts */
    }

    /* Prevent body scroll when popup is open */
    body.search-popup-open {
        overflow: hidden;
    }

    /* Archive Title */
    .archive-player-title {
        font-size: 2rem;
        color: #2d3748;
        margin-bottom: 1.5rem;
    }

    /* Alphabet Filter - Grid Layout */
    .archive-player-alphabet-filter {
        margin-bottom: 1.5rem;
    }

    .archive-player-alphabet-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-player-alphabet-letter {
        padding: 0.75rem;
        background: #edf2f7;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        color: #2d3748;
        transition: all 0.2s;
        text-align: center;
        font-size: 1.2rem;
    }

    .archive-player-alphabet-letter:hover, .archive-player-alphabet-letter.active {
        background: #003087;
        color: white;
    }

    .search-icon {
        font-size: 1rem;
    }

    /* Additional Filters */
    .archive-player-additional-filters {
        margin-bottom: 1.5rem;
    }

    .archive-player-filter-container {
        display: flex;
        gap: 1rem;
        justify-content: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-player-filter-select {
        padding: 0.5rem;
        border-radius: 4px;
        border: 1px solid #e2e8f0;
        background: #edf2f7;
        font-size: 1rem;
        color: #2d3748;
        min-width: 200px;
        cursor: pointer;
    }

    .archive-player-filter-select:focus {
        outline: none;
        border-color: #003087;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    }

    /* Loading Spinner */
    .archive-player-spinner {
        display: none;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }

    .archive-player-spinner-icon {
        border: 4px solid rgba(237, 242, 247, 0.8);
        border-top: 4px solid #003087;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 0.8s linear infinite;
    }

    /* Club Sections */
    .archive-player-club-section {
        margin-bottom: 2.5rem;
        color: #2d3748;
        transition: opacity 0.3s ease; /* Smooth filter transitions */
    }

    .archive-player-club-header {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #003087;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .archive-player-club-logo-header {
        width: 20px;
        height: 20px;
        object-fit: contain;
        border-radius: 2px;
    }

    /* Player List */
    .archive-player-list {
        margin: 0;
        padding: 0;
    }

    .archive-player-position-heading {
        font-size: 1.3rem;
        font-weight: 700;
        color: #000000;
        margin: 0.5rem 0 0.5rem;
        padding: 0.5rem;
        background-color: #f8f9fa;
    }

    .archive-player-player-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .archive-player-item {
        border-bottom: 1px solid #dee2e6;
        padding: 0.8rem;
        transition: opacity 0.3s ease; /* Smooth visibility transitions */
    }

    .archive-player-item:last-child {
        border-bottom: none;
    }

    .archive-player-content {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .archive-player-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }

    .archive-player-photo {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }

    .archive-player-shirt-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 20px;
        background-color: #003087;
        color: #ffffff;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        padding: 0 0.5rem;
    }

    .archive-player-name {
        font-size: 1rem;
        margin: 0;
        flex: 1;
        min-width: 120px;
        font-weight: 700;
        font-family: 'Inter', sans-serif;
    }

    .archive-player-name a {
        color: #007bff;
        text-decoration: none;
    }

    .archive-player-name a:hover {
        color: #2A7B9B;
    }

    .archive-player-details {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .archive-player-age {
        font-size: 0.9rem;
        color: #333;
        background-color: #e9ecef;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
    }

    .archive-player-country {
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .archive-player-country-flag {
        width: 30px;
        height: 30px;
        object-fit: cover;
    }

    .archive-player-country-label {
        display: none;
    }

    .archive-player-no-players {
        font-size: 1rem;
        color: #6b7280;
    }

    /* Search Popup */
    .archive-player-search-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out;
    }

    .archive-player-search-popup.show {
        opacity: 1;
    }

    .archive-player-search-container {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .archive-player-search-form-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .archive-player-search-form-container input {
        flex: 1;
        height: 40px;
        border-radius: 4px;
    }

    .archive-player-search-icon-btn {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #003087;
        border: none;
    }

    .archive-player-close-search-btn {
        width: 100%;
        background: #6b7280;
        border: none;
    }

    .archive-player-autocomplete-results {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 10px;
        display: none;
    }

    .archive-player-autocomplete-results div {
        padding: 10px;
        cursor: pointer;
    }

    .archive-player-autocomplete-results div:hover {
        background: #f1f1f1;
    }

    /* Animations */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive Styles */
    @media (min-width: 768px) {
        .archive-player-alphabet-grid {
            grid-template-columns: repeat(14, 1fr);
        }
    }

    @media (max-width: 767px) {
        .archive-player-alphabet-grid {
            grid-template-columns: repeat(7, 1fr);
        }
        .archive-player-filter-container {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .archive-player-filter-select {
            width: calc(50% - 0.25rem);
            min-width: 0;
            font-size: 0.9rem;
            padding: 0.4rem;
        }
    }

    @media (max-width: 575.98px) {
        .archive-player-tab {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        .archive-player-title {
            font-size: 1.8rem;
        }
        .archive-player-alphabet-grid {
            grid-template-columns: repeat(7, 1fr);
        }
        .archive-player-club-header {
            font-size: 1.3rem;
        }
        .archive-player-position-heading {
            font-size: 1.2rem;
        }
        .archive-player-item {
            padding: 0.6rem;
        }
        .archive-player-photo {
            width: 50px;
            height: 50px;
        }
        .archive-player-shirt-number {
            width: 50px;
            height: 18px;
            font-size: 0.8rem;
        }
        .archive-player-name {
            font-size: 0.9rem;
        }
        .archive-player-age {
            font-size: 0.8rem;
        }
        .archive-player-country {
            font-size: 0.8rem;
        }
        .archive-player-details {
            gap: 0.8rem;
        }
        .archive-player-filter-select {
            width: calc(50% - 0.25rem);
            font-size: 0.9rem;
            padding: 0.4rem;
        }
    }

    @media (min-width: 992px) {
        .archive-player-tab {
            max-width: 1100px;
            padding: 2rem 0;
            font-size: 0.95rem;
        }
        .archive-player-title {
            font-size: 2rem;
        }
        .archive-player-alphabet-grid {
            grid-template-columns: repeat(14, 1fr);
        }
        .archive-player-club-header {
            font-size: 1.5rem;
        }
        .archive-player-position-heading {
            font-size: 1.5rem;
        }
        .archive-player-photo {
            width: 60px;
            height: 60px;
        }
        .archive-player-shirt-number {
            width: 60px;
            height: 20px;
            font-size: 0.9rem;
        }
        .archive-player-name {
            font-size: 1.1rem;
        }
        .archive-player-age {
            font-size: 0.85rem;
        }
        .archive-player-country {
            font-size: 0.85rem;
        }
        .archive-player-country-flag {
            width: 40px;
            height: 40px;
        }
        .archive-player-country-label {
            display: inline;
        }
        .archive-player-details {
            gap: 1rem;
        }
    }

    @media (max-width: 400px) {
        .archive-player-alphabet-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .archive-player-filter-select {
            width: calc(50% - 0.25rem);
            font-size: 0.8rem;
            padding: 0.3rem;
        }
        .archive-player-name {
            font-size: 0.8rem;
        }
        .archive-player-shirt-number {
            font-size: 0.7rem;
            height: 16px;
        }
    }





    /*Achieve County Base Styles */
    .archive-country-tab {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
        min-height: 100vh; /* Prevent layout shifts */
    }

    /* Prevent body scroll when popup is open */
    body.search-popup-open {
        overflow: hidden;
    }

    /* Alphabet Filter - Grid Layout */
    .archive-country-alphabet-filter {
        margin-bottom: 1.5rem;
    }

    .archive-country-alphabet-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-country-alphabet-letter {
        padding: 0.75rem;
        background: #edf2f7;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        color: #2d3748;
        transition: all 0.2s;
        text-align: center;
        font-size: 1.2rem;
    }

    .archive-country-alphabet-letter:hover, .archive-country-alphabet-letter.active {
        background: #003087;
        color: white;
    }

    .search-icon {
        font-size: 1rem;
    }

    /* Loading Spinner */
    .archive-country-spinner {
        display: none;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }

    .archive-country-spinner-icon {
        border: 4px solid rgba(237, 242, 247, 0.8);
        border-top: 4px solid #003087;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 0.8s linear infinite;
    }

    /* Countries Grid */
    .archive-country-grid {
        display: grid;
        gap: 1rem;
    }

    .archive-country-section {
        transition: opacity 0.3s ease; /* Smooth filter transitions */
    }

    .archive-country-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s ease;
        text-decoration: none;
        color: inherit;
        width: 100%;
        overflow: hidden;
    }

    .archive-country-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .archive-country-flag {
        flex: 0 0 60px;
        height: 60px;
    }

    .archive-country-thumbnail {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 4px;
        border: 1px solid #e2e8f0;
    }

    .archive-country-name {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #2d3748;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .archive-country-club-count {
        font-size: 1rem;
        font-weight: 400;
        color: #6b7280;
        margin-left: 0.5rem;
    }

    .archive-country-no-countries {
        font-size: 1rem;
        color: #6b7280;
        text-align: center;
        padding: 2rem;
    }

    /* Search Popup */
    .archive-country-search-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out;
    }

    .archive-country-search-popup.show {
        opacity: 1;
    }

    .archive-country-search-container {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .archive-country-search-form-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .archive-country-search-form-container input {
        flex: 1;
        height: 40px;
        border-radius: 4px;
    }

    .archive-country-search-icon-btn {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #003087;
        border: none;
    }

    .archive-country-close-search-btn {
        width: 100%;
        background: #6b7280;
        border: none;
    }

    .archive-country-autocomplete-results {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 10px;
        display: none;
    }

    .archive-country-autocomplete-results div {
        padding: 10px;
        cursor: pointer;
    }

    .archive-country-autocomplete-results div:hover {
        background: #f1f1f1;
    }

    /* Animations */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive Grid */
    @media (min-width: 768px) {
        .archive-country-alphabet-grid {
            grid-template-columns: repeat(14, 1fr);
        }
        .archive-country-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 767px) {
        .archive-country-alphabet-grid {
            grid-template-columns: repeat(7, 1fr);
        }
        .archive-country-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 575.98px) {
        .archive-country-tab {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        .archive-country-name {
            font-size: 1.3rem;
        }
        .archive-country-club-count {
            font-size: 0.9rem;
        }
        .archive-country-thumbnail {
            width: 50px;
            height: 50px;
        }
        .archive-country-flag {
            flex: 0 0 50px;
            height: 50px;
        }
    }

    @media (min-width: 992px) {
        .archive-country-tab {
            max-width: 1100px;
            padding: 2rem 0;
            font-size: 0.95rem;
        }
        .archive-country-name {
            font-size: 1.5rem;
        }
        .archive-country-club-count {
            font-size: 1rem;
        }
        .archive-country-thumbnail {
            width: 60px;
            height: 60px;
        }
    }

    @media (max-width: 400px) {
        .archive-country-alphabet-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .archive-country-name {
            font-size: 1.2rem;
        }
        .archive-country-club-count {
            font-size: 0.8rem;
        }
    }





    /*Achieve Competition Base Styles */
    .archive-competition-tab {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
        min-height: 100vh; /* Prevent layout shifts */
    }

    /* Prevent body scroll when popup is open */
    body.search-popup-open {
        overflow: hidden;
    }

    /* Alphabet Filter - Grid Layout */
    .archive-competition-alphabet-filter {
        margin-bottom: 1.5rem;
    }

    .archive-competition-alphabet-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-competition-alphabet-letter {
        padding: 0.75rem;
        background: #edf2f7;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        color: #2d3748;
        transition: all 0.2s;
        text-align: center;
        font-size: 1.2rem;
    }

    .archive-competition-alphabet-letter:hover, .archive-competition-alphabet-letter.active {
        background: #003087;
        color: white;
    }

    .search-icon {
        font-size: 1rem;
    }

    /* Loading Spinner */
    .archive-competition-spinner {
        display: none;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }

    .archive-competition-spinner-icon {
        border: 4px solid rgba(237, 242, 247, 0.8);
        border-top: 4px solid #003087;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 0.8s linear infinite;
    }

    /* Country Sections */
    .archive-competition-country-section {
        margin-bottom: 2.5rem;
        color: #2d3748;
        transition: opacity 0.3s ease; /* Smooth filter transitions */
    }

    .archive-competition-country-header {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #003087;
    }

    /* Competitions Grid */
    .archive-competition-grid {
        display: grid;
        gap: 1rem;
    }

    .archive-competition-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s ease;
        text-decoration: none;
        color: inherit;
        width: 100%;
        overflow: hidden;
    }

    .archive-competition-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .archive-competition-logo {
        flex: 0 0 60px;
        height: 60px;
    }

    .archive-competition-thumbnail {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 4px;
        border: 1px solid #e2e8f0;
    }

    .archive-competition-name {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #2d3748;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .archive-competition-no-competitions {
        font-size: 1rem;
        color: #6b7280;
        text-align: center;
        padding: 2rem;
    }

    /* Search Popup */
    .archive-competition-search-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out;
    }

    .archive-competition-search-popup.show {
        opacity: 1;
    }

    .archive-competition-search-container {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .archive-competition-search-form-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .archive-competition-search-form-container input {
        flex: 1;
        height: 40px;
        border-radius: 4px;
    }

    .archive-competition-search-icon-btn {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #003087;
        border: none;
    }

    .archive-competition-close-search-btn {
        width: 100%;
        background: #6b7280;
        border: none;
    }

    .archive-competition-autocomplete-results {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 10px;
        display: none;
    }

    .archive-competition-autocomplete-results div {
        padding: 10px;
        cursor: pointer;
    }

    .archive-competition-autocomplete-results div:hover {
        background: #f1f1f1;
    }

    /* Animations */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive Grid */
    @media (min-width: 768px) {
        .archive-competition-alphabet-grid {
            grid-template-columns: repeat(14, 1fr);
        }
        .archive-competition-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 767px) {
        .archive-competition-alphabet-grid {
            grid-template-columns: repeat(7, 1fr);
        }
        .archive-competition-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 575.98px) {
        .archive-competition-tab {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        .archive-competition-country-header {
            font-size: 1.3rem;
        }
        .archive-competition-name {
            font-size: 1.1rem;
        }
        .archive-competition-thumbnail {
            width: 50px;
            height: 50px;
        }
        .archive-competition-logo {
            flex: 0 0 50px;
            height: 50px;
        }
    }

    @media (min-width: 992px) {
        .archive-competition-tab {
            max-width: 1100px;
            padding: 2rem 0;
            font-size: 0.95rem;
        }
        .archive-competition-country-header {
            font-size: 1.5rem;
        }
        .archive-competition-name {
            font-size: 1.25rem;
        }
        .archive-competition-thumbnail {
            width: 60px;
            height: 60px;
        }
    }

    @media (max-width: 400px) {
        .archive-competition-alphabet-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .archive-competition-name {
            font-size: 1rem;
        }
    }






/*Single Football Base Styles */
.single-page-wrapper {
  background: #f8f9fa !important;
  padding: 1.5rem 0 !important;
  font-family: 'Inter', sans-serif !important;
}

.single-page-post-title {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  padding: 1rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-page-poster-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-page-poster-details {
  font-size: 1rem !important;
  color: #333 !important;
}

.single-page-poster-text-wrapper {
  line-height: 1.4 !important;
}

.single-page-poster-text {
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
}

.single-page-poster-name {
  font-weight: 700 !important;
  color: #000000 !important;
  text-decoration: none !important;
}

.single-page-poster-name:hover {
  text-decoration: underline !important;
}

.single-page-poster-date {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin-top: 0.3rem !important;
}

.single-page-poster-date-label {
  font-weight: 700 !important;
}

.single-page-share-buttons {
  gap: 12px !important;
}

.single-page-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0313fc !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.single-page-share-btn:hover {
  background: #2A7B9B !important;
  transform: scale(1.1) !important;
}

.single-page-share-btn i {
  font-size: 1.5rem !important;
}

.single-page-featured-image {
  max-width: 100% !important;
}

.single-page-caption-text {
  background: #003087 !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
  padding: 0.5rem !important;
  margin: 0 !important;
  max-width: 100% !important;
  line-height: 1.4 !important;
}

.single-page-content, .single-page-comments-section, .single-page-related-posts, .single-page-related-posts-mobile, .single-page-author-box, .single-page-tags-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-page-content {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.single-page-related-posts-title, .single-page-comments-title, .single-page-author-box-title, .single-page-tags-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  font-family: 'Inter', sans-serif !important;
}

.single-page-related-post-item {
  display: block !important;
}

.single-page-related-post-image {
  width: 100% !important;
  height: 200px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

.single-page-related-post-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.single-page-related-post-link {
  color: #000000 !important;
  text-decoration: none !important;
}

.single-page-related-post-link:hover {
  text-decoration: underline !important;
}

.single-page-author-box-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
}

.single-page-author-name {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
}

.single-page-author-link {
  color: #000000 !important;
  text-decoration: none !important;
}

.single-page-author-link:hover {
  text-decoration: underline !important;
}

.single-page-author-bio {
  font-size: 1rem !important;
  color: #333 !important;
  line-height: 1.6 !important;
}

.single-page-tags-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
}

.single-page-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.single-page-tag-cloud-link {
  display: inline-block !important;
  padding: 0.5rem 1rem !important;
  background: #003087 !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.3s ease !important;
}

.single-page-tag-cloud-link:hover {
  background: #2A7B9B !important;
}

.single-page-sidebar-content-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.single-page-related-posts-section {
  display: none !important;
}

.single-page-related-posts-mobile {
  display: block !important;
}

/* Desktop: Sticky Sidebar on Left */
@media (min-width: 992px) {
  .single-page-sidebar-content-container {
    flex-direction: row !important;
  }
  .single-page-related-posts-section {
    display: block !important;
    width: 350px !important;
    flex-shrink: 0 !important;
    position: -webkit-sticky !important; /* For Safari */
    position: sticky !important;
    top: 1rem !important;
    align-self: flex-start !important;
    z-index: 10 !important;
  }
  .single-page-content-comments-section {
    flex: 1 !important;
    max-width: calc(100% - 380px) !important;
  }
  .single-page-related-posts-mobile {
    display: none !important;
  }
  .single-page-post-title {
    font-size: 3rem !important;
    border-radius: 8px !important;
  }
  .single-page-content {
    font-size: 1.2rem !important;
  }
  .single-page-related-posts-title, .single-page-comments-title, .single-page-author-box-title, .single-page-tags-title {
    font-size: 2rem !important;
  }
  .single-page-related-post-title {
    font-size: 1.5rem !important;
  }
  .single-page-related-post-image {
    height: 250px !important;
  }
  .single-page-author-name {
    font-size: 1.5rem !important;
  }
  .single-page-tag-cloud-link {
    font-size: 1rem !important;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .single-page-post-title {
    font-size: 2rem !important;
  }
  .single-page-content {
    font-size: 1rem !important;
  }
  .single-page-related-posts-title, .single-page-comments-title, .single-page-author-box-title, .single-page-tags-title {
    font-size: 1.5rem !important;
  }
  .single-page-related-post-title {
    font-size: 1.2rem !important;
  }
  .single-page-related-post-image {
    height: 180px !important;
  }
  .single-page-author-name {
    font-size: 1.2rem !important;
  }
  .single-page-tag-cloud-link {
    font-size: 0.85rem !important;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .single-page-post-title {
    font-size: 1.75rem !important;
    padding: 0.75rem !important;
    border-radius: 0 !important;
  }
  .single-page-poster-section, .single-page-content, .single-page-comments-section, .single-page-related-posts-mobile, .single-page-author-box, .single-page-tags-section {
    padding: 0.75rem !important;
  }
  .single-page-poster-details {
    font-size: 0.85rem !important;
  }
  .single-page-poster-date {
    font-size: 0.8rem !important;
  }
  .single-page-share-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 0.5rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    justify-content: center !important;
    border-top: 1px solid #dee2e6 !important;
    gap: 10px !important;
  }
  .single-page-share-btn {
    width: 32px !important;
    height: 32px !important;
  }
  .single-page-share-btn i {
    font-size: 1.2rem !important;
  }
  .single-page-content {
    font-size: 0.9rem !important;
  }
  .single-page-related-posts-title, .single-page-comments-title, .single-page-author-box-title, .single-page-tags-title {
    font-size: 1.3rem !important;
  }
  .single-page-related-post-title {
    font-size: 1rem !important;
  }
  .single-page-related-post-image {
    max-width: 100% !important;
    height: 120px !important;
  }
  .single-page-author-name {
    font-size: 1rem !important;
  }
  .single-page-author-bio {
    font-size: 0.9rem !important;
  }
  .single-page-tag-cloud-link {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
  }
}



/*Single Club Base Styles */


.custom-club-wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 1.5rem 0 !important;
    background: #f8f9fa !important;
    font-family: 'Inter', sans-serif !important;
}


.custom-club-tabs-scroll {
    min-width: 100% !important;
    padding: 0.5rem 1rem 1rem !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 1rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--custom-club-team-color) #e9f1f6 !important;
}

.custom-club-tabs-scroll::-webkit-scrollbar {
    height: 5px !important;
}

.custom-club-tabs-scroll::-webkit-scrollbar-track {
    background: #e9f1f6 !important;
}

.custom-club-tabs-scroll::-webkit-scrollbar-thumb {
    background: var(--custom-club-team-color) !important;
}

.custom-club-tabs-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--custom-club-hover-color) !important;
}

.custom-club-title-wrapper {
    padding: 1rem 1rem 0.5rem !important;
    line-height: 1.2 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.custom-club-title {
    font-size: 2.5rem !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.custom-club-featured-image {
    max-width: 100% !important;
    height: auto !important;
}

.custom-club-tab-btn {
    position: relative !important;
    padding: 0.8rem 1.6rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: 50px !important;
}

.custom-club-tab-btn.snap-start {
    scroll-snap-align: start !important;
}

.custom-club-tab-btn:not(.snap-start) {
    scroll-snap-align: center !important;
}

.custom-club-tab-btn.btn-primary {
    background: var(--custom-club-team-color) !important;
    border-color: var(--custom-club-team-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.custom-club-tab-btn.btn-primary::after {
    content: '' !important;
    position: absolute !important;
    bottom: 4px !important;
    left: 50% !important;
    width: 60% !important;
    height: 3px !important;
    background: #fff !important;
    transform: translateX(-50%) scaleX(0) !important;
    transform-origin: center !important;
    transition: transform 0.3s ease !important;
}

.custom-club-tab-btn.btn-primary.active::after {
    transform: translateX(-50%) scaleX(1) !important;
}

.custom-club-tab-btn.btn-primary:hover {
    background: var(--custom-club-hover-color) !important;
    border-color: var(--custom-club-hover-color) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important;
}

.custom-club-tab-btn.btn-outline-primary {
    border-color: var(--custom-club-team-color) !important;
    color: var(--custom-club-team-color) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.custom-club-tab-btn.btn-outline-primary:hover {
    background: var(--custom-club-hover-color) !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important;
}

.custom-club-poster-info-section {
    background: #ffffff !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

.custom-club-poster-details {
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
    color: #333 !important;
}

.custom-club-poster-text-wrapper {
    line-height: 1.4 !important;
    max-height: 50px !important;
    overflow: hidden !important;
}

.custom-club-poster-name-wrapper {
    display: flex !important;
    align-items: center !important;
}

.custom-club-poster-text {
    font-weight: 500 !important;
}

.custom-club-poster-name {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: var(--custom-club-team-color) !important;
    text-decoration: none !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.custom-club-poster-name:hover {
    text-decoration: underline !important;
}

.custom-club-poster-date {
    font-size: 0.95rem !important;
    color: #333 !important;
    margin-top: 0.3rem !important;
}

.custom-club-poster-date-label {
    font-weight: 700 !important;
}

.custom-club-share-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.custom-club-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: var(--custom-club-team-color) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
}

.custom-club-share-btn:hover {
    background: var(--custom-club-hover-color) !important;
    transform: scale(1.1) !important;
}

.custom-club-share-btn i {
    font-size: 1.5rem !important;
}

.custom-club-tab-content-wrapper {
    width: 100% !important;
    min-height: 350px !important;
    background: #ffffff !important;
    animation: fadeIn 0.5s ease-in-out !important;
}

.custom-club-related-clubs-section {
    background: #ffffff !important;
    border-radius: 8px !important;
}

.custom-club-related-clubs-title-wrapper {
    display: flex !important;
    align-items: center !important;
}

.custom-club-related-clubs-title {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: var(--custom-club-team-color) !important;
}

.custom-club-related-competition-logo {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.custom-club-related-clubs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem !important;
}

.custom-club-related-club-item {
    display: flex !important;
    align-items: center !important;
}

.custom-club-related-club-logo {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.custom-club-related-club-name {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    margin-bottom: 0 !important;
}

.custom-club-related-club-link {
    color: var(--custom-club-team-color) !important;
    text-decoration: none !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.custom-club-related-club-link:hover {
    text-decoration: underline !important;
}

.custom-club-comments-section {
    background: #ffffff !important;
    border-radius: 8px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0 !important;
        transform: translateY(10px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 767.98px) {
    .custom-club-wrapper {
        padding: 1rem 0 !important;
    }
    .custom-club-title {
        font-size: 1.75rem !important;
    }
    .custom-club-tabs-scroll {
        padding: 0.5rem 0.75rem 0.75rem !important;
    }
    .custom-club-tab-btn {
        padding: 0.7rem 1.3rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }
    .custom-club-tab-content-wrapper {
        padding: 1rem !important;
    }
    .custom-club-poster-info-section {
        position: relative !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    .custom-club-poster-details {
        font-size: 0.9rem !important;
    }
    .custom-club-poster-text-wrapper {
        max-height: 50px !important;
    }
    .custom-club-poster-date {
        font-size: 0.85rem !important;
        margin-top: 0.2rem !important;
    }
    .custom-club-share-buttons {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        padding: 0.5rem !important;
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        justify-content: center !important;
        border-top: 1px solid #dee2e6 !important;
        gap: 12px !important;
    }
    .custom-club-share-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .custom-club-share-btn i {
        font-size: 1.4rem !important;
    }
    .custom-club-related-clubs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .custom-club-related-clubs-title {
        font-size: 1.5rem !important;
    }
    .custom-club-related-club-name {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 575.98px) {
    .custom-club-wrapper {
        padding: 0.75rem 0 !important;
    }
    .custom-club-title {
        font-size: 1.5rem !important;
    }
    .custom-club-title-wrapper {
        padding: 0.5rem 0.5rem 0.5rem !important;
    }
    .custom-club-tabs-scroll {
        padding: 0.5rem 0.5rem 0.75rem !important;
    }
    .custom-club-tab-btn {
        padding: 0.6rem 1.1rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
    }
    .custom-club-tab-content-wrapper {
        padding: 0.75rem !important;
    }
    .custom-club-poster-info-section {
        padding: 0.75rem !important;
    }
    .custom-club-poster-details {
        font-size: 0.85rem !important;
    }
    .custom-club-poster-text-wrapper {
        max-height: 50px !important;
    }
    .custom-club-poster-date {
        font-size: 0.8rem !important;
    }
    .custom-club-share-buttons {
        padding: 0.4rem !important;
        gap: 12px !important;
    }
    .custom-club-share-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .custom-club-share-btn i {
        font-size: 1.4rem !important;
    }
    .custom-club-related-clubs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .custom-club-related-clubs-title {
        font-size: 1.3rem !important;
    }
    .custom-club-related-club-name {
        font-size: 1rem !important;
    }
}




/* Single Competition Base Styles */
.single-competition-wrapper {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 1.5rem 0 !important;
  background: #f8f9fa !important; /* Plain neutral background */
  font-family: 'Inter', sans-serif !important;
}

.single-competition-tabs-container {
  width: 100% !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important; /* Gradient for tabs section */
}

.single-competition-tabs-scroll {
  min-width: 100% !important;
  padding: 0.5rem 1rem 1rem !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 1rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(3, 19, 252, 0.7) #e9f1f6 !important;
}

.single-competition-tabs-scroll::-webkit-scrollbar {
  height: 5px !important;
}

.single-competition-tabs-scroll::-webkit-scrollbar-track {
  background: #e9f1f6 !important;
}

.single-competition-tabs-scroll::-webkit-scrollbar-thumb {
  background: rgba(3, 19, 252, 0.7) !important;
}

.single-competition-tabs-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 14, 230, 0.8) !important;
}

.single-competition-title-wrapper {
  padding: 1rem 1rem 0.5rem !important;
  line-height: 1.2 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.single-competition-title {
  font-size: 2.5rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.single-competition-featured-image {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block !important; /* Ensure visibility */
}

.single-competition-tab-btn {
  position: relative !important;
  padding: 0.8rem 1.6rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
}

.single-competition-tab-btn.snap-start {
  scroll-snap-align: start !important;
}

.single-competition-tab-btn:not(.snap-start) {
  scroll-snap-align: center !important;
}

.single-competition-tab-btn.btn-primary {
  background: linear-gradient(to right, #0313fc, #1a3cff) !important;
  border-color: #0313fc !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(3, 19, 252, 0.3) !important;
}

.single-competition-tab-btn.btn-primary::after {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  width: 60% !important;
  height: 3px !important;
  background: #fff !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.3s ease !important;
}

.single-competition-tab-btn.btn-primary.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.single-competition-tab-btn.btn-primary:hover {
  background: linear-gradient(to right, #2A7B9B, #53A3ED) !important;
  border-color: #2A7B9B !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-competition-tab-btn.btn-outline-primary {
  border-color: #0313fc !important;
  color: #0313fc !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-competition-tab-btn.btn-outline-primary:hover {
  background: #2A7B9B !important;
  color: #fff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-competition-poster-info-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}

.single-competition-poster-details {
  display: flex !important;
  align-items: center !important;
  font-size: 1rem !important;
  color: #333 !important;
}

.single-competition-poster-text-wrapper {
  line-height: 1.4 !important;
  max-height: 50px !important; /* Matches avatar height */
  overflow: hidden !important;
}

.single-competition-poster-name-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-competition-poster-text {
  font-weight: 500 !important;
}

.single-competition-poster-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important; /* Ensures sharp font rendering */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-competition-poster-name:hover {
  text-decoration: underline !important;
}

.single-competition-poster-date {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin-top: 0.3rem !important;
}

.single-competition-poster-date-label {
  font-weight: 700 !important;
}

.single-competition-share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important; /* Increased spacing */
}

.single-competition-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0313fc !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.single-competition-share-btn:hover {
  background: #2A7B9B !important;
  transform: scale(1.1) !important;
}

.single-competition-share-btn i {
  font-size: 1.5rem !important;
}

.single-competition-tab-content-wrapper {
  width: 100% !important;
  min-height: 350px !important;
  background: #ffffff !important; /* Plain white background */
  animation: fadeIn 0.5s ease-in-out !important;
}

.single-competition-related-clubs-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

.single-competition-related-clubs-title-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-competition-related-clubs-title {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  color: #0313fc !important;
}

.single-competition-related-clubs-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
}

.single-competition-related-club-item {
  display: flex !important;
  align-items: center !important;
}

.single-competition-related-club-logo {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important; /* Ensure visibility */
}

.single-competition-related-club-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  margin-bottom: 0 !important;
}

.single-competition-related-club-link {
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-competition-related-club-link:hover {
  text-decoration: underline !important;
}

.single-competition-comments-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

@keyframes fadeIn {
  from { opacity: 0 !important; transform: translateY(10px) !important; }
  to { opacity: 1 !important; transform: translateY(0) !important; }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .single-competition-wrapper {
    padding: 1rem 0 !important;
  }
  .single-competition-title {
    font-size: 1.75rem !important;
  }
  .single-competition-title-wrapper {
    padding: 0.75rem 0.75rem 0.5rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  }
  .single-competition-tabs-scroll {
    padding: 0.5rem 0.75rem 0.75rem !important;
  }
  .single-competition-tab-btn {
    padding: 0.7rem 1.3rem !important;
    font-size: 1rem !important;
    min-height: 48px !important;
  }
  .single-competition-tab-content-wrapper {
    padding: 1rem !important;
  }
  .single-competition-poster-info-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .single-competition-poster-details {
    font-size: 0.9rem !important;
  }
  .single-competition-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-competition-poster-date {
    font-size: 0.85rem !important;
    margin-top: 0.2rem !important;
  }
  .single-competition-share-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 0.5rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    justify-content: center !important;
    border-top: 1px solid #dee2e6 !important;
    gap: 12px !important;
  }
  .single-competition-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-competition-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-competition-related-clubs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-competition-related-clubs-title {
    font-size: 1.5rem !important;
  }
  .single-competition-related-club-name {
    font-size: 1.1rem !important;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .single-competition-wrapper {
    padding: 0.75rem 0 !important;
  }
  .single-competition-title {
    font-size: 1.5rem !important;
  }
  .single-competition-title-wrapper {
    padding: 0.5rem 0.5rem 0.5rem !important;
  }
  .single-competition-tabs-scroll {
    padding: 0.5rem 0.5rem 0.75rem !important;
  }
  .single-competition-tab-btn {
    padding: 0.6rem 1.1rem !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
  }
  .single-competition-tab-content-wrapper {
    padding: 0.75rem !important;
  }
  .single-competition-poster-info-section {
    padding: 0.75rem !important;
  }
  .single-competition-poster-details {
    font-size: 0.85rem !important;
  }
  .single-competition-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-competition-poster-date {
    font-size: 0.8rem !important;
  }
  .single-competition-share-buttons {
    padding: 0.4rem !important;
    gap: 12px !important;
  }
  .single-competition-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-competition-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-competition-related-clubs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-competition-related-clubs-title {
    font-size: 1.3rem !important;
  }
  .single-competition-related-club-name {
    font-size: 1rem !important;
  }
}





/*Single Player Base Styles */
.single-player-wrapper {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 1.5rem 0 !important;
  background: #f8f9fa !important; /* Plain neutral background */
  font-family: 'Inter', sans-serif !important;
}

.single-player-tabs-container {
  width: 100% !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important; /* Gradient for tabs section */
}

.single-player-tabs-scroll {
  min-width: 100% !important;
  padding: 0.5rem 1rem 1rem !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 1rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(3, 19, 252, 0.7) #e9f1f6 !important;
}

.single-player-tabs-scroll::-webkit-scrollbar {
  height: 5px !important;
}

.single-player-tabs-scroll::-webkit-scrollbar-track {
  background: #e9f1f6 !important;
}

.single-player-tabs-scroll::-webkit-scrollbar-thumb {
  background: rgba(3, 19, 252, 0.7) !important;
}

.single-player-tabs-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 14, 230, 0.8) !important;
}

.single-player-title-wrapper {
  padding: 1rem 1rem 0.5rem !important;
  line-height: 1.2 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.single-player-title {
  font-size: 2.5rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.single-player-featured-image {
  max-width: 100% !important;
  height: auto !important;
}

.single-player-tab-btn {
  position: relative !important;
  padding: 0.8rem 1.6rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
}

.single-player-tab-btn.snap-start {
  scroll-snap-align: start !important;
}

.single-player-tab-btn:not(.snap-start) {
  scroll-snap-align: center !important;
}

.single-player-tab-btn.btn-primary {
  background: linear-gradient(to right, #0313fc, #1a3cff) !important;
  border-color: #0313fc !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(3, 19, 252, 0.3) !important;
}

.single-player-tab-btn.btn-primary::after {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  width: 60% !important;
  height: 3px !important;
  background: #fff !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.3s ease !important;
}

.single-player-tab-btn.btn-primary.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.single-player-tab-btn.btn-primary:hover {
  background: linear-gradient(to right, #2A7B9B, #53A3ED) !important;
  border-color: #2A7B9B !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-player-tab-btn.btn-outline-primary {
  border-color: #0313fc !important;
  color: #0313fc !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-player-tab-btn.btn-outline-primary:hover {
  background: #2A7B9B !important;
  color: #fff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-player-tab-content-wrapper {
  width: 100% !important;
  min-height: 350px !important;
  background: #ffffff !important; /* Plain white background */
  animation: fadeIn 0.5s ease-in-out !important;
}

.single-player-poster-info-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}

.single-player-poster-details {
  display: flex !important;
  align-items: center !important;
  font-size: 1rem !important;
  color: #333 !important;
}

.single-player-poster-text-wrapper {
  line-height: 1.4 !important;
  max-height: 50px !important; /* Matches avatar height */
  overflow: hidden !important;
}

.single-player-poster-name-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-player-poster-text {
  font-weight: 500 !important;
}

.single-player-poster-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important; /* Ensures sharp font rendering */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-player-poster-name:hover {
  text-decoration: underline !important;
}

.single-player-poster-date {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin-top: 0.3rem !important;
}

.single-player-poster-date-label {
  font-weight: 700 !important;
}

.single-player-share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important; /* Increased spacing */
}

.single-player-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0313fc !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.single-player-share-btn:hover {
  background: #2A7B9B !important;
  transform: scale(1.1) !important;
}

.single-player-share-btn i {
  font-size: 1.5rem !important;
}

.single-player-related-players-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

.single-player-related-players-title-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-player-related-players-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #0313fc !important;
}

.single-player-related-club-logo {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

.single-player-related-players-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
}

.single-player-related-player-item {
  display: flex !important;
  align-items: center !important;
}

.single-player-related-player-logo {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.single-player-position-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 0.6rem !important;
  color: #fff !important;
  background: #0313fc !important;
  border-radius: 2px !important;
  padding: 2px !important;
  line-height: 1 !important;
}

.single-player-related-player-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-player-related-player-name:hover {
  text-decoration: underline !important;
}

.single-player-comments-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

@keyframes fadeIn {
  from { opacity: 0 !important; transform: translateY(10px) !important; }
  to { opacity: 1 !important; transform: translateY(0) !important; }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .single-player-wrapper {
    padding: 1rem 0 !important;
  }
  .single-player-title {
    font-size: 1.75rem !important;
  }
  .single-player-title-wrapper {
    padding: 0.75rem 0.75rem 0.5rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  }
  .single-player-tabs-scroll {
    padding: 0.5rem 0.75rem 0.75rem !important;
  }
  .single-player-tab-btn {
    padding: 0.7rem 1.3rem !important;
    font-size: 1rem !important;
    min-height: 48px !important;
  }
  .single-player-tab-content-wrapper {
    padding: 1rem !important;
  }
  .single-player-poster-info-section {
    position: relative !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .single-player-poster-details {
    font-size: 0.9rem !important;
  }
  .single-player-poster-text-wrapper {
    max-height: 50px !important; /* Matches avatar height */
  }
  .single-player-poster-date {
    font-size: 0.85rem !important;
    margin-top: 0.2rem !important;
  }
  .single-player-share-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 0.5rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    justify-content: center !important;
    border-top: 1px solid #dee2e6 !important;
    gap: 12px !important;
  }
  .single-player-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-player-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-player-related-players-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-player-related-players-title {
    font-size: 1.3rem !important;
  }
  .single-player-related-player-name {
    font-size: 0.9rem !important;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .single-player-wrapper {
    padding: 0.75rem 0 !important;
  }
  .single-player-title {
    font-size: 1.5rem !important;
  }
  .single-player-title-wrapper {
    padding: 0.5rem 0.5rem 0.5rem !important;
  }
  .single-player-tabs-scroll {
    padding: 0.5rem 0.5rem 0.75rem !important;
  }
  .single-player-tab-btn {
    padding: 0.6rem 1.1rem !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
  }
  .single-player-tab-content-wrapper {
    padding: 0.75rem !important;
  }
  .single-player-poster-info-section {
    padding: 0.75rem !important;
  }
  .single-player-poster-details {
    font-size: 0.85rem !important;
  }
  .single-player-poster-text-wrapper {
    max-height: 50px !important; /* Matches avatar height */
  }
  .single-player-poster-date {
    font-size: 0.8rem !important;
  }
  .single-player-share-buttons {
    padding: 0.4rem !important;
    gap: 12px !important;
  }
  .single-player-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-player-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-player-related-players-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-player-related-players-title {
    font-size: 1.2rem !important;
  }
  .single-player-related-player-name {
    font-size: 0.85rem !important;
  }
}







/*Single County Base Styles */
.single-country-wrapper {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 1.5rem 0 !important;
  background: #f8f9fa !important; /* Plain neutral background */
  font-family: 'Inter', sans-serif !important;
}

.single-country-tabs-container {
  width: 100% !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important; /* Gradient for tabs section */
}

.single-country-tabs-scroll {
  min-width: 100% !important;
  padding: 0.5rem 1rem 1rem !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 1rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(3, 19, 252, 0.7) #e9f1f6 !important;
}

.single-country-tabs-scroll::-webkit-scrollbar {
  height: 5px !important;
}

.single-country-tabs-scroll::-webkit-scrollbar-track {
  background: #e9f1f6 !important;
}

.single-country-tabs-scroll::-webkit-scrollbar-thumb {
  background: rgba(3, 19, 252, 0.7) !important;
}

.single-country-tabs-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 14, 230, 0.8) !important;
}

.single-country-title-wrapper {
  padding: 1rem 1rem 0.5rem !important;
  line-height: 1.2 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.single-country-title {
  font-size: 2.5rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.single-country-featured-image {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block !important; /* Ensure visibility */
}

.single-country-tab-btn {
  position: relative !important;
  padding: 0.8rem 1.6rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
}

.single-country-tab-btn.snap-start {
  scroll-snap-align: start !important;
}

.single-country-tab-btn:not(.snap-start) {
  scroll-snap-align: center !important;
}

.single-country-tab-btn.btn-primary {
  background: linear-gradient(to right, #0313fc, #1a3cff) !important;
  border-color: #0313fc !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(3, 19, 252, 0.3) !important;
}

.single-country-tab-btn.btn-primary::after {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  width: 60% !important;
  height: 3px !important;
  background: #fff !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.3s ease !important;
}

.single-country-tab-btn.btn-primary.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.single-country-tab-btn.btn-primary:hover {
  background: linear-gradient(to right, #2A7B9B, #53A3ED) !important;
  border-color: #2A7B9B !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-country-tab-btn.btn-outline-primary {
  border-color: #0313fc !important;
  color: #0313fc !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-country-tab-btn.btn-outline-primary:hover {
  background: #2A7B9B !important;
  color: #fff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-country-poster-info-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}

.single-country-poster-details {
  display: flex !important;
  align-items: center !important;
  font-size: 1rem !important;
  color: #333 !important;
}

.single-country-poster-text-wrapper {
  line-height: 1.4 !important;
  max-height: 50px !important; /* Matches avatar height */
  overflow: hidden !important;
}

.single-country-poster-name-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-country-poster-text {
  font-weight: 500 !important;
}

.single-country-poster-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important; /* Ensures sharp font rendering */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-country-poster-name:hover {
  text-decoration: underline !important;
}

.single-country-poster-date {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin-top: 0.3rem !important;
}

.single-country-poster-date-label {
  font-weight: 700 !important;
}

.single-country-share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important; /* Increased spacing */
}

.single-country-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0313fc !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.single-country-share-btn:hover {
  background: #2A7B9B !important;
  transform: scale(1.1) !important;
}

.single-country-share-btn i {
  font-size: 1.5rem !important;
}

.single-country-tab-content-wrapper {
  width: 100% !important;
  min-height: 350px !important;
  background: #ffffff !important; /* Plain white background */
  animation: fadeIn 0.5s ease-in-out !important;
}

.single-country-related-clubs-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

.single-country-related-clubs-title-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-country-related-clubs-title {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  color: #0313fc !important;
}

.single-country-related-clubs-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
}

.single-country-related-club-item {
  display: flex !important;
  align-items: center !important;
}

.single-country-related-club-logo {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important; /* Ensure visibility */
}

.single-country-related-club-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  margin-bottom: 0 !important;
}

.single-country-related-club-link {
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-country-related-club-link:hover {
  text-decoration: underline !important;
}

.single-country-comments-section {
  background: #ffffff !important;
  border-radius: 8px !important;
}

@keyframes fadeIn {
  from { opacity: 0 !important; transform: translateY(10px) !important; }
  to { opacity: 1 !important; transform: translateY(0) !important; }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .single-country-wrapper {
    padding: 1rem 0 !important;
  }
  .single-country-title {
    font-size: 1.75rem !important;
  }
  .single-country-title-wrapper {
    padding: 0.75rem 0.75rem 0.5rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  }
  .single-country-tabs-scroll {
    padding: 0.5rem 0.75rem 0.75rem !important;
  }
  .single-country-tab-btn {
    padding: 0.7rem 1.3rem !important;
    font-size: 1rem !important;
    min-height: 48px !important;
  }
  .single-country-tab-content-wrapper {
    padding: 1rem !important;
  }
  .single-country-poster-info-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .single-country-poster-details {
    font-size: 0.9rem !important;
  }
  .single-country-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-country-poster-date {
    font-size: 0.85rem !important;
    margin-top: 0.2rem !important;
  }
  .single-country-share-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 0.5rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    justify-content: center !important;
    border-top: 1px solid #dee2e6 !important;
    gap: 12px !important;
  }
  .single-country-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-country-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-country-related-clubs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-country-related-clubs-title {
    font-size: 1.5rem !important;
  }
  .single-country-related-club-name {
    font-size: 1.1rem !important;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .single-country-wrapper {
    padding: 0.75rem 0 !important;
  }
  .single-country-title {
    font-size: 1.5rem !important;
  }
  .single-country-title-wrapper {
    padding: 0.5rem 0.5rem 0.5rem !important;
  }
  .single-country-tabs-scroll {
    padding: 0.5rem 0.5rem 0.75rem !important;
  }
  .single-country-tab-btn {
    padding: 0.6rem 1.1rem !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
  }
  .single-country-tab-content-wrapper {
    padding: 0.75rem !important;
  }
  .single-country-poster-info-section {
    padding: 0.75rem !important;
  }
  .single-country-poster-details {
    font-size: 0.85rem !important;
  }
  .single-country-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-country-poster-date {
    font-size: 0.8rem !important;
  }
  .single-country-share-buttons {
    padding: 0.4rem !important;
    gap: 12px !important;
  }
  .single-country-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-country-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-country-related-clubs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .single-country-related-clubs-title {
    font-size: 1.3rem !important;
  }
  .single-country-related-club-name {
    font-size: 1rem !important;
  }
}





.container {
    max-width: 1240px;
    padding: 0 1rem;
}

.single-video-main,
.single-video-sidebar {
    padding: 0 0.5rem;
}

.single-video-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.single-video-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #666666;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

.single-video-poster {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-video-poster-link {
    display: inline-flex;
    text-decoration: none;
}

.single-video-poster-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #003087; /* Deep blue border */
    object-fit: cover;
}

.single-video-author,
.single-video-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.single-video-author:hover {
    color: #003087;
    text-decoration: underline;
}

.single-video-views {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Video container */
.single-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.single-video-player,
.single-video-container iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border: none;
}

/* Ad container */
.single-video-ad-container {
    margin: 1rem 0;
    text-align: center;
}

/* Ad overlay */
.single-video-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.single-video-ad-overlay.active {
    display: flex;
    opacity: 1;
}

.single-video-ad-overlay-content {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.single-video-ad-content {
    max-width: 100%;
    height: auto;
}

#start-video-btn {
    background: #ff3c00;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
}

#start-video-btn:hover {
    background: #e03500;
}

#ad-countdown {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Custom video controls for MP4 */
.single-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.single-video-container:hover .single-video-controls {
    opacity: 1;
}

.single-video-control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.single-video-volume-control {
    width: 80px;
    cursor: pointer;
}

/* Social share buttons */
.single-video-social-share {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.single-video-social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}

.single-video-social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.single-video-social-btn.facebook { background: #1877f2; }
.single-video-social-btn.x { background: #000000; }
.single-video-social-btn.messenger { background: #00b2ff; }
.single-video-social-btn.telegram { background: #0088cc; }
.single-video-social-btn.viber { background: #665cac; }

/* Mobile sticky footer */
.single-video-social-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    z-index: 1000;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

/* Related videos */
.single-video-related-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.single-video-related-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.single-video-related-link {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.single-video-related-link:hover {
    transform: translateY(-4px);
}

.single-video-related-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.single-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    color: #ff3c00;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.single-video-related-link:hover .single-video-play-icon {
    opacity: 1;
}

.single-video-related-title-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    padding: 0.75rem;
}

.single-video-related-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Content section */
.single-video-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
}

/* Comments section */
.single-video-comments {
    margin-top: 3rem;
}

/* Sidebar sticky */
.single-video-sidebar {
    position: sticky;
    top: 1rem;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .single-video-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }
}

@media (max-width: 991px) {
    .single-video-title {
        font-size: 1.75rem;
    }

    .single-video-related-img {
        height: 100px;
    }

    .single-video-related-title {
        font-size: 0.85rem;
    }

    .single-video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 767px) {
    .single-video-container {
        aspect-ratio: 16 / 9;
    }

    .single-video-social-footer {
        padding: 0.6rem;
    }

    .single-video-social-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .single-video-title {
        font-size: 1.4rem;
    }

    .single-video-meta {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .single-video-poster-avatar {
        width: 50px;
        height: 50px;
    }

    .single-video-related-videos {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .single-video-related-img {
        height: 90px;
    }

    .single-video-related-title {
        font-size: 0.8rem;
    }
}







.meme-list-wrapper {
    position: relative;
}

.meme-list-heading {
    position: sticky;
    top: 0;
    background: #003087; /* Deep blue */
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    padding: 15px 20px;
    margin: 0;
    z-index: 10;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.meme-list-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.meme-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.meme-card {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.2s ease;
}

.meme-card:hover {
    transform: scale(1.05); /* Shootout effect */
}

.meme-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px;
    text-align: center;
    color: #333;
}

.meme-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
}

.meme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meme-image img.loaded {
    opacity: 1;
}

.meme-caption {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .meme-card {
        width: 220px;
        min-width: 220px;
    }

    .meme-image {
        height: 140px;
    }

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

    .meme-caption {
        font-size: 0.9rem;
    }

    .meme-list-heading {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
}










.single-meme-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.single-meme-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.single-meme-poster {
    margin-bottom: 30px;
}

.single-meme-slideshow {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
}

.single-meme-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.single-meme-slide.active {
    display: block;
}

.single-meme-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-meme-slide img.single-meme-lazy-load.loaded {
    opacity: 1;
}

.single-meme-slide-prev, .single-meme-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.single-meme-slide-prev {
    left: 10px;
}

.single-meme-slide-next {
    right: 10px;
}

.single-meme-meta {
    text-align: center;
    margin-top: 15px;
}

.single-meme-caption {
    font-size: 1.2rem;
    color: #666;
    margin: 10px 0;
}

.single-meme-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    position: relative;
}

.single-meme-like, .single-meme-comment, .single-meme-share {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.single-meme-like:hover, .single-meme-comment:hover, .single-meme-share:hover {
    background: #e0e0e0;
}

.single-meme-like:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.single-meme-share-options {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 100;
    max-width: 90%;
    border-radius: 8px;
}

.single-meme-share-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 24px;
    text-align: center;
}

.single-meme-share-btn {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

.single-meme-share-btn.facebook { background: #3b5998; }
.single-meme-share-btn.x { background: #000000; }
.single-meme-share-btn.messenger { background: #0084ff; }
.single-meme-share-btn.email { background: #666; }
.single-meme-share-btn.whatsapp { background: #25d366; }
.single-meme-share-btn.telegram { background: #0088cc; }

.single-meme-comment-section {
    margin: 30px 0;
}

.single-meme-related-memes {
    margin-top: 40px;
}

.single-meme-related-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.single-meme-list-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.single-meme-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.single-meme-card {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.2s ease;
}

.single-meme-card:hover {
    transform: scale(1.05);
}

.single-meme-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px;
    text-align: center;
    color: #333;
}

.single-meme-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
}

.single-meme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-meme-image img.single-meme-lazy-load.loaded {
    opacity: 1;
}

@media (max-width: 768px) {
    .single-meme-wrapper {
        padding: 15px;
    }

    .single-meme-heading {
        font-size: 1.5rem;
    }

    .single-meme-slideshow {
        height: 250px;
    }

    .single-meme-caption {
        font-size: 1rem;
    }

    .single-meme-actions {
        gap: 10px;
    }

    .single-meme-like, .single-meme-comment, .single-meme-share {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .single-meme-share-options {
        padding: 10px;
        max-width: 95%;
    }

    .single-meme-share-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .single-meme-share-close {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        line-height: 20px;
    }

    .single-meme-card {
        width: 220px;
        min-width: 220px;
    }

    .single-meme-image {
        height: 140px;
    }

    .single-meme-title {
        font-size: 1.2rem;
    }

    .single-meme-caption {
        font-size: 0.9rem;
    }

    .single-meme-related-heading {
        font-size: 1.5rem;
    }
}






.single-match-wrapper {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 1.5rem 0 !important;
  background: #f8f9fa !important;
  font-family: 'Inter', sans-serif !important;
  box-sizing: border-box !important;
}

.single-match-title-wrapper {
  padding: 1rem 1rem 0.5rem !important;
  line-height: 1.2 !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.single-match-title {
  font-size: 2.5rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.single-match-featured-image {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block !important;
}

.single-match-caption-text {
  background: #003087 !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
  padding: 0.5rem !important;
  margin: 0 !important;
  max-width: 100% !important;
  line-height: 1.4 !important;
}

.single-match-poster-info-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-match-poster-details {
  display: flex !important;
  align-items: center !important;
  font-size: 1rem !important;
  color: #333 !important;
}

.single-match-poster-text-wrapper {
  line-height: 1.4 !important;
  max-height: 50px !important;
  overflow: hidden !important;
}

.single-match-poster-name-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-match-poster-text {
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
}

.single-match-poster-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-match-poster-name:hover {
  text-decoration: underline !important;
}

.single-match-poster-date {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin-top: 0.3rem !important;
  font-family: 'Inter', sans-serif !important;
}

.single-match-poster-date-label {
  font-weight: 700 !important;
}

.single-match-share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.single-match-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0313fc !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.single-match-share-btn:hover {
  background: #2A7B9B !important;
  transform: scale(1.1) !important;
}

.single-match-share-btn i {
  font-size: 1.5rem !important;
}

.single-match-summary {
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  color: #ffffff !important;
  padding: 1.5rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 0 !important;
  border: 1px solid #e0e0e0 !important;
}

.single-match-summary .single-match-info {
  margin-bottom: 1rem !important;
}

.single-match-summary .single-match-competition-name {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.single-match-summary .single-match-details {
  font-size: 0.9rem !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
}

.single-match-summary .single-match-live-status {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #ffc107 !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
}

.single-match-summary .single-match-team-name {
  font-size: 1.5rem !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.single-match-summary .single-match-team-name:hover {
  text-decoration: underline !important;
}

.single-match-summary .single-match-score {
  font-size: 2rem !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  text-align: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 0.5rem 1rem !important;
}

.single-match-summary .single-match-venue {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
  margin-top: 0.5rem !important;
}

.single-match-team-form {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-match-team-form .single-match-form-title {
  font-size: 1.5rem !important;
  color: #0313fc !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.single-match-team-form .single-match-team-form-item {
  flex: 1 !important;
  min-width: 150px !important;
  text-align: center !important;
}

.single-match-team-form .single-match-team-form-name {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #333 !important;
  font-family: 'Inter', sans-serif !important;
  margin-bottom: 0.75rem !important;
}

.single-match-team-form .single-match-form-icons {
  display: flex !important;
  justify-content: center !important;
  gap: 0.75rem !important;
}

.single-match-team-form .single-match-form-result {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.single-match-team-form .single-match-form-result:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.single-match-team-form .single-match-form-result-W {
  background: #28a745 !important;
  color: #ffffff !important;
}

.single-match-team-form .single-match-form-result-D {
  background: #ffc107 !important;
  color: #ffffff !important;
}

.single-match-team-form .single-match-form-result-L {
  background: #dc3545 !important;
  color: #ffffff !important;
}

.single-match-tabs-container {
  width: 100% !important;
  background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-match-tabs-scroll {
  min-width: 100% !important;
  padding: 0.5rem 1rem 1rem !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 1rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(3, 19, 252, 0.7) #e9f1f6 !important;
}

.single-match-tabs-scroll::-webkit-scrollbar {
  height: 5px !important;
}

.single-match-tabs-scroll::-webkit-scrollbar-track {
  background: #e9f1f6 !important;
}

.single-match-tabs-scroll::-webkit-scrollbar-thumb {
  background: rgba(3, 19, 252, 0.7) !important;
}

.single-match-tabs-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 14, 230, 0.8) !important;
}

.single-match-tab-btn {
  position: relative !important;
  padding: 0.8rem 1.6rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
}

.single-match-tab-btn.snap-start {
  scroll-snap-align: start !important;
}

.single-match-tab-btn:not(.snap-start) {
  scroll-snap-align: center !important;
}

.single-match-tab-btn.btn-primary {
  background: linear-gradient(to right, #0313fc, #1a3cff) !important;
  border-color: #0313fc !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(3, 19, 252, 0.3) !important;
}

.single-match-tab-btn.btn-primary::after {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  width: 60% !important;
  height: 3px !important;
  background: #fff !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.3s ease !important;
}

.single-match-tab-btn.btn-primary.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.single-match-tab-btn.btn-primary:hover {
  background: linear-gradient(to right, #2A7B9B, #53A3ED) !important;
  border-color: #2A7B9B !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-match-tab-btn.btn-outline-primary {
  border-color: #0313fc !important;
  color: #0313fc !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-match-tab-btn.btn-outline-primary:hover {
  background: #2A7B9B !important;
  color: #fff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 12px rgba(42, 123, 155, 0.4) !important;
}

.single-match-tab-content-wrapper {
  width: 100% !important;
  min-height: 350px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  animation: fadeIn 0.5s ease-in-out !important;
}

.single-match-related-matches-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.single-match-related-matches-title-wrapper {
  display: flex !important;
  align-items: center !important;
}

.single-match-related-matches-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #0313fc !important;
  font-family: 'Inter', sans-serif !important;
}

.single-match-related-matches-list {
  margin: 0 !important;
  padding: 0 !important;
}

.single-match-related-match-item {
  display: flex !important;
  align-items: center !important;
}

.single-match-related-match-logo {
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  display: inline-block !important;
}

.single-match-related-match-name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  margin-bottom: 0 !important;
}

.single-match-related-match-link {
  color: #0313fc !important;
  text-decoration: none !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.single-match-related-match-link:hover {
  text-decoration: underline !important;
}

.single-match-comments-section {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

@keyframes fadeIn {
  from { opacity: 0 !important; transform: translateY(10px) !important; }
  to { opacity: 1 !important; transform: translateY(0) !important; }
}

/* Match Stats Section */
.single-match-stats {
  background-color: #ffffff !important;
  padding: 1.5rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e0e0e0 !important;
}

.single-match-stats .single-match-stats-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #202124 !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.single-match-stats .single-match-team-stats-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 2rem !important;
}

.single-match-stats .single-match-team-stats-item {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: center !important;
}

.single-match-stats .single-match-team-stats-name {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #202124 !important;
  margin-bottom: 1rem !important;
  text-align: left !important;
}

.single-match-stats .single-match-team-stats-item.away-team {
  order: -1 !important;
  text-align: left !important;
}

.single-match-stats .single-match-team-stats-item.home-team {
  text-align: right !important;
}

.single-match-stats .single-match-stats-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-match-stats .single-match-stats-list li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.95rem !important;
  color: #4a4a4a !important;
  padding: 0.5rem 0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.single-match-stats .single-match-stats-list li:last-child {
  border-bottom: none !important;
}

.single-match-stats .single-match-stats-list li strong {
  font-weight: 500 !important;
  color: #202124 !important;
  flex: 1 !important;
  text-align: center !important;
}

.single-match-stats .single-match-stats-list li .home-stat {
  text-align: right !important;
  font-weight: 600 !important;
  flex: 0 0 60px !important;
}

.single-match-stats .single-match-stats-list li .away-stat {
  text-align: left !important;
  font-weight: 600 !important;
  flex: 0 0 60px !important;
}

.single-match-stats .single-match-possession-bar {
  margin-top: 1.5rem !important;
}

.single-match-stats .single-match-possession-bar .progress {
  height: 24px !important;
  background-color: #e0e0e0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
}

.single-match-stats .single-match-possession-bar .progress-bar {
  display: flex !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  transition: width 0.3s ease !important;
}

.single-match-stats .progress-bar.bg-primary {
  background-color: #1a73e8 !important;
  justify-content: flex-start !important;
  padding-left: 10px !important;
}

.single-match-stats .progress-bar.bg-secondary {
  background-color: #5f6368 !important;
  justify-content: flex-end !important;
  padding-right: 10px !important;
}

.single-match-stats .single-match-possession-label {
  font-size: 0.9rem !important;
  color: #4a4a4a !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .single-match-wrapper {
    padding: 1rem 0 !important;
  }
  .single-match-title {
    font-size: 1.75rem !important;
  }
  .single-match-title-wrapper {
    padding: 0.75rem 0.75rem 0.5rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B) !important;
  }
  .single-match-tabs-scroll {
    padding: 0.5rem 0.75rem 0.75rem !important;
  }
  .single-match-tab-btn {
    padding: 0.7rem 1.3rem !important;
    font-size: 1rem !important;
    min-height: 48px !important;
  }
  .single-match-tab-content-wrapper {
    padding: 1rem !important;
  }
  .single-match-poster-info-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .single-match-poster-details {
    font-size: 0.9rem !important;
  }
  .single-match-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-match-poster-date {
    font-size: 0.85rem !important;
    margin-top: 0.2rem !important;
  }
  .single-match-share-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 0.5rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    justify-content: center !important;
    border-top: 1px solid #dee2e6 !important;
    gap: 12px !important;
  }
  .single-match-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-match-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-match-summary {
    padding: 1rem !important;
  }
  .single-match-summary .single-match-competition-name {
    font-size: 1.4rem !important;
  }
  .single-match-summary .single-match-details {
    font-size: 0.8rem !important;
  }
  .single-match-summary .single-match-live-status {
    font-size: 0.85rem !important;
  }
  .single-match-summary .d-flex {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0.3rem !important;
    justify-content: space-between !important;
  }
  .single-match-summary .single-match-team-logo {
    width: 30px !important;
    height: 30px !important;
  }
  .single-match-summary .single-match-team-name {
    font-size: 1rem !important;
    max-width: 90px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .single-match-summary .single-match-score {
    font-size: 1.2rem !important;
    min-width: 50px !important;
  }
  .single-match-summary .single-match-venue {
    font-size: 0.8rem !important;
  }
  .single-match-team-form {
    padding: 1rem !important;
  }
  .single-match-team-form .single-match-form-title {
    font-size: 1.2rem !important;
  }
  .single-match-team-form .single-match-team-form-item {
    min-width: 120px !important;
  }
  .single-match-team-form .single-match-form-icons {
    gap: 0.5rem !important;
  }
  .single-match-team-form .single-match-form-result {
    width: 35px !important;
    height: 35px !important;
    font-size: 1rem !important;
  }
  .single-match-related-matches-title {
    font-size: 1.5rem !important;
  }
  .single-match-related-match-name {
    font-size: 1.1rem !important;
  }
  .single-match-related-match-logo {
    width: 100px !important;
    height: 100px !important;
  }
  .single-match-stats .single-match-team-stats-container {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .single-match-stats .single-match-team-stats-item {
    text-align: center !important;
  }
  .single-match-stats .single-match-team-stats-name {
    text-align: center !important;
  }
  .single-match-stats .single-match-stats-list li {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .single-match-stats .single-match-stats-list li strong {
    text-align: center !important;
  }
  .single-match-stats .single-match-stats-list li .home-stat,
  .single-match-stats .single-match-stats-list li .away-stat {
    text-align: center !important;
    flex: none !important;
  }
  .single-match-stats .single-match-possession-bar .progress {
    height: 20px !important;
  }
  .single-match-stats .progress-bar {
    font-size: 0.85rem !important;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .single-match-wrapper {
    padding: 0.75rem 0 !important;
  }
  .single-match-title {
    font-size: 1.5rem !important;
  }
  .single-match-title-wrapper {
    padding: 0.5rem 0.5rem 0.5rem !important;
  }
  .single-match-tabs-scroll {
    padding: 0.5rem 0.5rem 0.5rem !important;
  }
  .single-match-tab-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
  }
  .single-match-tab-content-wrapper {
    padding: 0.75rem !important;
  }
  .single-match-poster-info-section {
    padding: 0.75rem !important;
  }
  .single-match-poster-details {
    font-size: 0.85rem !important;
  }
  .single-match-poster-text-wrapper {
    max-height: 50px !important;
  }
  .single-match-poster-date {
    font-size: 0.8rem !important;
  }
  .single-match-share-buttons {
    padding: 0.4rem !important;
    gap: 12px !important;
  }
  .single-match-share-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .single-match-share-btn i {
    font-size: 1.4rem !important;
  }
  .single-match-summary {
    padding: 0.75rem !important;
  }
  .single-match-summary .single-match-competition-name {
    font-size: 1.2rem !important;
  }
  .single-match-summary .single-match-details {
    font-size: 0.75rem !important;
  }
  .single-match-summary .single-match-live-status {
    font-size: 0.75rem !important;
  }
  .single-match-summary .single-match-team-logo {
    width: 25px !important;
    height: 25px !important;
  }
  .single-match-summary .single-match-team-name {
    font-size: 0.9rem !important;
    max-width: 80px !important;
  }
  .single-match-summary .single-match-score {
    font-size: 1rem !important;
    min-width: 40px !important;
  }
  .single-match-summary .single-match-venue {
    font-size: 0.75rem !important;
  }
  .single-match-team-form {
    padding: 0.75rem !important;
  }
  .single-match-team-form .single-match-form-title {
    font-size: 1rem !important;
  }
  .single-match-team-form .single-match-team-form-item {
    min-width: 100px !important;
  }
  .single-match-team-form .single-match-form-icons {
    gap: 0.4rem !important;
  }
  .single-match-team-form .single-match-form-result {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
  }
  .single-match-related-matches-title {
    font-size: 1.3rem !important;
  }
  .single-match-related-match-name {
    font-size: 1rem !important;
  }
  .single-match-related-match-logo {
    width: 80px !important;
    height: 80px !important;
  }
  .single-match-stats {
    padding: 1rem !important;
  }
  .single-match-stats .single-match-stats-title {
    font-size: 1.5rem !important;
  }
  .single-match-stats .single-match-team-stats-name {
    font-size: 1.1rem !important;
  }
  .single-match-stats .single-match-stats-list li {
    font-size: 0.85rem !important;
  }
}














/* Container for video or featured image */
.single-match-video-container {
  max-width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Video and image styling */
.single-match-video-media {
  width: 100%;
  max-width: 800px; /* Max width for larger screens */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* Subtle rounded corners */
}

/* Caption styling */
.single-match-video-caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.4;
}

/* Responsive adjustments for mobile (up to 767px) */
@media screen and (max-width: 767px) {
  .single-match-video-container {
    padding: 0 1rem; /* Add padding for mobile */
  }

  .single-match-video-media {
    max-width: 100%; /* Full width on mobile */
    height: auto;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio for videos */
  }

  .single-match-video-caption {
    font-size: 0.85rem; /* Slightly smaller caption on mobile */
    padding: 0 0.5rem;
  }

  /* Adjust iframe and fb-video for mobile */
  .single-match-video-media iframe,
  .single-match-video-media .fb-video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* Ensure responsive video sizing */
  }
}

/* Responsive adjustments for tablet (768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .single-match-video-container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .single-match-video-media {
    max-width: 600px; /* Slightly smaller max width for tablets */
  }

  .single-match-video-caption {
    font-size: 0.95rem;
  }
}

/* PC view (992px and above) */
@media screen and (min-width: 992px) {
  .single-match-video-container {
    max-width: 800px; /* Fixed max width for larger screens */
    margin-left: auto;
    margin-right: auto;
  }

  .single-match-video-media {
    max-width: 100%;
  }

  .single-match-video-caption {
    font-size: 1rem;
  }
}








.home-fixtures-template-wrapper { max-width: 1200px; margin: 0 auto; padding: 20px; font-family: 'Roboto', Arial, sans-serif; background-color: #f8f9fa; }
.home-fixtures-template-title { background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B); color: #fff; padding: 20px; text-align: center; margin-bottom: 30px; font-size: 28px; font-weight: 700; }
.home-fixtures-template-tabs { display: flex; flex-direction: column; margin-bottom: 20px; }
.home-fixtures-template-tabs-wrapper { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
.home-fixtures-template-tab-input { display: none; }
.home-fixtures-template-tab-label { padding: 10px 20px; background-color: #e0e0e0; color: #333; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.3s, color 0.3s; border-radius: 4px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.home-fixtures-template-tab-input:checked + .home-fixtures-template-tab-label { background-color: #1e3a8a; color: #fff; }
.home-fixtures-template-tab-label:hover { background-color: #162c66; color: #fff; }
.home-fixtures-template-live-indicator { width: 10px; height: 10px; background-color: red; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
.home-fixtures-template-tab-content { display: none; width: 100%; }
#tab-all:checked ~ #content-all,
#tab-completed:checked ~ #content-completed,
#tab-ongoing:checked ~ #content-ongoing,
#tab-scheduled:checked ~ #content-scheduled,
#tab-canceled:checked ~ #content-canceled { display: block; }
.home-fixtures-template-grid { display: flex; flex-direction: column; gap: 15px; }
.home-fixtures-template-grid::-webkit-scrollbar { height: 4px; }
.home-fixtures-template-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.home-fixtures-template-grid::-webkit-scrollbar-track { background: transparent; }
.home-fixtures-template-card { background-color: #fff; border: 1px solid #e0e0e0; padding: 15px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); width: 100%; max-width: 250px; }
.home-fixtures-template-date { display: inline-block; background-color: #1e3a8a; color: #fff; padding: 5px 10px; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.home-fixtures-template-round { display: inline-block; background-color: #e0e0e0; color: #333; padding: 5px 10px; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.home-fixtures-template-match { display: flex; align-items: center; justify-content: center; background-color: #f5f5f5; padding: 10px; margin-bottom: 10px; gap: 10px; }
.home-fixtures-template-team { display: flex; flex-direction: column; align-items: center; min-width: 100px; flex-shrink: 1; }
.home-fixtures-template-team-link { text-decoration: none; color: #1e3a8a; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.home-fixtures-template-team-link:hover { color: #162c66; text-decoration: underline; }
.home-fixtures-template-team-logo { width: 40px; height: 40px; margin-bottom: 5px; }
.home-fixtures-template-score { font-size: 14px; color: #333; font-weight: 700; }
.home-fixtures-template-time-link { text-decoration: none; color: inherit; }
.home-fixtures-template-time { font-weight: bold; color: #333; font-size: 16px; min-width: 50px; text-align: center; flex-shrink: 0; }
.home-fixtures-template-time-link:hover .home-fixtures-template-time { text-decoration: underline; }
.home-fixtures-template-details { display: flex; justify-content: space-between; font-size: 14px; color: #666; }
.home-fixtures-template-competition { display: flex; align-items: center; gap: 8px; }
.home-fixtures-template-competition-link { text-decoration: none; color: #1e3a8a; display: flex; align-items: center; gap: 8px; }
.home-fixtures-template-competition-link:hover { color: #162c66; text-decoration: underline; }
.home-fixtures-template-competition-logo { width: 30px; height: 30px; }
.home-fixtures-template-venue { font-style: italic; }
.home-fixtures-template-ht-ft { display: inline-block; background-color: #e0e0e0; color: #333; padding: 5px 10px; font-size: 12px; font-weight: 500; margin-top: 10px; }
.home-fixtures-template-no-data { font-size: 18px; color: #666; text-align: center; margin-top: 30px; padding: 20px; background-color: #fff; border: 1px solid #e0e0e0; }
.home-fixtures-template-more { display: block; margin-top: 20px; padding: 10px 20px; background-color: #1e3a8a; color: #fff; text-align: center; text-decoration: none; border-radius: 4px; font-weight: 600; }
.home-fixtures-template-more:hover { background-color: #162c66; }
.home-fixtures-template-clear-cache { display: inline-block; margin-top: 10px; padding: 8px 16px; background-color: #dc3545; color: #fff; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; }
.home-fixtures-template-clear-cache:hover { background-color: #c82333; }
.home-fixtures-template-error { margin-top: 20px; padding: 10px; background-color: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; border-radius: 4px; }
.home-fixtures-template-error p { margin: 0; font-size: 14px; }

@media (min-width: 769px) {
    .home-fixtures-template-grid { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 15px; padding-bottom: 10px; }
    .home-fixtures-template-card { flex: 0 0 220px; max-width: 220px; padding: 10px; }
    .home-fixtures-template-team-logo { width: 35px; height: 35px; }
    .home-fixtures-template-competition-logo { width: 25px; height: 25px; }
    .home-fixtures-template-date, .home-fixtures-template-round { font-size: 12px; padding: 4px 8px; }
    .home-fixtures-template-score { font-size: 12px; }
    .home-fixtures-template-time { font-size: 14px; min-width: 40px; }
    .home-fixtures-template-details { font-size: 12px; }
    .home-fixtures-template-ht-ft { font-size: 11px; padding: 4px 8px; }
    .home-fixtures-template-more { margin-left: auto; margin-right: 0; width: auto; display: inline-block; }
    .home-fixtures-template-clear-cache { margin-left: 10px; }
    .home-fixtures-template-tab-content { position: relative; }
    .home-fixtures-template-more, .home-fixtures-template-clear-cache { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 10px 15px; }
}

@media (max-width: 768px) { 
    .home-fixtures-template-wrapper { padding: 10px; }
    .home-fixtures-template-title { font-size: 22px; padding: 15px; }
    .home-fixtures-template-tabs-wrapper { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
    .home-fixtures-template-tabs-wrapper::-webkit-scrollbar { display: none; }
    .home-fixtures-template-tabs-wrapper { -ms-overflow-style: none; scrollbar-width: none; }
    .home-fixtures-template-tab-label { font-size: 14px; padding: 8px 15px; flex-shrink: 0; }
    .home-fixtures-template-card { padding: 8px; max-width: 100%; }
    .home-fixtures-template-team-logo { width: 30px; height: 30px; }
    .home-fixtures-template-match { flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 8px; flex-wrap: nowrap; }
    .home-fixtures-template-team { min-width: 90px; flex-shrink: 1; font-size: 12px; }
    .home-fixtures-template-team-link span { font-size: 12px; text-align: center; }
    .home-fixtures-template-score { font-size: 12px; }
    .home-fixtures-template-time { margin: 0 5px; min-width: 40px; font-size: 14px; }
    .home-fixtures-template-details { flex-direction: column; gap: 6px; align-items: flex-start; font-size: 12px; }
    .home-fixtures-template-date, .home-fixtures-template-round { font-size: 12px; padding: 4px 8px; }
    .home-fixtures-template-competition-logo { width: 24px; height: 24px; }
    .home-fixtures-template-grid { overflow-x: visible; }
    .home-fixtures-template-grid::-webkit-scrollbar { display: none; }
    .home-fixtures-template-grid { -ms-overflow-style: none; scrollbar-width: none; }
    .home-fixtures-template-more, .home-fixtures-template-clear-cache { margin-top: 15px; }
    .home-fixtures-template-error { margin-top: 15px; padding: 8px; }
}







.archive-match-wrapper { max-width: 1200px; margin: 0 auto; padding: 20px; font-family: 'Roboto', Arial, sans-serif; background-color: #f8f9fa; }
.archive-match-title { background: linear-gradient(to bottom, #53A3ED, #3248AB, #2A7B9B); color: #fff; padding: 20px; text-align: center; margin-bottom: 30px; font-size: 28px; font-weight: 700; }
.archive-match-tabs { display: flex; flex-direction: column; margin-bottom: 20px; }
.archive-match-tabs-wrapper { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
.archive-match-tab-input { display: none; }
.archive-match-tab-label { padding: 10px 20px; background-color: #e0e0e0; color: #333; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.3s, color 0.3s; border-radius: 4px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.archive-match-tab-input:checked + .archive-match-tab-label { background-color: #1e3a8a; color: #fff; }
.archive-match-tab-label:hover { background-color: #162c66; color: #fff; }
.archive-match-tab-link { text-decoration: none; color: inherit; }
.archive-match-tab-link:hover { text-decoration: none; }
.archive-match-live-indicator { width: 10px; height: 10px; background-color: red; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
.archive-match-tab-content { display: none; width: 100%; }
#tab-all:checked ~ #content-all,
#tab-completed:checked ~ #content-completed,
#tab-ongoing:checked ~ #content-ongoing,
#tab-scheduled:checked ~ #content-scheduled,
#tab-canceled:checked ~ #content-canceled { display: block; }
.archive-match-grid { display: flex; flex-direction: column; gap: 15px; overflow-x: visible; }
.archive-match-grid::-webkit-scrollbar { display: none; }
.archive-match-grid { -ms-overflow-style: none; scrollbar-width: none; }
.archive-match-card { background-color: #fff; border: 1px solid #e0e0e0; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); width: 100%; max-width: 100%; }
.archive-match-date { display: inline-block; background-color: #1e3a8a; color: #fff; padding: 8px 12px; font-size: 16px; font-weight: 500; margin-bottom: 15px; }
.archive-match-round { display: inline-block; background-color: #e0e0e0; color: #333; padding: 8px 12px; font-size: 16px; font-weight: 500; margin-bottom: 15px; }
.archive-match-match { display: flex; align-items: center; justify-content: space-between; background-color: #f5f5f5; padding: 15px; margin-bottom: 15px; gap: 15px; }
.archive-match-team { display: flex; flex-direction: column; align-items: center; min-width: 120px; flex: 1; }
.archive-match-team-link { text-decoration: none; color: #1e3a8a; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.archive-match-team-link:hover { color: #162c66; text-decoration: underline; }
.archive-match-team-logo { width: 50px; height: 50px; margin-bottom: 8px; }
.archive-match-score { font-size: 16px; color: #333; font-weight: 700; }
.archive-match-time-link { text-decoration: none; color: inherit; }
.archive-match-time { font-weight: bold; color: #333; font-size: 18px; min-width: 60px; text-align: center; flex-shrink: 0; }
.archive-match-time-link:hover .archive-match-time { text-decoration: underline; }
.archive-match-details { display: flex; justify-content: space-between; font-size: 16px; color: #666; }
.archive-match-competition { display: flex; align-items: center; gap: 10px; }
.archive-match-competition-link { text-decoration: none; color: #1e3a8a; display: flex; align-items: center; gap: 10px; }
.archive-match-competition-link:hover { color: #162c66; text-decoration: underline; }
.archive-match-competition-logo { width: 40px; height: 40px; }
.archive-match-venue { font-style: italic; }
.archive-match-ht-ft { display: inline-block; background-color: #e0e0e0; color: #333; padding: 8px 12px; font-size: 14px; font-weight: 500; margin-top: 15px; }
.archive-match-no-data { font-size: 18px; color: #666; text-align: center; margin-top: 30px; padding: 20px; background-color: #fff; border: 1px solid #e0e0e0; }
.archive-match-clear-cache { display: inline-block; margin-top: 20px; padding: 10px 20px; background-color: #dc3545; color: #fff; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; }
.archive-match-clear-cache:hover { background-color: #c82333; }
.archive-match-error { margin-top: 20px; padding: 10px; background-color: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; border-radius: 4px; }
.archive-match-error p { margin: 0; font-size: 16px; }
.archive-match-pagination { margin-top: 20px; text-align: center; }
.archive-match-pagination .page-numbers { display: inline-block; padding: 10px 15px; margin: 0 5px; background-color: #e0e0e0; color: #333; text-decoration: none; border-radius: 4px; font-size: 16px; }
.archive-match-pagination .page-numbers.current { background-color: #1e3a8a; color: #fff; }
.archive-match-pagination .page-numbers:hover { background-color: #162c66; color: #fff; }

@media (min-width: 769px) {
    .archive-match-grid { flex-direction: column; gap: 20px; }
    .archive-match-card { padding: 20px; }
    .archive-match-team-logo { width: 50px; height: 50px; }
    .archive-match-competition-logo { width: 40px; height: 40px; }
    .archive-match-date, .archive-match-round { font-size: 16px; padding: 8px 12px; }
    .archive-match-score { font-size: 16px; }
    .archive-match-time { font-size: 18px; min-width: 60px; }
    .archive-match-details { font-size: 16px; }
    .archive-match-ht-ft { font-size: 14px; padding: 8px 12px; }
    .archive-match-clear-cache { margin-left: 10px; }
    .archive-match-tab-content { position: relative; }
    .archive-match-clear-cache { position: absolute; right: 0; top: 0; transform: none; padding: 10px 20px; }
}

@media (max-width: 768px) { 
    .archive-match-wrapper { padding: 15px; }
    .archive-match-title { font-size: 24px; padding: 15px; }
    .archive-match-tabs-wrapper { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
    .archive-match-tabs-wrapper::-webkit-scrollbar { display: none; }
    .archive-match-tabs-wrapper { -ms-overflow-style: none; scrollbar-width: none; }
    .archive-match-tab-label { font-size: 14px; padding: 8px 15px; flex-shrink: 0; }
    .archive-match-card { padding: 15px; max-width: 100%; }
    .archive-match-team-logo { width: 40px; height: 40px; }
    .archive-match-match { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; flex-wrap: nowrap; }
    .archive-match-team { min-width: 100px; flex: 1; font-size: 14px; }
    .archive-match-team-link span { font-size: 14px; text-align: center; }
    .archive-match-score { font-size: 14px; }
    .archive-match-time { margin: 0 5px; min-width: 50px; font-size: 16px; }
    .archive-match-details { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 14px; }
    .archive-match-date, .archive-match-round { font-size: 14px; padding: 6px 10px; }
    .archive-match-competition-logo { width: 30px; height: 30px; }
    .archive-match-grid { overflow-x: visible; }
    .archive-match-grid::-webkit-scrollbar { display: none; }
    .archive-match-grid { -ms-overflow-style: none; scrollbar-width: none; }
    .archive-match-clear-cache { margin-top: 15px; }
    .archive-match-error { margin-top: 15px; padding: 8px; }
    .archive-match-pagination { margin-top: 15px; }
    .archive-match-pagination .page-numbers { padding: 8px 12px; font-size: 14px; }
}





.football-breadcrumbs {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 20px 0;
    padding: 0;
    line-height: 1.5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.football-breadcrumbs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    min-width: max-content;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 15px;
    font-weight: 600; /* Bolder font */
    color: #1a1a1a; /* Darker, sharper text */
}

.breadcrumb-item a {
    color: #1a1a1a;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0055aa;
    background-color: #e6e6e6;
}

.breadcrumb-item.current {
    color: #4a4a4a;
    padding: 3px 6px;
    font-weight: 700; /* Even bolder for current item */
}

.breadcrumb-item.home-item a {
    display: inline-flex;
    align-items: center;
}

.home-icon {
    fill: currentColor;
    margin-right: 6px;
}

.breadcrumb-separator {
    color: #888;
    margin: 0 6px;
    font-size: 14px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .breadcrumb-item {
        font-size: 14px;
        font-weight: 600;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
    }
    
    .breadcrumb-item.current {
        white-space: nowrap;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-item {
        font-size: 13px;
        font-weight: 600;
    }
    
    .home-icon {
        width: 15px;
        height: 15px;
    }
}








/* Club Overview Mobile-first styles */
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.custom-club-overview-info-tab {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.custom-club-overview-title {
    font-size: 2rem;
    margin: 0.5rem 0 !important;
    width: 100% !important;
    text-align: left !important;
}

.custom-club-overview-image {
    width: 100% !important;
    max-width: none !important;
    height: auto;
    object-fit: cover;
}

.custom-club-overview-image-container {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    display: flex;
    justify-content: center;
}

.custom-club-overview-table-responsive {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    width: 100% !important;
    max-width: none !important;
}

.custom-club-overview-table {
    width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.custom-club-overview-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.custom-club-overview-table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.custom-club-overview-table th,
.custom-club-overview-table td {
    padding: 0.8rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.custom-club-overview-table th:last-child,
.custom-club-overview-table td:last-child {
    border-right: none;
}

.custom-club-overview-table th {
    background-color: var(--custom-club-team-color);
    color: #fff;
    font-weight: 600;
    width: 35%;
}

.custom-club-overview-table td {
    color: #333;
}

.custom-club-overview-table td a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--custom-club-team-color);
}

.custom-club-overview-table td a:hover {
    color: var(--custom-club-hover-color);
}

.custom-club-overview-table td img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.custom-club-overview-social-icons {
    font-size: 1.5rem;
}

.custom-club-overview-social-icons a {
    color: var(--custom-club-team-color);
    transition: color 0.2s;
}

.custom-club-overview-social-icons a:hover {
    color: var(--custom-club-hover-color);
}

.custom-club-overview-info-content {
    font-size: 1rem;
    line-height: 1.6;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}


.custom-club-overview-info-content img {
    width: 100% !important;
    max-width: none !important;
    height: auto;
}

/* Small mobile (≤575.98px) */
@media (max-width: 575.98px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .custom-club-overview-info-tab {
        padding: 0.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .custom-club-overview-title {
        font-size: 1.8rem !important;
        margin: 0.5rem 0 !important;
        text-align: left !important;
    }

    .custom-club-overview-image {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
    }

    .custom-club-overview-table {
        font-size: 1rem !important;
        width: 100% !important;
        max-width: none !important;
    }

    .custom-club-overview-table th,
    .custom-club-overview-table td {
        padding: 0.6rem !important;
    }

    .custom-club-overview-table th {
        width: 40% !important;
    }

    .custom-club-overview-table td img {
        width: 35px !important;
        height: 35px !important;
    }

    .custom-club-overview-social-icons {
        font-size: 1.4rem !important;
    }

    .custom-club-overview-info-content {
        font-size: 1rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .custom-club-overview-flex-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0.5rem !important;
    }

    .custom-club-overview-image-wrapper,
    .custom-club-overview-table-wrapper {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* PC adjustments (≥992px) - Unchanged as desktop is okay */
@media (min-width: 992px) {
    .custom-club-overview-info-tab {
        max-width: 1100px;
        margin: 0 auto;
        padding: 2rem 0;
        font-size: 0.95rem;
    }

    .custom-club-overview-title {
        max-width: 1100px;
        margin: 0 auto 0 auto;
        font-size: 1.75rem;
    }

    .custom-club-overview-image {
        width: 550px;
        height: 350px;
        object-fit: cover;
    }

    .custom-club-overview-image-container {
        margin: 0;
        padding: 0;
        justify-content: flex-end;
        align-self: stretch;
        display: flex;
        align-items: center;
        width: 550px;
    }

    .custom-club-overview-table {
        font-size: 0.95rem;
        width: 550px;
        min-height: 350px;
    }

    .custom-club-overview-table th {
        width: 25%;
        padding: 0.6rem;
    }

    .custom-club-overview-table td {
        padding: 0.6rem;
    }

    .custom-club-overview-table td img {
        width: 40px;
        height: 40px;
    }

    .custom-club-overview-social-icons {
        font-size: 1.6rem;
    }

    .custom-club-overview-info-content {
        font-size: 0.95rem;
    }

    .custom-club-overview-flex-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 1100px;
        margin: 0;
        gap: 0;
    }

    .custom-club-overview-image-wrapper,
    .custom-club-overview-table-wrapper {
        width: 550px;
        margin: 0;
        padding: 0;
    }
}



/* Club Players Mobile-first styles */
.custom-club-squad-tab {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.custom-club-squad-title {
    font-size: 2rem;
}

.custom-club-squad-team-photo {
    margin-bottom: 0.5rem;
    width: 100%;
}

.custom-club-squad-team-photo-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.custom-club-squad-list {
    margin: 0;
    padding: 0;
}

.custom-club-squad-position-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--custom-club-team-color);
    margin: 0.5rem 0 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

.custom-club-squad-player-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-club-squad-player-item {
    border-bottom: 1px solid #dee2e6;
    padding: 0.8rem;
}

.custom-club-squad-player-item:last-child {
    border-bottom: none;
}

.custom-club-squad-player-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.custom-club-squad-player-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.custom-club-squad-player-photo {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.custom-club-squad-player-shirt-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 20px;
    background-color: var(--custom-club-team-color);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 0 0.5rem;
}

.custom-club-squad-player-name {
    font-size: 1rem;
    margin: 0;
    flex: 1;
    min-width: 120px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.custom-club-squad-player-link {
    color: var(--custom-club-team-color);
    text-decoration: none;
}

.custom-club-squad-player-link:hover {
    color: var(--custom-club-hover-color);
}

.custom-club-squad-player-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-club-squad-player-age {
    font-size: 0.9rem;
    color: #333;
    background-color: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.custom-club-squad-player-country {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-club-squad-country-link {
    color: var(--custom-club-team-color);
}

.custom-club-squad-country-link:hover {
    color: var(--custom-club-hover-color);
}

.custom-club-squad-country-flag {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.custom-club-squad-country-label {
    display: none;
}

.custom-club-squad-error-notice {
    background-color: #f8d7da;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Small mobile (≤575.98px) */
@media (max-width: 575.98px) {
    .custom-club-squad-tab {
        padding: 0;
        font-size: 0.9rem;
    }

    .custom-club-squad-title {
        font-size: 1.5rem;
    }

    .custom-club-squad-team-photo-img {
        width: 100%;
        height: 150px;
    }

    .custom-club-squad-position-heading {
        font-size: 1.3rem;
    }

    .custom-club-squad-player-item {
        padding: 0.6rem;
    }

    .custom-club-squad-player-photo {
        width: 50px;
        height: 50px;
    }

    .custom-club-squad-player-shirt-number {
        width: 50px;
        height: 18px;
        font-size: 0.8rem;
    }

    .custom-club-squad-player-name {
        font-size: 0.9rem;
    }

    .custom-club-squad-player-age {
        font-size: 0.8rem;
    }

    .custom-club-squad-player-country {
        font-size: 0.8rem;
    }

    .custom-club-squad-player-details {
        gap: 0.8rem;
    }
}

/* PC adjustments (≥992px) */
@media (min-width: 992px) {
    .custom-club-squad-tab {
        max-width: 1100px;
        margin: 0 auto;
        padding: 2rem 0;
        font-size: 0.95rem;
    }

    .custom-club-squad-title {
        max-width: 1100px;
        margin: 0 auto;
        font-size: 1.75rem;
    }

    .custom-club-squad-team-photo-img {
        width: 1100px;
        height: 200px;
    }

    .custom-club-squad-position-heading {
        font-size: 1.5rem;
    }

    .custom-club-squad-player-photo {
        width: 60px;
        height: 60px;
    }

    .custom-club-squad-player-shirt-number {
        width: 60px;
        height: 20px;
        font-size: 0.9rem;
    }

    .custom-club-squad-player-name {
        font-size: 1.1rem;
    }

    .custom-club-squad-player-age {
        font-size: 0.85rem;
    }

    .custom-club-squad-player-country {
        font-size: 0.85rem;
    }

    .custom-club-squad-country-flag {
        width: 40px;
        height: 40px;
    }

    .custom-club-squad-country-label {
        display: inline;
    }

    .custom-club-squad-player-details {
        gap: 1rem;
    }
}





/*Club Fixtures Tab*/
.custom-club-fixtures-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
}

.custom-club-fixtures-season-selector {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-club-fixtures-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-club-fixtures-select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.custom-club-fixtures-select:focus {
    border-color: var(--custom-club-team-color);
    outline: none;
}

.custom-club-fixtures-month {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
}

.custom-club-fixtures-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-club-fixtures-date {
    display: inline-block;
    background-color: var(--custom-club-team-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.custom-club-fixtures-round {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.custom-club-fixtures-match {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 10px;
    margin-bottom: 10px;
    gap: 10px;
}

.custom-club-fixtures-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    flex-shrink: 1;
}

.custom-club-fixtures-team-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.custom-club-fixtures-team-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-fixtures-team-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.custom-club-fixtures-score {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.custom-club-fixtures-time {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.custom-club-fixtures-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.custom-club-fixtures-competition {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-club-fixtures-competition-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-club-fixtures-competition-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-fixtures-competition-logo {
    width: 30px;
    height: 30px;
}

.custom-club-fixtures-venue {
    font-style: italic;
}

.custom-club-fixtures-ht-ft {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
}

.custom-club-fixtures-no-data {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.custom-club-fixtures-error-notice {
    background-color: #f8d7da;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@media (max-width: 768px) {
    .custom-club-fixtures-wrapper {
        padding: 10px;
    }

    .custom-club-fixtures-title {
        font-size: 22px;
        padding: 15px;
    }

    .custom-club-fixtures-month {
        font-size: 18px;
    }

    .custom-club-fixtures-card {
        padding: 8px;
    }

    .custom-club-fixtures-team-logo {
        width: 30px;
        height: 30px;
    }

    .custom-club-fixtures-match {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-club-fixtures-team {
        min-width: 90px;
        flex-shrink: 1;
        font-size: 12px;
    }

    .custom-club-fixtures-team-link span {
        font-size: 12px;
        text-align: center;
    }

    .custom-club-fixtures-score {
        font-size: 12px;
    }

    .custom-club-fixtures-time {
        margin: 0 5px;
        min-width: 40px;
        font-size: 14px;
    }

    .custom-club-fixtures-season-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .custom-club-fixtures-select {
        width: 100%;
        font-size: 14px;
    }

    .custom-club-fixtures-details {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        font-size: 12px;
    }

    .custom-club-fixtures-date,
    .custom-club-fixtures-round {
        font-size: 12px;
        padding: 4px 8px;
    }

    .custom-club-fixtures-competition-logo {
        width: 24px;
        height: 24px;
    }
}





/*Club Stats*/
.custom-club-stats-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
}


.custom-club-stats-season-selector {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-club-stats-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-club-stats-select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.custom-club-stats-select:focus {
    border-color: var(--custom-club-team-color);
    outline: none;
}

.custom-club-stats-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-club-stats-table th,
.custom-club-stats-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.custom-club-stats-table th {
    background-color: var(--custom-club-team-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.custom-club-stats-table td {
    font-size: 14px;
    color: #333;
}

.custom-club-stats-number {
    font-weight: 700;
}

.custom-club-stats-competition-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
}

.custom-club-stats-competition-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-stats-no-data {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.custom-club-stats-debug {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-size: 14px;
}

.custom-club-stats-debug h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.custom-club-stats-debug ul {
    list-style-type: disc;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .custom-club-stats-wrapper {
        padding: 10px;
    }

    .custom-club-stats-title {
        font-size: 22px;
        padding: 15px;
    }

    .custom-club-stats-season-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .custom-club-stats-select {
        width: 100%;
        font-size: 14px;
    }

    .custom-club-stats-table {
        font-size: 12px;
    }

    .custom-club-stats-table th,
    .custom-club-stats-table td {
        padding: 8px;
    }

    .custom-club-stats-table th {
        font-size: 12px;
    }

    .custom-club-stats-table td {
        font-size: 12px;
    }

    .custom-club-stats-debug {
        font-size: 12px;
    }

    .custom-club-stats-debug h3 {
        font-size: 14px;
    }
}



/*club next match*
.custom-club-next-match-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
}

.custom-club-next-match-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-club-next-match-date {
    display: inline-block;
    background-color: var(--custom-club-team-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.custom-club-next-match-round {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.custom-club-next-match-match {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 10px;
    margin-bottom: 10px;
    gap: 10px;
}

.custom-club-next-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    flex-shrink: 1;
}

.custom-club-next-match-team-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.custom-club-next-match-team-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-next-match-team-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.custom-club-next-match-time {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.custom-club-next-match-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.custom-club-next-match-competition {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-club-next-match-competition-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-club-next-match-competition-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-next-match-competition-logo {
    width: 30px;
    height: 30px;
}

.custom-club-next-match-venue {
    font-style: italic;
}

.custom-club-next-match-no-data {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.custom-club-next-match-debug {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-size: 14px;
}

.custom-club-next-match-debug h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.custom-club-next-match-debug ul {
    list-style-type: disc;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .custom-club-next-match-wrapper {
        padding: 10px;
    }

    .custom-club-next-match-title {
        font-size: 22px;
        padding: 15px;
    }

    .custom-club-next-match-card {
        padding: 8px;
    }

    .custom-club-next-match-team-logo {
        width: 30px;
        height: 30px;
    }

    .custom-club-next-match-match {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-club-next-match-team {
        min-width: 90px;
        flex-shrink: 1;
        font-size: 12px;
    }

    .custom-club-next-match-team-link span {
        font-size: 12px;
        text-align: center;
    }

    .custom-club-next-match-time {
        margin: 0 5px;
        min-width: 40px;
        font-size: 14px;
    }

    .custom-club-next-match-details {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        font-size: 12px;
    }

    .custom-club-next-match-date,
    .custom-club-next-match-round {
        font-size: 12px;
        padding: 4px 8px;
    }

    .custom-club-next-match-competition-logo {
        width: 24px;
        height: 24px;
    }

    .custom-club-next-match-debug {
        font-size: 12px;
    }

    .custom-club-next-match-debug h3 {
        font-size: 14px;
    }
}




/*club team form */
.custom-club-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
}

.custom-club-form-season-selector {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-club-form-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-club-form-select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.custom-club-form-select:focus {
    border-color: var(--custom-club-team-color);
    outline: none;
}

.custom-club-form-summary {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.custom-club-form-result {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
}

.custom-club-form-result-w {
    background-color: #28a745;
}

.custom-club-form-result-d {
    background-color: #ffc107;
}

.custom-club-form-result-l {
    background-color: #dc3545;
}

.custom-club-form-matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-club-form-match {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-club-form-match-date {
    display: inline-block;
    background-color: var(--custom-club-team-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.custom-club-form-match-details {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 8px;
    gap: 10px;
}

.custom-club-form-team {
    min-width: 120px;
    text-align: center;
    flex-shrink: 1;
}

.custom-club-form-team-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
}

.custom-club-form-team-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-form-score {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.custom-club-form-match-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.custom-club-form-competition-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
}

.custom-club-form-competition-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-form-venue {
    font-style: italic;
}

.custom-club-form-no-data {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.custom-club-form-debug {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-size: 14px;
}

.custom-club-form-debug h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.custom-club-form-debug ul {
    list-style-type: disc;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .custom-club-form-wrapper {
        padding: 10px;
    }

    .custom-club-form-title {
        font-size: 22px;
        padding: 15px;
    }

    .custom-club-form-season-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .custom-club-form-select {
        width: 100%;
        font-size: 14px;
    }

    .custom-club-form-summary {
        font-size: 14px;
        gap: 8px;
    }

    .custom-club-form-result {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }

    .custom-club-form-match {
        padding: 8px;
    }

    .custom-club-form-match-date {
        font-size: 12px;
        padding: 4px 8px;
    }

    .custom-club-form-match-details {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-club-form-team {
        min-width: 90px;
        font-size: 12px;
    }

    .custom-club-form-team-link {
        font-size: 12px;
    }

    .custom-club-form-score {
        font-size: 14px;
        min-width: 40px;
    }

    .custom-club-form-match-meta {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
    }

    .custom-club-form-debug {
        font-size: 12px;
    }

    .custom-club-form-debug h3 {
        font-size: 14px;
    }
}


/* club top scorers */
.custom-club-top-scorers-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
}

.custom-club-top-scorers-season-selector {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-club-top-scorers-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-club-top-scorers-select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.custom-club-top-scorers-select:focus {
    border-color: var(--custom-club-team-color);
    outline: none;
}

.custom-club-top-scorers-table {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-club-top-scorers-table table {
    width: 100%;
    border-collapse: collapse;
}

.custom-club-top-scorers-table th,
.custom-club-top-scorers-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.custom-club-top-scorers-table th {
    background-color: var(--custom-club-team-color);
    color: #fff;
    font-weight: 600;
}

.custom-club-top-scorers-table td {
    color: #333;
}

.custom-club-top-scorers-player-link {
    text-decoration: none;
    color: var(--custom-club-team-color);
}

.custom-club-top-scorers-player-link:hover {
    color: var(--custom-club-hover-color);
    text-decoration: underline;
}

.custom-club-top-scorers-no-data {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.custom-club-top-scorers-debug {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-size: 14px;
}

.custom-club-top-scorers-debug h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.custom-club-top-scorers-debug ul {
    list-style-type: disc;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .custom-club-top-scorers-wrapper {
        padding: 10px;
    }

    .custom-club-top-scorers-title {
        font-size: 22px;
        padding: 15px;
    }

    .custom-club-top-scorers-season-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .custom-club-top-scorers-select {
        width: 100%;
        font-size: 14px;
    }

    .custom-club-top-scorers-table th,
    .custom-club-top-scorers-table td {
        padding: 8px;
        font-size: 14px;
    }

    .custom-club-top-scorers-player-link {
        font-size: 14px;
    }

    .custom-club-top-scorers-no-data {
        font-size: 16px;
        padding: 15px;
    }

    .custom-club-top-scorers-debug {
        font-size: 12px;
    }

    .custom-club-top-scorers-debug h3 {
        font-size: 14px;
    }
}




.hm-match-status-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #0073aa;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
}
.hm-match-status-label[aria-label="Live"] {
    background-color: #28a745;
}
.hm-match-status-label[aria-label="Completed"] {
    background-color: #6c757d;
}
.hm-match-status-label[aria-label="Council"] {
    background-color: #dc3545;
}
.hm-match-status-label[aria-label="Scheduled"] {
    background-color: #17a2b8;
}
























/* player net worth tab Mobile-first styles */
.player-net-worth-tab {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.player-net-worth-image {
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.player-net-worth-image-container {
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.player-net-worth-jersey-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50%;
    background-color: #003087;
    color: white;
    opacity: 0.8;
}

.player-net-worth-table-responsive {
    overflow-x: auto;
}

.player-net-worth-table {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.player-net-worth-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.player-net-worth-table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.player-net-worth-table th,
.player-net-worth-table td {
    padding: 0.8rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.player-net-worth-table th:last-child,
.player-net-worth-table td:last-child {
    border-right: none;
}

.player-net-worth-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 35%;
    color: #3248AB;
}

.player-net-worth-table td a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
}

.player-net-worth-table td a:hover {
    color: #2A7B9B;
}

.player-net-worth-table td img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.player-net-worth-social-icons {
    font-size: 1.5rem;
}

.player-net-worth-social-icons a {
    color: #333;
    transition: color 0.2s;
}

.player-net-worth-social-icons a:hover {
    color: #007bff;
}

.net-worth-content {
    font-size: 1rem;
    line-height: 1.6;
}

.net-worth-content img {
    max-width: 100%;
    height: auto;
}

/* Small mobile (≤575.98px) */
@media (max-width: 575.98px) {
    .player-net-worth-tab {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }
    .player-net-worth-image {
        max-width: 300px;
    }
    .player-net-worth-jersey-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .player-net-worth-table {
        font-size: 0.9rem;
    }
    .player-net-worth-table th,
    .player-net-worth-table td {
        padding: 0.6rem;
    }
    .player-net-worth-table th {
        width: 40%;
    }
    .player-net-worth-table td img {
        width: 30px;
        height: 30px;
    }
    .player-net-worth-social-icons {
        font-size: 1.3rem;
    }
    .net-worth-content {
        font-size: 0.9rem;
    }
}

/* PC adjustments (≥992px) */
@media (min-width: 992px) {
    .player-net-worth-tab {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
        font-size: 0.95rem;
    }
    .player-net-worth-image {
        width: 350px;
        max-height: 450px;
    }
    .player-net-worth-image-container {
        margin-bottom: 0;
        justify-content: flex-end;
    }
    .player-net-worth-jersey-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    .player-net-worth-table {
        font-size: 0.95rem;
        max-width: 550px;
    }
    .player-net-worth-table th {
        width: 25%;
        padding: 0.6rem;
    }
    .player-net-worth-table td {
        padding: 0.6rem;
    }
    .player-net-worth-table td img {
        width: 40px;
        height: 40px;
    }
    .player-net-worth-social-icons {
        font-size: 1.6rem;
    }
    .net-worth-content {
        font-size: 0.95rem;
    }
}














/* Complete Advertisement System Styles */
.ad-wrapper {
    margin: 20px auto;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ad-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.ad-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
    display: block;
    margin: 0 auto;
    border: 1px solid #dee2e6;
}

.ad-link:hover .ad-image {
    transform: scale(1.02);
}

.ad-code-container {
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 11px;
    color: #6c757d;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Position specific styles */
.ad-position-error_404 {
    margin: 40px auto;
    max-width: 600px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.ad-position-error_404 .ad-label {
    color: #856404;
    background: rgba(255, 193, 7, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
}

.ad-position-after_header {
    margin: 20px 0 30px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    padding: 0;
    max-width: none;
}

.ad-position-after_header .ad-image {
    max-width: 728px;
    margin: 0 auto;
}

.ad-position-in_post {
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #0073aa;
    padding: 20px;
}

.ad-position-in_post .ad-label {
    color: #0073aa;
}

.ad-position-after_content {
    margin: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #0073aa;
    border-radius: 0 0 8px 8px;
    padding: 20px;
}

.ad-position-between_posts {
    margin: 30px auto;
    max-width: 728px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.ad-position-between_comments {
    margin: 20px 0;
    background: #f8f9fa;
    border-left: 3px solid #28a745;
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
}

.ad-position-between_comments .ad-label {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.ad-position-footer_sticky {
    margin: 0;
    border-radius: 0;
    background: #fff;
    border-top: 2px solid #dee2e6;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.ad-position-footer_sticky .ad-image {
    max-width: 300px;
}

.ad-position-sidebar {
    margin: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    padding: 15px;
}

.ad-position-sidebar .ad-image {
    max-width: 250px;
}

/* Special containers */
.error-404-ad-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.after-content-ad {
    max-width: 728px;
    margin: 30px auto;
    padding: 0 20px;
}

.sidebar-ad-widget {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.footer-ad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Comment ad styling */
.comment.ad-comment {
    background: #f8f9fa !important;
    border-left: 3px solid #28a745 !important;
    margin-left: 20px !important;
    padding: 15px !important;
    border-radius: 0 6px 6px 0 !important;
}

.comment.ad-comment .comment-author {
    color: #28a745;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ad-position-after_header .ad-image {
        max-width: 100%;
    }
    
    .ad-position-between_posts {
        max-width: 100%;
        margin: 20px 10px;
    }
}

@media (max-width: 768px) {
    .ad-wrapper {
        margin: 15px 10px;
        padding: 12px;
    }
    
    .ad-position-after_header {
        margin: 15px 10px;
    }
    
    .ad-position-in_post {
        margin: 20px 10px;
        padding: 15px;
    }
    
    .ad-position-after_content {
        margin: 20px 10px;
    }
    
    .ad-position-between_posts {
        margin: 20px 10px;
        padding: 15px;
    }
    
    .ad-position-footer_sticky {
        padding: 8px 15px;
    }
    
    .ad-position-footer_sticky .ad-image {
        max-width: 250px;
    }
    
    .ad-position-sidebar {
        margin: 15px 5px;
        padding: 12px;
    }
    
    .ad-position-sidebar .ad-image {
        max-width: 200px;
    }
    
    .error-404-ad-container,
    .after-content-ad,
    .footer-ad-container {
        padding: 0 10px;
    }
    
    .ad-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ad-wrapper {
        margin: 10px 5px;
        padding: 10px;
    }
    
    .ad-position-footer_sticky .ad-image {
        max-width: 200px;
    }
    
    .ad-position-sidebar .ad-image {
        max-width: 150px;
    }
    
    .ad-code-container {
        min-height: 40px;
    }
}

/* Print styles */
@media print {
    .ad-wrapper,
    .ad-position-footer_sticky,
    .sidebar-ad-widget {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .ad-wrapper {
        border: 2px solid #000;
        background: #fff;
    }
    
    .ad-label {
        color: #000;
        font-weight: bold;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ad-wrapper {
        transition: none;
    }
    
    .ad-link:hover .ad-image {
        transform: none;
    }
}






    /* General Reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Arial', sans-serif;
    }

    /* Card Container */
    .template-player-home-birthday-card {
        background: linear-gradient(135deg, #1E3A8A, #1A202C);
        width: 100vw; /* Full-screen width */
        min-height: 300px; /* Adjusted for larger images */
        padding: 20px;
        margin: 0;
        color: #fff;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Gold Badge */
    .template-player-home-birthday-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        background: #FFD700;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: bold;
        color: #1A202C;
        border: 2px solid #FFFFFF;
        z-index: 10;
    }

    .template-player-home-birthday-badge::after {
        content: '🎂';
        position: absolute;
        top: -8px;
        right: -8px;
        font-size: 12px;
        background: #FFFFFF;
        border-radius: 50%;
        padding: 3px;
        line-height: 1;
    }

    /* Title */
    .template-player-home-birthday-title {
        font-size: 24px;
        font-weight: bold;
        text-transform: uppercase;
        margin: 20px 0;
        letter-spacing: 1px;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Player Avatars */
    .template-player-home-birthday-avatars {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 15px 10px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        cursor: none; /* Hide cursor */
        flex: 1;
    }

    .template-player-home-birthday-avatars::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .template-player-home-birthday-avatar {
        text-align: center;
        min-width: 140px; /* Increased for larger images */
        margin: 0 10px;
        display: inline-block;
        white-space: normal;
    }

    .template-player-home-birthday-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .template-player-home-birthday-img {
        width: 120px; /* Increased from 100px */
        height: 120px;
        border-radius: 50%;
        border: 3px solid #FFD700;
        object-fit: cover;
        margin-bottom: 8px;
        transition: transform 0.2s;
    }

    .template-player-home-birthday-link:hover .template-player-home-birthday-img {
        transform: scale(1.05);
    }

    .template-player-home-birthday-name {
        font-size: 12px;
        font-weight: 800; /* Bolder */
        text-transform: uppercase;
        margin-bottom: 4px;
        width: 120px; /* Matches image width */
        word-wrap: break-word; /* Breaks long names to two lines */
        line-height: 1.2;
    }

    .template-player-home-birthday-age {
        font-size: 10px;
        font-weight: 600; /* Slightly bolder */
        opacity: 0.8;
        width: 120px; /* Matches image width */
    }

    /* View All Button */
    .template-player-home-birthday-view-all {
        display: inline-block;
        padding: 10px 20px;
        background: linear-gradient(135deg, #FFD700, #F6AD55);
        color: #1A202C;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 20px;
        text-decoration: none;
        transition: transform 0.2s, box-shadow 0.2s;
        position: sticky;
        bottom: 0;
        z-index: 10;
    }

    .template-player-home-birthday-view-all:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    /* Empty State */
    .template-player-home-birthday-empty {
        font-size: 14px;
        opacity: 0.8;
        margin: 20px 0;
    }

    /* Responsive Design */
    @media (max-width: 600px) {
        .template-player-home-birthday-card {
            padding: 15px;
            min-height: 260px;
        }

        .template-player-home-birthday-title {
            font-size: 20px;
        }

        .template-player-home-birthday-avatars {
            padding: 10px 5px;
        }

        .template-player-home-birthday-avatar {
            min-width: 110px;
            margin: 0 8px;
        }

        .template-player-home-birthday-img {
            width: 100px; /* Increased from 80px */
            height: 100px;
        }

        .template-player-home-birthday-name {
            font-size: 10px;
            font-weight: 800;
            width: 100px; /* Matches mobile image width */
            word-wrap: break-word; /* Breaks long names to two lines */
            line-height: 1.2;
        }

        .template-player-home-birthday-age {
            font-size: 9px;
            font-weight: 600; /* Slightly bolder */
            width: 100px; /* Matches mobile image width */
        }

        .template-player-home-birthday-view-all {
            padding: 8px 16px;
            font-size: 12px;
        }

        .template-player-home-birthday-badge {
            width: 36px;
            height: 36px;
            font-size: 16px;
            top: 8px;
            left: 8px;
        }

        .template-player-home-birthday-badge::after {
            font-size: 10px;
            top: -6px;
            right: -6px;
            padding: 2px;
        }
    }
    .template-player-home-birthday-avatars {
    scroll-behavior: smooth;
}
