/* =========================================================
   AN GIANG JUNIOR — CLEAN USER.CSS
   Replace the old AGJ CSS with this file.
========================================================= */

:root{
  --agj-navy:#062456;
  --agj-navy-dark:#061f4b;
  --agj-gold:#f4c329;
  --agj-text:#10264d;
  --agj-muted:#667085;
  --agj-line:#e4e8ee;
  --agj-soft:#f6f8fb;
  --agj-max:1180px;
}

html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;color:var(--agj-text);background:#fff}

.agj-hero *,
.agj-about3 *,
.agj-journey *,
.agj-featured-row *,
.agj-partners *,
.agj-footer *{box-sizing:border-box}

.agj-hero img,
.agj-about3 img,
.agj-journey img,
.agj-featured-row img,
.agj-partners img,
.agj-footer img{display:block;max-width:100%}

.container-banner,.container-footer{margin:0!important;padding:0!important}
.container-component{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.container-component .card,.container-component .card-body{border:0!important;box-shadow:none!important;background:none!important;padding:0!important}

/* HEADER */
.header,.container-header{width:100%;margin:0!important;padding:0!important;background:var(--agj-navy-dark)!important}
.header{border-bottom:2px solid var(--agj-gold)}
.agj-header-inner{width:100%;min-height:62px;padding:0 28px;display:flex;align-items:center;gap:18px}
.agj-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.agj-brand img{width:50px;height:50px;object-fit:contain}
.agj-brand span{color:#fff;font-size:15px;font-weight:800;letter-spacing:.5px;white-space:nowrap}
.agj-menu{min-width:0;margin-left:auto;display:flex;align-items:center}
.agj-main-menu,.agj-menu ul,.agj-menu .mod-menu{list-style:none;display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:0!important;margin:0!important;padding:0!important}
.agj-main-menu>li,.agj-menu ul>li,.agj-menu .mod-menu>li{list-style:none;margin:0!important;padding:0!important}
.agj-main-menu>li>a,.agj-menu ul>li>a,.agj-menu .mod-menu>li>a{position:relative;display:flex;align-items:center;min-height:62px;padding:0 10px!important;color:#fff!important;font-size:11px!important;line-height:1;font-weight:700;text-transform:uppercase;white-space:nowrap;text-decoration:none!important}
.agj-main-menu>li>a:hover,.agj-menu ul>li>a:hover,.agj-menu .mod-menu>li>a:hover,.agj-main-menu>li.current>a,.agj-main-menu>li.active>a,.agj-menu li.current>a,.agj-menu li.active>a{color:var(--agj-gold)!important}
.agj-main-menu>li.current>a::after,.agj-main-menu>li.active>a::after,.agj-menu li.current>a::after,.agj-menu li.active>a::after{content:"";position:absolute;left:10px;right:10px;bottom:4px;height:2px;background:var(--agj-gold);border-radius:2px}

/* HERO */
.agj-hero{position:relative;width:100%;margin:0;padding:0;overflow:hidden;background:var(--agj-navy);color:#fff;border-bottom:3px solid var(--agj-gold)}
.agj-hero-inner{position:relative;width:100%;max-width:1440px;height:315px;min-height:315px;margin:0 auto}
.agj-hero-image{position:absolute;inset:0;z-index:1;overflow:hidden}
.agj-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center center}
.agj-hero-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--agj-navy) 0%,var(--agj-navy) 28%,rgba(6,36,86,.94) 42%,rgba(6,36,86,.55) 58%,rgba(6,36,86,.12) 72%,rgba(6,36,86,0) 84%);pointer-events:none}
.agj-hero-image::before{content:"";position:absolute;top:0;left:34%;width:180px;height:100%;background:var(--agj-navy);clip-path:polygon(0 0,55% 0,100% 100%,45% 100%);opacity:.22;z-index:2;pointer-events:none}
.agj-hero-content{position:relative;z-index:3;width:46%;height:100%;padding:34px 20px 26px 70px;display:flex;flex-direction:column;justify-content:center}
.agj-hero-content h1{margin:0 0 7px;color:#fff;font-size:38px;line-height:1.05;font-weight:800;letter-spacing:.3px}
.agj-hero-slogan{margin:0;color:var(--agj-gold);font-size:25px;line-height:1.15;font-weight:800}
.agj-hero-subtitle{margin-top:7px;color:#fff;font-size:18px;line-height:1.15;font-weight:700}
.agj-hero-button{display:inline-flex;align-items:center;justify-content:center;width:max-content;margin-top:15px;padding:9px 19px;background:var(--agj-gold);color:var(--agj-navy)!important;border-radius:5px;font-size:10px;line-height:1;font-weight:800;text-decoration:none!important}
.agj-hero-button:hover{background:#ffd447}
.agj-hero-stats{display:flex;align-items:center;margin-top:16px}
.agj-hero-stat{min-width:100px;margin-right:16px;padding-right:16px;border-right:1px solid rgba(255,255,255,.24);color:rgba(255,255,255,.9);font-size:9px;line-height:1.25}
.agj-hero-stat:last-child{margin-right:0;padding-right:0;border-right:0}
.agj-hero-stat strong{display:block;margin-bottom:3px;color:var(--agj-gold);font-size:20px;line-height:1;font-weight:800}

/* ABOUT */
.agj-about3{width:100%;margin:0;padding:16px 0 10px;background:#fff}
.agj-about3-inner{width:calc(100% - 44px);max-width:var(--agj-max);height:190px;margin:0 auto;display:grid;grid-template-columns:30% 36% 34%;gap:0;align-items:stretch;background:var(--agj-soft);overflow:hidden}
.agj-about3-image{position:relative;height:190px;padding:12px;overflow:hidden}
.agj-about3-image img{width:100%;height:166px;object-fit:cover;object-position:center;border-radius:4px;clip-path:polygon(0 0,95% 0,100% 12%,100% 88%,95% 100%,0 100%)}
.agj-about3-image::before{content:"";position:absolute;left:4px;top:4px;width:38px;height:38px;border-left:3px solid var(--agj-gold);border-top:3px solid var(--agj-gold);z-index:2}
.agj-about3-image::after{content:"";position:absolute;left:4px;bottom:4px;width:38px;height:38px;border-left:3px solid var(--agj-gold);border-bottom:3px solid var(--agj-gold);z-index:2}
.agj-about3-content{min-width:0;height:190px;padding:15px 20px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.agj-about3-kicker{display:block;margin:0 0 3px;color:#d3a51e;font-size:8px;line-height:1.2;font-weight:800;letter-spacing:1.2px}
.agj-about3-content h2{margin:0 0 7px;padding:0;color:var(--agj-navy);font-size:19px;line-height:1.15;font-weight:800}
.agj-about3-content h2::before{display:none!important}
.agj-about3-content p{margin:0 0 6px;color:#4f5968;font-size:9px;line-height:1.45}
.agj-about3-button{display:inline-flex;align-items:center;width:max-content;margin-top:1px;padding:7px 12px;background:var(--agj-navy);color:#fff!important;border-radius:3px;font-size:8px;font-weight:800;text-decoration:none!important}
.agj-about3-button:hover{background:var(--agj-gold);color:var(--agj-navy)!important}
.agj-about3-values{height:166px;margin:12px;padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:0;background:linear-gradient(135deg,var(--agj-navy),#0b376d);border-radius:6px;overflow:hidden}
.agj-about3-value{min-width:0;display:flex;align-items:flex-start;gap:7px;padding:9px}
.agj-about3-value:nth-child(1),.agj-about3-value:nth-child(2){border-bottom:1px solid rgba(255,255,255,.14)}
.agj-about3-value:nth-child(1),.agj-about3-value:nth-child(3){border-right:1px solid rgba(255,255,255,.14)}
.agj-about3-icon{flex:0 0 auto;color:var(--agj-gold);font-size:15px;line-height:1}
.agj-about3-value h3{margin:0 0 3px;color:var(--agj-gold);font-size:9px;line-height:1.2;font-weight:800}
.agj-about3-value p{margin:0;color:rgba(255,255,255,.84);font-size:7.5px;line-height:1.35}

/* JOURNEY */
.agj-journey{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:15px 0 18px}
.agj-journey>h2{margin:0 0 3px;padding:0;border:0;color:var(--agj-navy);text-align:center;font-size:20px;line-height:1.15;font-weight:800}
.agj-journey>p{max-width:700px;margin:0 auto 11px;color:var(--agj-muted);text-align:center;font-size:9px;line-height:1.4}
.agj-journey-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.agj-journey-card{min-width:0;height:190px;display:grid;grid-template-rows:105px 85px;margin:0;background:#fff;border:1px solid var(--agj-line);border-radius:5px;overflow:hidden}
.agj-journey-image{width:100%;height:105px;overflow:hidden;background:#eef1f5}
.agj-journey-image img,.agj-journey-card img{width:100%;height:105px;min-height:105px;max-height:105px;aspect-ratio:auto;object-fit:cover;object-position:center}
.agj-journey-content{position:relative;height:85px;padding:9px 12px;overflow:hidden}
.agj-card-number{display:block;position:static;margin:0 0 3px;color:#d3a51e;font-size:8px;line-height:1;font-weight:800}
.agj-journey-content h3{margin:0 0 3px;color:var(--agj-navy);font-size:10px;line-height:1.2;font-weight:800}
.agj-journey-content p{margin:0 0 3px;color:var(--agj-muted);font-size:7.5px;line-height:1.3}
.agj-journey-content a{color:var(--agj-navy);font-size:7px;line-height:1;font-weight:800;text-decoration:none}

/* FEATURED */
.agj-featured-row{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:0 0 18px;display:grid;grid-template-columns:1.55fr 1fr;gap:16px;align-items:stretch}
.agj-featured-players,.agj-featured-achievements{min-width:0;position:relative;padding:14px;background:#fff;border:1px solid var(--agj-line)}
.agj-featured-players::before,.agj-featured-achievements::before{content:"";position:absolute;left:0;top:0;width:42px;height:3px;background:var(--agj-gold)}
.agj-featured-heading{margin-bottom:9px}
.agj-featured-heading h2{position:relative;margin:0 0 3px;padding-left:10px;color:var(--agj-navy);font-size:17px;line-height:1.2;font-weight:800}
.agj-featured-heading h2::before{content:"";position:absolute;left:0;top:2px;width:3px;height:15px;background:var(--agj-gold)}
.agj-featured-heading p{margin:0;color:var(--agj-muted);font-size:8px;line-height:1.4}
.agj-players-slider{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.agj-players-slider::-webkit-scrollbar{display:none}
.agj-featured-players .agj-players-grid{display:flex!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;gap:8px!important;margin:0!important;padding:0 12px 0 0!important}
.agj-featured-players .agj-player-card{width:126px!important;min-width:126px!important;flex:0 0 126px!important;margin:0!important;padding:0!important;background:#fff;border:1px solid var(--agj-line);border-radius:4px;overflow:hidden}
.agj-featured-players .agj-player-image{width:100%!important;height:122px!important;overflow:hidden}
.agj-featured-players .agj-player-image img{width:100%!important;height:122px!important;object-fit:cover!important;object-position:center top}
.agj-featured-players .agj-player-content{padding:8px!important}
.agj-featured-players .agj-player-label{display:block;margin:0 0 2px;color:#c99700;font-size:7px!important;font-weight:800}
.agj-featured-players .agj-player-content h3{margin:2px 0 3px!important;color:var(--agj-navy);font-size:10px!important;line-height:1.2;font-weight:800}
.agj-featured-players .agj-player-content p{margin:0;color:var(--agj-muted);font-size:8px!important;line-height:1.35}
.agj-featured-more{display:inline-block;margin-top:9px;padding:7px 11px;background:var(--agj-navy);color:#fff!important;border-radius:3px;font-size:8px;font-weight:800;text-decoration:none!important}
.agj-featured-more:hover{background:var(--agj-gold);color:var(--agj-navy)!important}
.agj-achievements-list{position:relative;margin:8px 0 0;padding:0 0 0 20px}
.agj-achievements-list::before{content:"";position:absolute;left:4px;top:6px;bottom:6px;width:2px;background:#d8dee8}
.agj-achievements-item{position:relative;display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid #edf0f3}
.agj-achievements-item:last-child{border-bottom:0}
.agj-achievements-item::before{content:"";position:absolute;left:-20px;top:13px;width:9px;height:9px;background:var(--agj-gold);border-radius:50%}
.agj-achievements-year{color:#d39b00;font-size:12px;line-height:1.2;font-weight:800}
.agj-achievements-item h3{margin:0 0 2px;color:var(--agj-navy);font-size:9px;line-height:1.3;font-weight:800}
.agj-achievements-item p{margin:0;color:var(--agj-muted);font-size:8px;line-height:1.4}

/* NEWS + GALLERY */
.agj-news-gallery,.agj-bottom-row,div[style*="grid-template-columns: 1.55fr 1fr"]{width:calc(100% - 44px)!important;max-width:var(--agj-max)!important;margin:0 auto 18px!important;display:grid!important;grid-template-columns:1.55fr 1fr!important;gap:16px!important;align-items:stretch!important;box-sizing:border-box!important}
.agj-news-gallery>div,.agj-bottom-row>div,div[style*="grid-template-columns: 1.55fr 1fr"]>div{min-width:0!important;padding:14px!important;background:#fff!important;border:1px solid var(--agj-line)!important;box-sizing:border-box!important}
.agj-news-gallery h2,.agj-bottom-row h2,div[style*="grid-template-columns: 1.55fr 1fr"] h2{margin:0 0 4px!important;padding-left:10px!important;border-left:3px solid var(--agj-gold)!important;color:var(--agj-navy)!important;font-size:16px!important;line-height:1.2!important;font-weight:800!important}
.agj-news-gallery h2+p,.agj-bottom-row h2+p,div[style*="grid-template-columns: 1.55fr 1fr"] h2+p{margin:0 0 8px!important;color:var(--agj-muted)!important;font-size:8px!important;line-height:1.4!important}
.agj-news-gallery .agj-news-grid,.agj-bottom-row .agj-news-grid,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child>div[style*="repeat(3"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
.agj-news-gallery .agj-news-card,.agj-bottom-row .agj-news-card,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child>div[style*="repeat(3"]>div{min-width:0!important;width:100%!important;background:#fff!important;border:1px solid var(--agj-line)!important;overflow:hidden!important}
.agj-news-gallery .agj-news-image,.agj-bottom-row .agj-news-image{height:78px!important;overflow:hidden!important}
.agj-news-gallery .agj-news-image img,.agj-bottom-row .agj-news-image img,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child>div>div>img{width:100%!important;height:78px!important;max-height:78px!important;object-fit:cover!important}
.agj-news-gallery .agj-news-content,.agj-bottom-row .agj-news-content,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child img+div{padding:8px!important}
.agj-news-gallery .agj-news-label,.agj-bottom-row .agj-news-label{color:#d39b00!important;font-size:7px!important;font-weight:800!important}
.agj-news-gallery .agj-news-content h3,.agj-bottom-row .agj-news-content h3,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child h3{margin:3px 0 4px!important;color:var(--agj-navy)!important;font-size:8px!important;line-height:1.3!important;font-weight:800!important}
.agj-news-gallery .agj-news-content p,.agj-bottom-row .agj-news-content p,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child h3+p{margin:0 0 5px!important;color:var(--agj-muted)!important;font-size:7px!important;line-height:1.35!important}
.agj-news-gallery .agj-news-content a,.agj-bottom-row .agj-news-content a{color:var(--agj-navy)!important;font-size:7px!important;font-weight:800!important}
.agj-news-gallery .agj-gallery-grid,.agj-bottom-row .agj-gallery-grid,div[style*="grid-template-columns: 1.55fr 1fr"]>div:last-child>div[style*="repeat(4"]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;width:100%!important}
.agj-news-gallery .agj-gallery-item,.agj-bottom-row .agj-gallery-item{height:42px!important;overflow:hidden!important;border-radius:3px!important}
.agj-news-gallery .agj-gallery-item img,.agj-bottom-row .agj-gallery-item img,div[style*="grid-template-columns: 1.55fr 1fr"]>div:last-child>div[style*="repeat(4"] img{width:100%!important;height:42px!important;max-height:42px!important;object-fit:cover!important;border-radius:3px!important}
.agj-news-gallery .agj-gallery-action,.agj-bottom-row .agj-gallery-action{margin-top:8px!important}
.agj-news-gallery .agj-gallery-action a,.agj-bottom-row .agj-gallery-action a{display:inline-block!important;padding:6px 9px!important;background:var(--agj-navy)!important;color:#fff!important;font-size:7px!important;font-weight:800!important;text-decoration:none!important}

/* STANDALONE GALLERY */
.agj-gallery{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:14px 0 16px}
.agj-gallery-head{margin:0 0 9px}
.agj-gallery-head h2{position:relative;margin:0 0 4px;padding-left:10px;color:var(--agj-navy);font-size:18px;line-height:1.15;font-weight:800}
.agj-gallery-head h2::before{content:"";position:absolute;left:0;top:2px;width:3px;height:15px;background:var(--agj-gold)}
.agj-gallery-head p{margin:0;color:var(--agj-muted);font-size:9px;line-height:1.4}
.agj-gallery-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.agj-gallery-item{aspect-ratio:16/8.4;overflow:hidden;border-radius:3px;background:#eef1f5}
.agj-gallery-item img{width:100%;height:100%;object-fit:cover}
.agj-gallery-action{display:flex;justify-content:center;margin-top:10px}
.agj-gallery-action a{display:inline-flex;align-items:center;padding:7px 13px;background:var(--agj-navy);color:#fff!important;border-radius:3px;font-size:8px;font-weight:800;text-decoration:none!important}

/* PARTNERS */
.agj-partners{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:12px 0 14px;border-top:1px solid #e7ebf0}
.agj-partners-title{margin:0 0 7px;text-align:center}
.agj-partners-title h2{margin:0;color:var(--agj-navy);font-size:16px;line-height:1.15;font-weight:800}
.agj-partners-slider{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.agj-partners-slider::-webkit-scrollbar{display:none}
.agj-partners-track{min-width:100%;display:flex!important;align-items:center;justify-content:center;gap:28px}
.agj-partner-item{flex:0 0 112px;height:42px;display:flex;align-items:center;justify-content:center}
.agj-partner-item img{width:auto;height:auto;max-width:98px;max-height:30px;object-fit:contain}

/* FOOTER */
.container-footer{background:var(--agj-navy-dark)!important}
.container-footer .grid-child{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.agj-footer{width:100%;margin:0;background:var(--agj-navy-dark);color:#fff}
.agj-footer-main{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:24px 0 20px;display:grid!important;grid-template-columns:1.35fr 1fr .85fr 1fr!important;gap:28px!important}
.agj-footer-brandline{display:flex;align-items:center;gap:10px}
.agj-footer-brandline img{width:48px;height:48px;object-fit:contain;border-radius:50%}
.agj-footer-brandname{color:#fff;font-size:9px;line-height:1.35}
.agj-footer-brandname strong{display:block;color:#fff;font-size:13px;line-height:1.2;font-weight:800}
.agj-footer-brand>p{max-width:280px;margin:11px 0 0;color:rgba(255,255,255,.7);font-size:9px;line-height:1.55}
.agj-footer-col h3{margin:0 0 8px;color:#fff;font-size:10px;font-weight:800}
.agj-footer-col p,.agj-footer-col>a{display:block;margin:0 0 6px;color:rgba(255,255,255,.72)!important;font-size:9px;line-height:1.45;text-decoration:none!important}
.agj-footer-col a:hover{color:var(--agj-gold)!important}
.agj-footer-social{display:flex!important;align-items:center;gap:7px;margin-top:9px}
.agj-footer-social a{width:27px;height:27px;display:flex!important;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff!important;font-size:10px;text-decoration:none!important}
.agj-footer-bottom{width:calc(100% - 44px);max-width:var(--agj-max);margin:0 auto;padding:10px 0 12px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.5);font-size:8px}
.agj-footer-bottom-links{display:flex;gap:14px}
.agj-footer-bottom-links a{color:rgba(255,255,255,.5)!important;text-decoration:none!important}

/* TABLET */
@media(max-width:900px){
  .agj-header-inner{padding:0 18px}
  .agj-main-menu>li>a,.agj-menu ul>li>a,.agj-menu .mod-menu>li>a{padding:0 8px!important;font-size:10px!important}
  .agj-about3-inner{height:auto;grid-template-columns:1fr 1.15fr;gap:14px;background:#fff;overflow:visible}
  .agj-about3-image{height:auto;padding:0}
  .agj-about3-image img{height:220px}
  .agj-about3-content{height:auto;padding:8px 0}
  .agj-about3-values{grid-column:1/-1;height:auto;margin:0}
  .agj-featured-row{grid-template-columns:1fr}
  .agj-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .agj-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* MOBILE */
@media(max-width:767px){
  body{overflow-x:hidden}
  /* Mobile header: keep logo + Joomla menu on ONE horizontal row */
  .agj-header-inner{min-height:54px;display:flex;align-items:center;flex-wrap:nowrap;padding:0 10px;gap:8px}
  .agj-brand{justify-content:flex-start;margin:0;flex:0 0 auto}
  .agj-brand img{width:38px;height:38px}
  .agj-brand span{display:block;font-size:10px;letter-spacing:.2px}
  .agj-menu{width:auto;min-width:0;margin-left:auto;overflow:hidden;flex:1 1 auto}
  .agj-main-menu,.agj-menu ul,.agj-menu .mod-menu{width:100%;min-width:0;justify-content:flex-end;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .agj-main-menu::-webkit-scrollbar,.agj-menu ul::-webkit-scrollbar,.agj-menu .mod-menu::-webkit-scrollbar{display:none}
  .agj-main-menu>li,.agj-menu ul>li,.agj-menu .mod-menu>li{flex:0 0 auto!important;width:auto!important}
  .agj-main-menu>li>a,.agj-menu ul>li>a,.agj-menu .mod-menu>li>a{min-height:54px;padding:0 5px!important;font-size:7.5px!important;line-height:1!important;white-space:nowrap!important}
  .agj-hero-inner{height:360px;min-height:360px}
  .agj-hero-image img{object-position:100% center}
  .agj-hero-image::after{background:linear-gradient(90deg,var(--agj-navy) 0%,rgba(6,36,86,.96) 25%,rgba(6,36,86,.8) 48%,rgba(6,36,86,.28) 72%,rgba(6,36,86,.04) 100%)}
  .agj-hero-image::before{display:none}
  .agj-hero-content{width:72%;padding:25px 10px 18px 20px}
  .agj-hero-content h1{font-size:28px;white-space:nowrap}
  .agj-hero-slogan{font-size:18px}
  .agj-hero-subtitle{font-size:15px}
  .agj-hero-button{margin-top:13px;padding:8px 13px;font-size:9px}
  .agj-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}
  .agj-hero-stat{min-width:0;margin:0;padding:0 7px;font-size:8px}
  .agj-hero-stat:first-child{padding-left:0}
  .agj-hero-stat strong{font-size:16px}
  .agj-about3{padding:16px 0}
  .agj-about3-inner{width:calc(100% - 24px);display:block}
  .agj-about3-image::before,.agj-about3-image::after{display:none}
  .agj-about3-image img{height:210px;clip-path:none}
  .agj-about3-content{padding:14px 0}
  .agj-about3-content h2{font-size:22px}
  .agj-about3-content p{font-size:12px}
  .agj-about3-values{grid-template-columns:1fr 1fr;padding:10px}
  .agj-about3-value{padding:10px 8px}
  .agj-about3-value h3{font-size:10px}
  .agj-about3-value p{font-size:8px}
  .agj-journey{width:calc(100% - 24px);padding:18px 0}
  .agj-journey>h2{font-size:20px}
  .agj-journey>p{font-size:10px}
  .agj-journey-grid{grid-template-columns:1fr;gap:12px}
  .agj-journey-card{height:auto;display:block}
  .agj-journey-image,.agj-journey-image img,.agj-journey-card img{height:170px;min-height:170px;max-height:170px}
  .agj-journey-content{height:auto;padding:11px 12px 12px}
  .agj-card-number{font-size:9px}
  .agj-journey-content h3{font-size:13px}
  .agj-journey-content p{font-size:10px}
  .agj-journey-content a{font-size:9px}
  .agj-featured-row{width:calc(100% - 24px);display:block;padding-bottom:14px}
  .agj-featured-achievements{margin-top:14px}
  .agj-featured-players .agj-player-card{width:62vw!important;min-width:62vw!important;flex-basis:62vw!important}
  .agj-featured-players .agj-player-image,.agj-featured-players .agj-player-image img{height:180px!important}
  .agj-news-gallery,.agj-bottom-row,div[style*="grid-template-columns: 1.55fr 1fr"]{width:calc(100% - 24px)!important;display:block!important;margin:0 auto 16px!important}
  .agj-news-gallery>div,.agj-bottom-row>div,div[style*="grid-template-columns: 1.55fr 1fr"]>div{width:100%!important;margin:0 0 12px!important}
  .agj-news-gallery .agj-news-grid,.agj-bottom-row .agj-news-grid,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child>div[style*="repeat(3"]{grid-template-columns:1fr!important}
  .agj-news-gallery .agj-news-image,.agj-bottom-row .agj-news-image{height:160px!important}
  .agj-news-gallery .agj-news-image img,.agj-bottom-row .agj-news-image img,div[style*="grid-template-columns: 1.55fr 1fr"]>div:first-child>div>div>img{height:160px!important;max-height:160px!important}
  .agj-news-gallery .agj-gallery-grid,.agj-bottom-row .agj-gallery-grid,div[style*="grid-template-columns: 1.55fr 1fr"]>div:last-child>div[style*="repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .agj-news-gallery .agj-gallery-item,.agj-bottom-row .agj-gallery-item{height:90px!important}
  .agj-news-gallery .agj-gallery-item img,.agj-bottom-row .agj-gallery-item img,div[style*="grid-template-columns: 1.55fr 1fr"]>div:last-child>div[style*="repeat(4"] img{height:90px!important;max-height:90px!important}
  .agj-partners{width:calc(100% - 24px)}
  .agj-partners-track{justify-content:flex-start;gap:18px}
  .agj-partner-item{flex-basis:105px}
  .agj-footer-main{width:calc(100% - 32px);grid-template-columns:1fr!important;gap:20px!important;padding:26px 0 22px}
  .agj-footer-bottom{width:calc(100% - 32px);display:block;line-height:1.7}
  .agj-footer-bottom-links{margin-top:5px}
}
/* =========================================================
   HEADER + MAIN MENU - FINAL
========================================================= */

.header,
.container-header{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#061f4b !important;
    border-bottom:2px solid #f4c329 !important;
}


/* KHUNG HEADER */

.agj-header-inner{
    width:100% !important;
    max-width:1180px !important;
    height:62px !important;
    min-height:62px !important;

    margin:0 auto !important;
    padding:0 20px !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:center !important;
    justify-content:space-between !important;

    box-sizing:border-box !important;
}


/* LOGO */

.agj-brand{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;

    flex:0 0 auto !important;

    margin:0 !important;
    padding:0 !important;

    gap:10px !important;
}

.agj-brand img{
    width:60px !important;
    height:60px !important;

    object-fit:contain !important;
}

.agj-brand span{
    color:#fff !important;

    font-size:13px !important;
    font-weight:700 !important;

    white-space:nowrap !important;
}


/* =========================================================
   MODULE MENU WRAPPER
========================================================= */

.agj-menu,
.container-header .moduletable,
.container-header nav{
    width:auto !important;
    min-width:0 !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;

    flex:1 1 auto !important;
}


/* =========================================================
   UL THẬT CỦA JOOMLA
========================================================= */

ul.agj-main-menu,
ul.mod-menu.agj-main-menu,
.container-header ul.agj-main-menu{
    width:auto !important;
    max-width:none !important;
    min-height:0 !important;

    margin:0 0 0 auto !important;
    padding:0 !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:center !important;
    justify-content:flex-end !important;

    gap:0 !important;

    list-style:none !important;

    position:static !important;
}


/* =========================================================
   LI
========================================================= */

ul.agj-main-menu > li{
    display:block !important;

    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:auto !important;

    flex:0 0 auto !important;

    margin:0 !important;
    padding:0 !important;

    position:relative !important;
}


/* =========================================================
   LINK
========================================================= */

ul.agj-main-menu > li > a,
ul.agj-main-menu > li > span{
    display:flex !important;

    width:auto !important;
    height:62px !important;
    min-height:62px !important;

    align-items:center !important;

    margin:0 !important;
    padding:0 11px !important;

    color:#fff !important;

    font-size:11px !important;
    line-height:1 !important;

    font-weight:700 !important;

    white-space:nowrap !important;

    text-decoration:none !important;
}


/* ACTIVE */

ul.agj-main-menu > li.active > a,
ul.agj-main-menu > li.current > a,
ul.agj-main-menu > li > a:hover{
    color:#f4c329 !important;
}


ul.agj-main-menu > li.active > a::after,
ul.agj-main-menu > li.current > a::after{
    content:"";

    position:absolute;

    left:11px;
    right:11px;
    bottom:5px;

    height:2px;

    background:#f4c329;
}


/* =========================================================
   TẮT MẤY THỨ DROPDOWN/CASSIOPEIA LÀM MENU BỊ DỌC
========================================================= */

ul.agj-main-menu{
    column-count:auto !important;
}

ul.agj-main-menu > li{
    float:none !important;
}

.container-header .mod-menu{
    flex-direction:row !important;
}

/* =========================================================
   AGJ MOBILE HEADER + MENU — CLEAN FINAL
========================================================= */

@media (max-width:768px){

    /* Không cho toàn website tràn ngang */
    html,
    body{
        width:100%;
        max-width:100%;
        margin:0;
        overflow-x:hidden;
    }

    /* Header */
    .header,
    .container-header{
        width:100% !important;
        max-width:100% !important;
        overflow:hidden !important;
    }

    .agj-header-inner{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        height:54px !important;
        min-height:54px !important;

        margin:0 auto !important;
        padding:0 10px !important;

        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:center !important;

        box-sizing:border-box !important;
        overflow:hidden !important;
    }

    /* LOGO */
    .agj-brand{
        flex:0 0 auto !important;
        min-width:0 !important;

        display:flex !important;
        align-items:center !important;

        margin:0 !important;
        padding:0 !important;
        gap:6px !important;
    }

    .agj-brand img{
        width:60px !important;
        height:60px !important;
        flex:0 0 60px !important;
    }

    .agj-brand span{
        font-size:9px !important;
        white-space:nowrap !important;
    }

    /* VÙNG CHỨA MENU */
    .agj-menu{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;

    margin:0 0 0 8px !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;

    overflow:hidden !important;
}

    /* Module Joomla */
    .agj-menu .moduletable,
.agj-menu nav{
    flex:1 1 auto !important;
    width:100% !important;
    min-width:0 !important;

    margin:0 !important;
    padding:0 !important;

    display:block !important;
    overflow:hidden !important;
}

    /* UL MENU — phần này được vuốt ngang */
    ul.agj-main-menu,
    ul.mod-menu.agj-main-menu,
    .agj-menu ul.mod-menu{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        margin:0 !important;
        padding:0 !important;

        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        justify-content:flex-start !important;
        align-items:center !important;

        overflow-x:auto !important;
        overflow-y:hidden !important;

        white-space:nowrap !important;

        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    ul.agj-main-menu::-webkit-scrollbar,
    .agj-menu ul.mod-menu::-webkit-scrollbar{
        display:none;
    }

    /* ITEM */
    ul.agj-main-menu > li,
    .agj-menu ul.mod-menu > li{
        display:block !important;

        flex:0 0 auto !important;
        width:auto !important;
        min-width:auto !important;

        margin:0 !important;
        padding:0 !important;
    }

    /* LINK */
    ul.agj-main-menu > li > a,
    ul.agj-main-menu > li > span,
    .agj-menu ul.mod-menu > li > a{
        display:flex !important;
        align-items:center !important;

        width:auto !important;

        height:54px !important;
        min-height:54px !important;

        margin:0 !important;
        padding:0 8px !important;

        font-size:9px !important;
        line-height:1 !important;

        white-space:nowrap !important;
    }
}

/* =========================================================
   AGJ — DESKTOP HERO + FOOTER ALIGN FIX
   02-09-2026
========================================================= */

@media (min-width: 769px){

    /* =========================
       HERO
    ========================= */

    .agj-hero{
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        background:#062456 !important;
        overflow:hidden !important;
    }

    .agj-hero-inner{
        width:100% !important;
        max-width:1180px !important;

        height:315px !important;
        min-height:315px !important;

        margin:0 auto !important;
        padding:0 !important;

        position:relative !important;
        overflow:hidden !important;
    }


    /* =========================
       FOOTER CASSIOPEIA
    ========================= */

    .container-footer{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;

        background:#061f4b !important;
    }

    .container-footer .grid-child{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;
    }

    .agj-footer{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;

        background:#061f4b !important;
    }

    .agj-footer-main{
        width:calc(100% - 40px) !important;
        max-width:1180px !important;

        margin:0 auto !important;
        padding:24px 0 20px !important;

        box-sizing:border-box !important;
    }

    .agj-footer-bottom{
        width:calc(100% - 40px) !important;
        max-width:1180px !important;

        margin:0 auto !important;
        padding:10px 0 12px !important;

        box-sizing:border-box !important;
    }

}

/* =========================================================
   AGJ FOOTER — CENTER ALIGN FINAL
========================================================= */

@media (min-width:769px){

    /* Wrapper Joomla phải full ngang */
    .container-footer,
    .container-footer .grid-child,
    .container-footer .moduletable,
    .container-footer .mod-custom{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding-left:0 !important;
        padding-right:0 !important;

        display:block !important;
    }

    .agj-footer{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;

        background:#061f4b !important;
    }

    /* CỤM 4 CỘT CĂN GIỮA GIỐNG BODY */
    .agj-footer-main{
        width:calc(100% - 80px) !important;
        max-width:1180px !important;

        margin-left:auto !important;
        margin-right:auto !important;

        padding:15px 0 11px !important;

        display:grid !important;
        grid-template-columns:
            1.25fr
            .9fr
            .85fr
            1.15fr !important;

        gap:34px !important;

        align-items:start !important;
        justify-content:stretch !important;
    }

    .agj-footer-brand,
    .agj-footer-col{
        width:auto !important;
        min-width:0 !important;

        margin:0 !important;
        padding:0 !important;
    }

    /* BRAND */
    .agj-footer-brandline img{
        width:40px !important;
        height:40px !important;
    }

    .agj-footer-brandname strong{
        font-size:11px !important;
    }

    .agj-footer-brand > p{
        max-width:240px !important;

        margin-top:6px !important;

        font-size:7.5px !important;
        line-height:1.4 !important;
    }

    /* TEXT */
    .agj-footer-col h3{
        margin:0 0 6px !important;
        font-size:8.5px !important;
    }

    .agj-footer-col p,
    .agj-footer-col > a{
        margin-bottom:3px !important;

        font-size:7.5px !important;
        line-height:1.35 !important;
    }

    /* COPYRIGHT CŨNG CÙNG TRỤC */
    .agj-footer-bottom{
        width:calc(100% - 80px) !important;
        max-width:1180px !important;

        margin-left:auto !important;
        margin-right:auto !important;

        padding:6px 0 7px !important;

        font-size:6.5px !important;
    }
}
/* =========================================================
   AGJ — TYPOGRAPHY POLISH
   Chrome Windows + Safari Mac
========================================================= */

/* MENU */
ul.agj-main-menu > li > a,
ul.agj-main-menu > li > span{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-0.15px !important;
}

/* HERO TITLE */
.agj-hero-content h1{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-0.7px !important;
}

/* HERO SLOGAN VÀNG */
.agj-hero-slogan{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-0.35px !important;
}

/* VƯƠN TỚI TƯƠNG LAI */
.agj-hero-subtitle{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-0.25px !important;
}

/* STATS */
.agj-hero-stat strong{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
}

/* BUTTON */
.agj-hero-button{
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight:700 !important;
}

/* =========================================================
   AGJ HEADER ACTIONS — REAL SVG ICONS
========================================================= */

@media (min-width:769px){

    .agj-header-actions{
        display:flex !important;
        align-items:center !important;
        gap:7px !important;

        margin-left:18px !important;
        padding-left:16px !important;

        border-left:1px solid rgba(255,255,255,.18) !important;
        white-space:nowrap !important;
    }

    /* ICON BUTTON */
    .agj-head-social{
        width:29px !important;
        height:29px !important;

        flex:0 0 29px !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        margin:0 !important;
        padding:0 !important;

        border:1px solid rgba(244,195,41,.7) !important;
        border-radius:50% !important;

        background:transparent !important;
        color:#f4c329 !important;

        text-decoration:none !important;

        transition:
          background .2s ease,
          color .2s ease,
          transform .2s ease !important;
    }

    .agj-head-social svg{
        width:14px !important;
        height:14px !important;

        display:block !important;

        fill:currentColor !important;
    }

    .agj-head-social:hover{
        background:#f4c329 !important;
        color:#062456 !important;
        transform:translateY(-1px);
    }


    /* ĐĂNG KÝ TẬP */
    .agj-head-register{
        height:31px !important;

        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;

        gap:6px !important;

        margin-left:4px !important;
        padding:0 14px !important;

        background:#f4c329 !important;
        border:1px solid #f4c329 !important;
        border-radius:4px !important;

        color:#062456 !important;

        font-family:Arial,Helvetica,sans-serif !important;
        font-size:9px !important;
        line-height:1 !important;
        font-weight:800 !important;

        text-decoration:none !important;
        white-space:nowrap !important;

        transition:.2s ease !important;
    }

    .agj-head-register .agj-arrow{
        width:13px !important;
        height:13px !important;

        fill:currentColor !important;
    }

    .agj-head-register:hover{
        background:#fff !important;
        border-color:#fff !important;
        color:#062456 !important;
    }

    .agj-head-register:hover .agj-arrow{
        transform:translateX(2px);
    }
}


/* MOBILE: giữ header sạch */
@media (max-width:768px){

    .agj-header-actions{
        display:none !important;
    }

}
/* =========================================================
   HEADER ICON SHARPNESS FIX
========================================================= */

.agj-head-social{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;

    padding:2px !important;

    background:#fff !important;
    border:1px solid #f4c329 !important;
    border-radius:50% !important;

    overflow:hidden !important;
}

.agj-head-social img{
    display:block !important;

    width:26px !important;
    height:26px !important;

    max-width:none !important;
    max-height:none !important;

    object-fit:contain !important;

    image-rendering:auto !important;

    opacity:1 !important;
    filter:none !important;
}

/* =========================================================
   PARTNERS + FOOTER SPACING FINAL
========================================================= */

.agj-partners{
    margin-bottom:0 !important;
    padding-bottom:14px !important;
}

.container-footer{
    margin-top:0 !important;
}

footer.container-footer,
.container-footer{
    padding-top:0 !important;
}

/* bỏ khoảng trắng do Joomla wrapper tạo ra */
.container-component + .container-footer{
    margin-top:0 !important;
}

/* =========================================================
   INTRO PAGE - BLOCK 1
========================================================= */

.agj-intro-about{
    width:100%;
    padding:34px 0;
    background:#fff;
}

.agj-intro-about-inner{
    width:calc(100% - 44px);
    max-width:1180px;
    margin:0 auto;

    display:grid;
    grid-template-columns:42% 58%;
    gap:34px;

    align-items:center;
}

.agj-intro-about-image{
    position:relative;
    overflow:hidden;
}

.agj-intro-about-image img{
    display:block;
    width:100%;
    height:310px;
    object-fit:cover;
    border-radius:6px;
}

.agj-intro-about-content{
    min-width:0;
}

.agj-intro-kicker{
    display:block;
    margin-bottom:6px;

    color:#d3a51e;

    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}

.agj-intro-about-content h1{
    margin:0 0 8px;

    color:#062456;

    font-size:30px;
    line-height:1.1;
    font-weight:800;
}

.agj-intro-about-content h2{
    margin:0 0 16px;

    color:#f0b900;

    font-size:16px;
    line-height:1.35;
    font-weight:800;
}

.agj-intro-about-content p{
    margin:0 0 12px;

    color:#4f5968;

    font-size:13px;
    line-height:1.65;
}

.agj-intro-quote{
    margin-top:16px;
    padding:13px 16px;

    border-left:4px solid #f4c329;

    background:#f6f8fb;

    color:#062456;

    font-size:13px;
    line-height:1.5;
    font-weight:700;
}

@media(max-width:767px){

    .agj-intro-about{
        padding:22px 0;
    }

    .agj-intro-about-inner{
        width:calc(100% - 24px);
        grid-template-columns:1fr;
        gap:20px;
    }

    .agj-intro-about-image img{
        height:240px;
    }

    .agj-intro-about-content h1{
        font-size:24px;
    }

    .agj-intro-about-content h2{
        font-size:14px;
    }

    .agj-intro-about-content p{
        font-size:12px;
    }

}

/* =========================================================
   ABOUT PAGE — BLOCK 2 / TIMELINE
========================================================= */

.agj-about-timeline{
    width:calc(100% - 44px);
    max-width:1180px;
    margin:0 auto;
    padding:42px 0 48px;
    box-sizing:border-box;
}

.agj-about-timeline-head{
    max-width:720px;
    margin:0 auto 38px;
    text-align:center;
}

.agj-about-timeline-head > span{
    display:block;
    margin-bottom:7px;
    color:#d5a719;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}

.agj-about-timeline-head h2{
    margin:0 0 8px;
    padding:0;
    color:#062456;
    font-size:26px;
    line-height:1.15;
    font-weight:800;
}

.agj-about-timeline-head p{
    margin:0;
    color:#667085;
    font-size:11px;
    line-height:1.55;
}


/* TIMELINE */

.agj-about-timeline-wrap{
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:26px;
}

/* đường vàng chạy ngang */

.agj-about-timeline-wrap::before{
    content:"";
    position:absolute;
    top:8px;
    left:12.5%;
    right:12.5%;
    height:2px;
    background:#e6c557;
}


/* ITEM */

.agj-about-time-item{
    position:relative;
    padding:30px 18px 20px;
    text-align:center;
    background:#fff;
    border:1px solid #e4e8ee;
    border-radius:5px;
    box-sizing:border-box;
}


/* DOT */

.agj-about-time-dot{
    position:absolute;
    top:-1px;
    left:50%;
    width:16px;
    height:16px;
    transform:translate(-50%,-50%);
    background:#f4c329;
    border:4px solid #fff;
    border-radius:50%;
    box-shadow:0 0 0 2px #f4c329;
    z-index:2;
}


/* YEAR */

.agj-about-time-year{
    margin-bottom:8px;
    color:#d5a719;
    font-size:14px;
    line-height:1;
    font-weight:800;
}


/* TITLE */

.agj-about-time-item h3{
    margin:0 0 9px;
    color:#062456;
    font-size:13px;
    line-height:1.3;
    font-weight:800;
}


/* TEXT */

.agj-about-time-item p{
    margin:0;
    color:#667085;
    font-size:10px;
    line-height:1.55;
}


/* HOVER NHẸ */

.agj-about-time-item{
    transition:transform .2s ease,box-shadow .2s ease;
}

.agj-about-time-item:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(6,36,86,.08);
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px){

    .agj-about-timeline{
        width:calc(100% - 28px);
        padding:32px 0 38px;
    }

    .agj-about-timeline-head{
        margin-bottom:28px;
    }

    .agj-about-timeline-head h2{
        font-size:22px;
    }

    .agj-about-timeline-head p{
        font-size:11px;
        padding:0 8px;
    }


    /* đổi thành timeline dọc */

    .agj-about-timeline-wrap{
        display:block;
        padding-left:26px;
    }

    .agj-about-timeline-wrap::before{
        top:0;
        bottom:0;
        left:7px;
        right:auto;
        width:2px;
        height:auto;
    }

    .agj-about-time-item{
        margin-bottom:14px;
        padding:18px 18px;
        text-align:left;
    }

    .agj-about-time-item:last-child{
        margin-bottom:0;
    }

    .agj-about-time-dot{
        top:24px;
        left:-19px;
        transform:translate(-50%,-50%);
    }

    .agj-about-time-year{
        font-size:13px;
    }

    .agj-about-time-item h3{
        font-size:13px;
    }

    .agj-about-time-item p{
        font-size:11px;
    }

}
/* ===== TEST ABOUT TIMELINE ===== */

.agj-about-timeline{
    width:calc(100% - 44px) !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding:40px 0 !important;
}

.agj-about-timeline-wrap{
    position:relative !important;
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:20px !important;
}

.agj-about-time-item{
    display:block !important;
    padding:28px 18px 22px !important;
    background:#ffffff !important;
    border:1px solid #e4e8ee !important;
    border-top:3px solid #f4c329 !important;
    border-radius:5px !important;
    text-align:center !important;
    box-sizing:border-box !important;
}

.agj-about-time-year{
    color:#d5a719 !important;
    font-size:14px !important;
    font-weight:800 !important;
}

.agj-about-time-item h3{
    margin:7px 0 9px !important;
    color:#062456 !important;
    font-size:14px !important;
    font-weight:800 !important;
}

.agj-about-time-item p{
    margin:0 !important;
    color:#667085 !important;
    font-size:10px !important;
    line-height:1.55 !important;
}

.agj-about-timeline-head{
    text-align:center !important;
    margin-bottom:30px !important;
}

.agj-about-timeline-head > span{
    color:#d5a719 !important;
    font-size:10px !important;
    font-weight:800 !important;
}

.agj-about-timeline-head h2{
    margin:5px 0 7px !important;
    color:#062456 !important;
    font-size:25px !important;
    font-weight:800 !important;
}

.agj-about-timeline-head p{
    margin:0 auto !important;
    color:#667085 !important;
    font-size:10px !important;
}


/* MOBILE */

@media(max-width:767px){

    .agj-about-timeline{
        width:calc(100% - 28px) !important;
    }

    .agj-about-timeline-wrap{
        grid-template-columns:1fr !important;
        gap:12px !important;
    }

    .agj-about-time-item{
        text-align:left !important;
    }

}