:root {
    --ag-navy: #071a38;
    --ag-navy-2: #0d2852;
    --ag-red: #d71920;
    --ag-red-dark: #b71017;
    --ag-gold: #d2a33a;
    --ag-gold-light: #f1cf75;
    --ag-white: #ffffff;
    --ag-light: #f4f6f9;
    --ag-line: #e2e6ec;
    --ag-text: #172033;
    --ag-muted: #687387;
    --ag-shadow: 0 12px 35px rgba(7, 26, 56, 0.08);
}

body {
    overflow-x: hidden;
    background: #fff;
}

.ag-container {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

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

/* Header */

.ag-site-header {
    position: relative;
    z-index: 50;
    background: #fff;
}

.ag-topbar {
    background: var(--ag-navy);
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
}

.ag-topbar__inner,
.ag-topbar__right,
.ag-topbar__links,
.ag-language,
.ag-social-mini {
    display: flex;
    align-items: center;
}

.ag-topbar__inner {
    min-height: 28px;
    justify-content: space-between;
}

.ag-topbar__links,
.ag-language {
    gap: 7px;
}

.ag-topbar a:hover {
    color: var(--ag-gold-light);
}

.ag-topbar__right {
    gap: 22px;
}

.ag-social-mini {
    gap: 8px;
}

.ag-social-mini a {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    font-weight: 700;
}

.ag-language .is-active {
    color: #fff;
    font-weight: 800;
}

.ag-navbar {
    border-bottom: 1px solid var(--ag-line);
    background: #fff;
}

.ag-navbar__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
}

.ag-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.ag-brand__logo .custom-logo-link {
    display: block;
}

.ag-brand__logo img {
    width: auto;
    max-height: 58px;
}

.ag-brand__mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 2px solid var(--ag-gold);
    border-radius: 50% 50% 45% 45%;
    background: linear-gradient(145deg, var(--ag-red), #8d0710);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 900;
}

.ag-brand__text {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.ag-brand__text small {
    color: var(--ag-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.ag-brand__text strong {
    color: var(--ag-navy);
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1;
    letter-spacing: .4px;
}

.ag-brand__text em {
    margin-top: 4px;
    color: var(--ag-gold);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 1px;
}

.ag-primary-nav {
    margin-left: auto;
}

.ag-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-menu > li {
    position: relative;
}

.ag-menu > li > a {
    display: flex;
    min-height: 82px;
    align-items: center;
    padding: 0 16px;
    color: var(--ag-navy);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.ag-menu > li > a::after {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 3px;
    background: var(--ag-red);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition: .2s ease;
}

.ag-menu > li:hover > a,
.ag-menu > .current-menu-item > a {
    color: var(--ag-red);
}

.ag-menu > li:hover > a::after,
.ag-menu > .current-menu-item > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.ag-search-button {
    position: relative;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ag-search-button span {
    position: absolute;
    top: 12px;
    left: 11px;
    width: 15px;
    height: 15px;
    border: 2px solid var(--ag-navy);
    border-radius: 50%;
}

.ag-search-button span::after {
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    background: var(--ag-navy);
    content: "";
    transform: rotate(45deg);
}

.ag-menu-toggle {
    display: none;
}

/* Hero */

.ag-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 76% 18%, rgba(215,25,32,.45), transparent 30%),
        linear-gradient(112deg, #05152e 0%, #0a2349 50%, #4e0b14 100%);
}

.ag-hero__glow {
    position: absolute;
    width: 550px;
    height: 550px;
    right: 4%;
    top: -160px;
    border-radius: 50%;
    background: rgba(215, 25, 32, .16);
    filter: blur(20px);
}

.ag-hero__pattern {
    position: absolute;
    inset: 0 0 0 auto;
    width: 38%;
    opacity: .2;
    background-image:
        linear-gradient(30deg, transparent 45%, var(--ag-gold) 46%, transparent 48%),
        linear-gradient(-30deg, transparent 45%, var(--ag-gold) 46%, transparent 48%);
    background-size: 38px 38px;
    mask-image: linear-gradient(to left, #000, transparent);
}

.ag-hero__inner {
    position: relative;
    display: grid;
    min-height: 500px;
    grid-template-columns: .9fr 1.25fr;
    align-items: center;
    gap: 24px;
}

.ag-hero__copy {
    position: relative;
    z-index: 3;
    padding: 48px 0;
}

.ag-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 13px;
    padding: 6px 12px;
    border: 1px solid rgba(210,163,58,.45);
    border-radius: 999px;
    color: var(--ag-gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.ag-hero h1 {
    max-width: 590px;
    margin: 0;
    color: var(--ag-gold-light);
    font-size: clamp(42px, 4.3vw, 68px);
    line-height: .94;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.ag-hero h1 span {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: .64em;
    line-height: 1.04;
    letter-spacing: -.7px;
}

.ag-hero__copy > p {
    max-width: 560px;
    margin: 20px 0 18px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.65;
}

.ag-countdown-title {
    margin-bottom: 8px;
    color: rgba(255,255,255,.6);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ag-countdown {
    display: grid;
    width: min(100%, 380px);
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(210,163,58,.5);
    border-radius: 7px;
    background: rgba(3,14,31,.48);
    backdrop-filter: blur(8px);
}

.ag-countdown > div {
    padding: 10px 7px;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
}

.ag-countdown > div:last-child {
    border: 0;
}

.ag-countdown strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.ag-countdown span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.6);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.ag-hero__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.ag-button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2px;
    text-transform: uppercase;
    transition: .2s ease;
}

.ag-button:hover {
    transform: translateY(-2px);
}

.ag-button--red {
    background: var(--ag-red);
    color: #fff;
}

.ag-button--red:hover {
    background: var(--ag-red-dark);
    color: #fff;
}

.ag-button--gold {
    border: 1px solid var(--ag-gold);
    color: var(--ag-gold-light);
}

.ag-button--gold:hover {
    background: var(--ag-gold);
    color: var(--ag-navy);
}

.ag-hero__visual {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.ag-hero__flag {
    position: absolute;
    width: 550px;
    height: 340px;
    right: -30px;
    top: 50%;
    border-radius: 48% 15% 35% 20%;
    opacity: .6;
    background:
        linear-gradient(to bottom, #e31622 0 50%, #fff 50% 100%);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.3));
    transform: translateY(-53%) rotate(-8deg);
}

.ag-athlete {
    position: absolute;
    display: flex;
    align-items: end;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 90px 90px 18px 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(6,20,43,.9)),
        linear-gradient(135deg, #f6f6f6, #d71920);
    box-shadow: 0 24px 35px rgba(0,0,0,.36);
}

.ag-athlete span {
    margin-bottom: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(7,26,56,.78);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.ag-athlete--one {
    width: 150px;
    height: 300px;
    left: 20px;
    bottom: -28px;
    transform: rotate(-7deg);
}

.ag-athlete--two {
    z-index: 2;
    width: 190px;
    height: 390px;
    left: 175px;
    bottom: -35px;
}

.ag-athlete--three {
    width: 150px;
    height: 310px;
    right: 95px;
    bottom: -25px;
    transform: rotate(7deg);
}

.ag-athlete--four {
    width: 120px;
    height: 255px;
    right: -35px;
    bottom: -10px;
    transform: rotate(11deg);
}

.ag-hero__visual-note {
    position: absolute;
    z-index: 4;
    right: 25px;
    bottom: 17px;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(7,26,56,.78);
    color: rgba(255,255,255,.68);
    font-size: 8px;
}

/* Dashboard */

.ag-dashboard {
    position: relative;
    z-index: 5;
    background: #fff;
    box-shadow: 0 -12px 25px rgba(0,0,0,.08);
}

.ag-dashboard__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.12fr;
}

.ag-panel {
    min-width: 0;
    padding: 17px;
    border-right: 1px solid var(--ag-line);
    border-bottom: 1px solid var(--ag-line);
    background: #fff;
}

.ag-panel:first-child {
    border-left: 1px solid var(--ag-line);
}

.ag-panel__heading,
.ag-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

.ag-panel__heading h2,
.ag-card-heading h3 {
    margin: 0;
    color: var(--ag-navy);
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ag-panel__heading a,
.ag-card-heading a {
    color: var(--ag-muted);
    font-size: 8px;
    white-space: nowrap;
}

.ag-featured-news {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 11px;
}

.ag-featured-news__image {
    display: grid;
    height: 64px;
    overflow: hidden;
    place-items: center;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--ag-red), var(--ag-navy));
    color: #fff;
    font-size: 8px;
    font-weight: 800;
}

.ag-featured-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-featured-news h3 {
    margin: 0 0 6px;
    color: var(--ag-text);
    font-size: 11px;
    line-height: 1.35;
}

.ag-featured-news time,
.ag-media-module small {
    color: var(--ag-muted);
    font-size: 8px;
}

.ag-news-list {
    margin: 12px 0 0;
    padding: 9px 0 0 14px;
    border-top: 1px solid var(--ag-line);
    color: var(--ag-text);
    font-size: 9px;
    line-height: 1.55;
}

.ag-news-list li::marker {
    color: var(--ag-red);
}

.ag-table-wrap {
    overflow-x: auto;
}

.ag-medal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8px;
}

.ag-medal-table th,
.ag-medal-table td {
    padding: 5px 3px;
    border-bottom: 1px solid var(--ag-line);
    text-align: center;
    white-space: nowrap;
}

.ag-medal-table th:nth-child(2),
.ag-medal-table td:nth-child(2) {
    text-align: left;
}

.ag-medal-table .is-indonesia {
    color: var(--ag-red);
    font-weight: 900;
}

.ag-flag {
    display: inline-block;
    width: 12px;
    height: 8px;
    margin-right: 5px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.ag-flag--id {
    background: linear-gradient(to bottom, #d71920 0 50%, #fff 50%);
}

.ag-flag--jp {
    background: radial-gradient(circle, #d71920 0 33%, transparent 35%), #fff;
}

.ag-flag--cn {
    background: #e31925;
}

.ag-flag--kr {
    background: #fff;
}

.ag-flag--uz {
    background: linear-gradient(to bottom, #1aa7d9 0 33%, #fff 33% 66%, #42a447 66%);
}

.ag-panel__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
    color: var(--ag-muted);
    font-size: 7px;
}

.ag-live-label {
    padding: 3px 7px;
    border-radius: 30px;
    background: var(--ag-red);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.ag-schedule-list {
    display: flex;
    flex-direction: column;
}

.ag-schedule-item {
    display: grid;
    grid-template-columns: 38px 25px 1fr;
    align-items: center;
    gap: 5px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ag-line);
}

.ag-schedule-item time {
    color: var(--ag-navy);
    font-size: 9px;
    font-weight: 900;
}

.ag-sport-icon {
    font-size: 16px;
}

.ag-schedule-item strong,
.ag-schedule-item small {
    display: block;
}

.ag-schedule-item strong {
    color: var(--ag-text);
    font-size: 9px;
}

.ag-schedule-item small {
    margin-top: 2px;
    color: var(--ag-muted);
    font-size: 7px;
}

.ag-highlight-card {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    background: var(--ag-navy);
    color: #fff;
}

.ag-highlight-card__image {
    position: relative;
    display: grid;
    height: 115px;
    place-items: center;
    background:
        radial-gradient(circle at 25% 30%, #d71920, transparent 35%),
        linear-gradient(135deg, #071a38, #26070c);
}

.ag-highlight-card__athlete {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ag-play {
    position: absolute;
    display: grid;
    width: 42px;
    height: 42px;
    right: 18px;
    top: 50%;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.ag-highlight-card__caption {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.ag-highlight-card__caption strong {
    font-size: 9px;
}

.ag-highlight-card__caption small {
    margin-top: 3px;
    color: rgba(255,255,255,.6);
    font-size: 7px;
}

.ag-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.ag-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ccd1d9;
}

.ag-dots .is-active {
    background: var(--ag-red);
}

/* General sections */

.ag-section {
    padding: 52px 0;
}

.ag-section:nth-of-type(even) {
    background: var(--ag-light);
}

.ag-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.ag-section-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--ag-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ag-section-heading h2 {
    margin: 0;
    color: var(--ag-navy);
    font-size: clamp(25px, 3vw, 39px);
    line-height: 1.08;
}

.ag-section-heading > a {
    color: var(--ag-navy);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

/* Profile */

.ag-profile-grid {
    display: grid;
    grid-template-columns: .9fr 1fr 1.45fr;
    gap: 17px;
}

.ag-cdm-card,
.ag-sports-card,
.ag-athletes-card,
.ag-result-calendar,
.ag-indonesia-medals,
.ag-ranking-card,
.ag-media-module {
    border: 1px solid var(--ag-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--ag-shadow);
}

.ag-cdm-card {
    display: grid;
    grid-template-columns: 115px 1fr;
    overflow: hidden;
}

.ag-cdm-card__photo {
    display: grid;
    min-height: 235px;
    place-items: end center;
    padding: 14px;
    background: linear-gradient(180deg, #f4f4f4, #cdd5df);
    color: var(--ag-muted);
    font-size: 8px;
}

.ag-cdm-card__copy {
    padding: 22px 18px;
}

.ag-cdm-card__copy > span {
    color: var(--ag-red);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.ag-cdm-card h3 {
    margin: 8px 0;
    color: var(--ag-navy);
    font-size: 18px;
    line-height: 1.12;
}

.ag-cdm-card p {
    margin: 0 0 15px;
    color: var(--ag-muted);
    font-size: 10px;
    line-height: 1.6;
}

.ag-sports-card,
.ag-athletes-card,
.ag-result-calendar,
.ag-indonesia-medals,
.ag-ranking-card,
.ag-media-module {
    padding: 17px;
}

.ag-sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ag-sports-grid a {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--ag-line);
    border-radius: 6px;
    transition: .2s ease;
}

.ag-sports-grid a:hover {
    border-color: var(--ag-red);
    transform: translateY(-2px);
}

.ag-sports-grid span {
    font-size: 21px;
}

.ag-sports-grid strong {
    color: var(--ag-text);
    font-size: 8px;
}

.ag-filter-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.ag-filter-tabs button {
    padding: 5px 12px;
    border: 1px solid var(--ag-line);
    border-radius: 30px;
    background: #fff;
    color: var(--ag-muted);
    font-size: 8px;
    font-weight: 800;
}

.ag-filter-tabs .is-active {
    border-color: var(--ag-red);
    background: var(--ag-red);
    color: #fff;
}

.ag-athlete-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.ag-athlete-grid a {
    min-width: 0;
}

.ag-person-photo {
    display: grid;
    height: 100px;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--ag-navy), var(--ag-red));
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.ag-athlete-grid strong,
.ag-athlete-grid small {
    display: block;
}

.ag-athlete-grid strong {
    margin-top: 7px;
    overflow: hidden;
    color: var(--ag-text);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ag-athlete-grid small {
    margin-top: 2px;
    color: var(--ag-muted);
    font-size: 7px;
}

/* Results */

.ag-results-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr .95fr;
    gap: 17px;
}

.ag-date-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.ag-date-tabs button {
    padding: 7px 4px;
    border: 1px solid var(--ag-line);
    border-radius: 5px;
    background: #fff;
    color: var(--ag-navy);
}

.ag-date-tabs button strong,
.ag-date-tabs button span {
    display: block;
}

.ag-date-tabs button strong {
    font-size: 13px;
}

.ag-date-tabs button span {
    margin-top: 2px;
    font-size: 7px;
    text-transform: uppercase;
}

.ag-date-tabs .is-active {
    border-color: var(--ag-red);
    background: var(--ag-red);
    color: #fff;
}

.ag-result-calendar > h3 {
    color: var(--ag-navy);
    font-size: 11px;
    text-transform: uppercase;
}

.ag-result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ag-result-cards > div {
    padding: 12px;
    border: 1px solid var(--ag-line);
    border-radius: 6px;
}

.ag-result-cards span,
.ag-result-cards strong,
.ag-result-cards small {
    display: block;
}

.ag-result-cards span {
    color: var(--ag-muted);
    font-size: 7px;
}

.ag-result-cards strong {
    margin: 5px 0 12px;
    color: var(--ag-text);
    font-size: 9px;
}

.ag-result-cards small {
    font-size: 7px;
}

.is-win {
    color: #189447;
}

.is-gold {
    color: #b8860b;
}

.is-silver {
    color: #7a8798;
}

.ag-medal-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
}

.ag-medal-summary > div {
    padding: 12px 3px;
    border-right: 1px solid var(--ag-line);
}

.ag-medal-summary > div:last-child {
    border: 0;
}

.ag-medal {
    display: grid;
    width: 41px;
    height: 41px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.ag-medal--gold {
    background: linear-gradient(145deg, #f1cf75, #b57909);
}

.ag-medal--silver {
    background: linear-gradient(145deg, #f2f2f2, #9fa7b0);
}

.ag-medal--bronze {
    background: linear-gradient(145deg, #e0a06c, #91471d);
}

.ag-medal-summary strong,
.ag-medal-summary small {
    display: block;
}

.ag-medal-summary strong {
    color: var(--ag-navy);
    font-size: 23px;
}

.ag-medal-summary small {
    margin-top: 3px;
    color: var(--ag-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.ag-total-medals {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    background: var(--ag-light);
    color: var(--ag-muted);
    text-align: center;
    font-size: 9px;
}

.ag-total-medals strong {
    color: var(--ag-navy);
    font-size: 18px;
}

.ag-mini-ranking {
    width: 100%;
    border-collapse: collapse;
    font-size: 9px;
}

.ag-mini-ranking td {
    padding: 7px 4px;
    border-bottom: 1px solid var(--ag-line);
}

.ag-mini-ranking td:last-child {
    text-align: right;
    font-weight: 900;
}

.ag-mini-ranking .is-indonesia {
    background: #fff1f2;
    color: var(--ag-red);
    font-weight: 900;
}

/* Media */

.ag-media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.ag-media-placeholder,
.ag-video-placeholder {
    display: grid;
    height: 125px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--ag-navy), var(--ag-red));
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.ag-media-placeholder--document {
    background: linear-gradient(145deg, #fff, #e5e8ee);
    color: var(--ag-red);
}

.ag-media-module > strong {
    display: block;
    color: var(--ag-text);
    font-size: 10px;
    line-height: 1.35;
}

.ag-gallery-grid {
    display: grid;
    height: 160px;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.ag-gallery-grid span {
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: linear-gradient(145deg, var(--ag-red), var(--ag-navy));
    color: #fff;
    font-size: 8px;
}

.ag-video-placeholder {
    height: 160px;
}

.ag-video-placeholder span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 18px;
}

/* Fan Zone */

.ag-fan-zone {
    background: #fff !important;
}

.ag-fan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.ag-fan-card {
    position: relative;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--ag-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--ag-shadow);
    text-align: center;
    transition: .2s ease;
}

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

.ag-fan-card--shop {
    background:
        linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
        linear-gradient(145deg, var(--ag-red), var(--ag-navy));
}

.ag-fan-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--ag-light);
    color: var(--ag-navy);
    font-size: 31px;
    font-weight: 900;
}

.ag-fan-icon--facebook {
    background: #1877f2;
    color: #fff;
}

.ag-fan-icon--x {
    background: #050505;
    color: #fff;
}

.ag-fan-icon--instagram {
    background: linear-gradient(135deg, #6441d9, #d82978, #f4a529);
    color: #fff;
}

.ag-fan-card small,
.ag-fan-card strong {
    display: block;
}

.ag-fan-card small {
    color: var(--ag-muted);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.ag-fan-card strong {
    margin-top: 4px;
    color: var(--ag-navy);
    font-size: 12px;
}

.ag-fan-card em {
    margin-top: 13px;
    padding: 6px 13px;
    border-radius: 30px;
    background: var(--ag-red);
    color: #fff;
    font-size: 7px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

/* About */

.ag-about-games {
    background: var(--ag-light) !important;
}

.ag-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.ag-about-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px;
    border: 1px solid var(--ag-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--ag-shadow);
}

.ag-about-icon {
    display: grid;
    width: 80px;
    height: 70px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    background: linear-gradient(145deg, var(--ag-navy), var(--ag-red));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.ag-about-card small,
.ag-about-card strong {
    display: block;
}

.ag-about-card small {
    color: var(--ag-red);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.ag-about-card strong {
    margin-top: 5px;
    color: var(--ag-navy);
    font-size: 12px;
}

.ag-about-card p {
    margin: 5px 0 0;
    color: var(--ag-muted);
    font-size: 9px;
    line-height: 1.45;
}

/* Footer */

.ag-footer {
    color: #fff;
    background: var(--ag-navy);
}

.ag-footer__main {
    padding: 44px 0 38px;
}

.ag-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr 1fr;
    gap: 40px;
}

.ag-brand--footer .ag-brand__text small,
.ag-brand--footer .ag-brand__text strong {
    color: #fff;
}

.ag-footer p,
.ag-footer li,
.ag-footer a {
    color: rgba(255,255,255,.64);
    font-size: 9px;
    line-height: 1.7;
}

.ag-footer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}

.ag-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.ag-footer-social a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}

.ag-footer__bottom {
    padding: 14px 0;
    background: var(--ag-red);
}

.ag-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255,255,255,.85);
    font-size: 8px;
}

/* Responsive */

@media (max-width: 1120px) {
    .ag-menu > li > a {
        padding-inline: 9px;
        font-size: 8px;
    }

    .ag-dashboard__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-panel:nth-child(2) {
        border-right: 1px solid var(--ag-line);
    }

    .ag-profile-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ag-athletes-card {
        grid-column: 1 / -1;
    }

    .ag-results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ag-result-calendar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .ag-container {
        width: min(100% - 30px, 760px);
    }

    .ag-topbar__links {
        display: none;
    }

    .ag-topbar__inner {
        justify-content: flex-end;
    }

    .ag-navbar__inner {
        min-height: 70px;
    }

    .ag-brand__mark {
        width: 43px;
        height: 43px;
    }

    .ag-brand__text strong {
        font-size: 17px;
    }

    .ag-menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        margin-left: auto;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
    }

    .ag-menu-toggle > span:not(.screen-reader-text) {
        width: 23px;
        height: 2px;
        background: var(--ag-navy);
    }

    .ag-primary-nav {
        position: absolute;
        top: 98px;
        right: 0;
        left: 0;
        display: none;
        padding: 13px 15px 20px;
        border-top: 1px solid var(--ag-line);
        background: #fff;
        box-shadow: var(--ag-shadow);
    }

    .ag-primary-nav.is-open {
        display: block;
    }

    .ag-menu {
        flex-direction: column;
    }

    .ag-menu > li > a {
        min-height: 46px;
        padding: 0 8px;
        border-bottom: 1px solid var(--ag-line);
        font-size: 10px;
    }

    .ag-search-button {
        margin-left: 0;
    }

    .ag-hero__inner {
        grid-template-columns: 1fr;
    }

    .ag-hero__copy {
        padding: 58px 0 12px;
    }

    .ag-hero__visual {
        min-height: 330px;
    }

    .ag-hero__flag {
        width: 450px;
        height: 260px;
        right: 0;
    }

    .ag-athlete--one {
        left: 8%;
    }

    .ag-athlete--two {
        left: 32%;
    }

    .ag-athlete--three {
        right: 12%;
    }

    .ag-athlete--four {
        right: -2%;
    }

    .ag-profile-grid,
    .ag-media-grid,
    .ag-fan-grid,
    .ag-about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-athletes-card {
        grid-column: auto;
    }

    .ag-athlete-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ag-container {
        width: min(100% - 24px, 520px);
    }

    .ag-topbar__right {
        width: 100%;
        justify-content: space-between;
    }

    .ag-brand__text small {
        font-size: 8px;
    }

    .ag-brand__text strong {
        font-size: 15px;
    }

    .ag-brand__text em {
        font-size: 7px;
    }

    .ag-search-button {
        display: none;
    }

    .ag-hero {
        min-height: auto;
    }

    .ag-hero__inner {
        min-height: auto;
    }

    .ag-hero h1 {
        font-size: 40px;
    }

    .ag-countdown {
        width: 100%;
    }

    .ag-hero__visual {
        min-height: 285px;
    }

    .ag-athlete--one {
        width: 90px;
        height: 190px;
        left: 2%;
    }

    .ag-athlete--two {
        width: 120px;
        height: 250px;
        left: 26%;
    }

    .ag-athlete--three {
        width: 90px;
        height: 205px;
        right: 14%;
    }

    .ag-athlete--four {
        width: 75px;
        height: 165px;
        right: -2%;
    }

    .ag-hero__visual-note {
        display: none;
    }

    .ag-dashboard__grid,
    .ag-profile-grid,
    .ag-results-grid,
    .ag-media-grid,
    .ag-fan-grid,
    .ag-about-grid,
    .ag-footer__grid {
        grid-template-columns: 1fr;
    }

    .ag-panel {
        border-left: 1px solid var(--ag-line);
    }

    .ag-section {
        padding: 38px 0;
    }

    .ag-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ag-cdm-card {
        grid-template-columns: 105px 1fr;
    }

    .ag-sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-result-calendar {
        grid-column: auto;
    }

    .ag-result-cards {
        grid-template-columns: 1fr;
    }

    .ag-footer__bottom-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

.ag-featured-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Berita terbaru polish */

.ag-panel--news .ag-featured-news {
    grid-template-columns: 118px 1fr;
    align-items: start;
    gap: 14px;
}

.ag-panel--news .ag-featured-news__image {
    width: 118px;
    height: 82px;
}

.ag-panel--news .ag-featured-news h3 {
    margin: 2px 0 8px;
    font-size: 12px;
    line-height: 1.35;
}

.ag-panel--news .ag-featured-news time {
    font-size: 8px;
}

.ag-panel--news .ag-news-list {
    margin-top: 15px;
    padding-top: 11px;
}

.ag-panel--news .ag-news-list li {
    margin-bottom: 5px;
}

.ag-panel--news .ag-news-list a {
    font-size: 9px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .ag-panel--news .ag-featured-news {
        grid-template-columns: 105px 1fr;
    }

    .ag-panel--news .ag-featured-news__image {
        width: 105px;
        height: 74px;
    }
}

/* Berita terbaru final sizing */
.ag-panel--news .ag-featured-news {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

.ag-panel--news .ag-featured-news__image {
    width: 145px !important;
    height: 100px !important;
    min-width: 145px;
    overflow: hidden;
    border-radius: 5px;
}

.ag-panel--news .ag-featured-news__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.ag-panel--news .ag-featured-news h3 {
    margin: 2px 0 10px;
    font-size: 14px;
    line-height: 1.32;
}

.ag-panel--news .ag-featured-news time {
    font-size: 9px;
}

.ag-panel--news .ag-news-list {
    margin-top: 18px;
    padding-top: 13px;
}

.ag-panel--news .ag-news-list li {
    margin-bottom: 7px;
    padding-left: 3px;
}

.ag-panel--news .ag-news-list a {
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .ag-panel--news .ag-featured-news {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 12px;
    }

    .ag-panel--news .ag-featured-news__image {
        width: 125px !important;
        height: 88px !important;
        min-width: 125px;
    }

    .ag-panel--news .ag-featured-news h3 {
        font-size: 12px;
    }
}

/* Berita terbaru balance final */
.ag-panel--news .ag-featured-news {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 15px;
}

.ag-panel--news .ag-featured-news h3 {
    margin: 2px 0 9px;
    font-size: 13px;
    line-height: 1.3;
}

.ag-panel--news .ag-featured-news time {
    font-size: 8px;
}

.ag-panel--news .ag-news-list {
    margin-top: 16px;
    padding-top: 12px;
}

.ag-panel--news .ag-news-list a {
    font-size: 9px;
    line-height: 1.42;
}
