:root{
  --ag-dark:#2B363F;
  --ag-orange:#F9481E;
  --ag-orange-hover:#D93A16;
  --ag-green:#A1B928;
  --ag-green-hover:#8FAA23;
  --ag-purple:#5A3793;
  --ag-blue:#3A56C1;
  --ag-bg:#F6F7F8;
  --ag-border:#E3E7EA;
  --ag-white:#FFFFFF;

  --font-zh:
    "Noto Sans TC",
    "Source Han Sans TC",
    "思源黑體 TC",
    "Microsoft JhengHei",
    sans-serif;

  --font-en:
    "Open Sans",
    Arial,
    sans-serif;
}


/* =========================
   GLOBAL
========================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  overflow-x:hidden;
  background:#fff;
  color:var(--ag-dark);
  font-family:var(--font-zh);
}

img{
  max-width:100%;
}

a{
  text-decoration:none;
}


/* =========================
   TOP BAR
========================= */

.topbar{
  width:100%;
  padding:.25rem .75rem;
  background:var(--ag-dark);
}

.topbar a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:0;
}

.topbar img{
  display:block;
  width:auto;
  height:1.5rem;
  max-height:1.5rem;
  object-fit:contain;
}

.topbar a + a{
  margin-left:.4rem;
}


/* =========================
   NAVBAR
========================= */

.navbar{
  width:100%;
  min-height:88px;
  display:flex;
  align-items:center;
  padding:0;
  background:#fff;
  border-bottom:1px solid var(--ag-border);
}

.navbar .container-fluid{
  width:100%;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  padding:10px 18px;
}

.navbar-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  margin:0 28px 0 0;
  padding:0;
}

.navbar-brand img{
  display:block;
  width:280px;
  max-width:280px;
  height:auto;
  max-height:68px;
  object-fit:contain;
}

.navbar-collapse{
  flex:1 1 auto;
  min-width:0;
}

.navbar-nav{
  width:100%;
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  margin:0;
  padding:0;
}

.navbar-nav .nav-item{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}

.navbar-nav .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.72rem .78rem;

  color:var(--ag-dark);
  background:transparent;
  border:0;
  border-radius:999px;

  font-family:var(--font-zh);
  font-size:.88rem;
  font-weight:700;
  line-height:1.4;
  white-space:nowrap;

  transition:
    color .25s ease,
    background-color .25s ease,
    transform .25s ease;
}

.navbar-nav .btn:hover,
.navbar-nav .btn:focus{
  color:#fff;
  background:var(--ag-orange);
  transform:translateY(-1px);
}

.navbar-nav .btn-life{
  color:#fff !important;
  background:var(--ag-orange) !important;
}

.navbar-nav .btn-life:hover,
.navbar-nav .btn-life:focus{
  color:#fff !important;
  background:var(--ag-orange-hover) !important;
}


/* =========================
   HAMBURGER
========================= */

.navbar-toggler{
  display:none;
  flex:0 0 auto;
  margin-left:auto;
  padding:.55rem;
  background:transparent;
  border:0;
}

.navbar-toggler:focus{
  box-shadow:none;
}

.navbar-toggler span{
  display:block;
  width:30px;
  height:3px;
  background:var(--ag-dark);
  transition:.25s ease;
}

.navbar-toggler span:not(:first-child){
  margin-top:5px;
}


/* =========================
   HERO IMAGE
========================= */

.contact-hero{
  width:100%;
  height:560px;
  overflow:hidden;
}

.contact-hero img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 40%;
}


/* =========================
   PAGE TITLE
========================= */

.page-title{
  padding:78px 20px 48px;
  text-align:center;
  background:#fff;
}

.page-title h1{
  margin:0;

  color:var(--ag-dark);

  font-family:var(--font-en);
  font-size:3.5rem;
  font-weight:800;
  font-style:italic;
  line-height:1.2;
  letter-spacing:.08em;
}

.page-title h1 span{
  color:var(--ag-orange);
}

.page-title p{
  margin:18px 0 0;

  color:var(--ag-dark);

  font-size:1.05rem;
  line-height:1.9;
}


/* =========================
   CLUBS WRAPPER
========================= */

#aboutus{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px 28px;
}

#html-section{
  width:100%;
  margin:0;
  padding:0;
  background:#fff;
}

#html-section > div{
  width:100%;
}


/* =========================
   CLUB CARDS
========================= */

#html-section > div > .row,
#html-section > .row{
  position:relative;

  display:flex;
  align-items:stretch;

  width:100%;
  margin:0 0 32px;
  padding:22px;

  overflow:hidden;

  color:var(--ag-dark) !important;
  background:#fff !important;

  border:1px solid var(--ag-border);
  border-radius:16px;

  box-shadow:
    0 10px 30px rgba(37,48,56,.06),
    0 2px 8px rgba(37,48,56,.03);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

#html-section > div > .row:hover,
#html-section > .row:hover{
  transform:translateY(-4px);
  border-color:rgba(249,72,30,.3);

  box-shadow:
    0 18px 42px rgba(37,48,56,.1),
    0 4px 12px rgba(37,48,56,.04);
}


/* 清除 Bootstrap row gutter */
#html-section .row{
  --bs-gutter-x:0;
  --bs-gutter-y:0;
}


/* 卡片左右欄 */
#html-section .row > [class*="col-"]{
  padding:0;
}

#html-section .row > [class*="col-"]:first-child{
  padding-right:28px;
}

#html-section .row > [class*="col-"]:last-child{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 18px 12px 8px;
}


/* =========================
   GOOGLE MAP
========================= */

#html-section iframe{
  display:block;

  width:100% !important;
  height:100%;
  min-height:330px;

  overflow:hidden;

  border:0 !important;
  border-radius:12px;

  box-shadow:none;

  filter:saturate(.9) contrast(.98);
}


/* =========================
   CLUB TEXT
========================= */

#html-section p[style*="font-size:1.4rem"],
#html-section p[style*="font-size: 1.4rem"]{
  position:relative;

  margin:0 0 16px !important;
  padding:0 !important;

  color:var(--ag-orange) !important;

  font-size:1.35rem !important;
  font-weight:800 !important;
  line-height:1.45 !important;
  letter-spacing:.01em;
}

/* 強制移除教室名稱底線 */
#html-section p[style*="font-size:1.4rem"]::after,
#html-section p[style*="font-size: 1.4rem"]::after{
  display:none !important;
  content:none !important;
}

#html-section p{
  margin-top:0;
  margin-bottom:14px;

  color:#36424a !important;

  font-size:1rem;
  line-height:1.9 !important;
}

#html-section ul{
  margin:6px 0 16px;
  padding-left:1.25rem;

  color:#36424a !important;
}

#html-section li{
  margin-bottom:7px;

  color:#36424a !important;

  font-size:.96rem;
  line-height:1.75;
}

#html-section li::marker{
  color:var(--ag-orange);
}


/* =========================
   CLUB SOCIAL ICONS
========================= */

#html-section a{
  text-decoration:none !important;
}

#html-section a{
  display:inline-flex;
  align-items:center;
  margin-right:14px;
  text-decoration:none !important;
}

#html-section a img{
  display:block;
  opacity:1;
  filter:none;

  transition:
    transform .25s ease,
    opacity .25s ease;
}

#html-section a:hover img{
  opacity:.82;
  transform:translateY(-3px);
}

#html-section a:hover img{
  opacity:.82;
  transform:translateY(-3px);
}


/* 隱藏載入內容中的空白標題 */
#html-section .row > p.text-center{
  display:none;
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section{
  width:100%;
  margin:0;
  padding:48px 24px 48px;

  background:var(--ag-bg);
}

.contact-box{
  width:100%;
  max-width:960px;
  margin:0 auto;
  padding:42px 54px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  background:#fff;
  border:1px solid var(--ag-border);
  border-radius:20px;

  box-shadow:
    0 18px 45px rgba(35,48,57,.08),
    0 3px 10px rgba(35,48,57,.04);
}


/* CONTACT TITLE */

.contact-title{
  display:flex;
  align-items:center;
  justify-content:center;

  width:auto;
  min-width:220px;
  margin:0 auto 26px;
  padding:13px 38px;

  color:#fff;
  background:var(--ag-orange);

  border-radius:999px;

  font-size:1.4rem;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.08em;
}


/* CONTACT CONTENT */

.contact-content{
  width:100%;
}

.contact-text{
  width:100%;
  margin:0 auto 26px;

  color:#36424a;

  font-size:1.05rem;
  font-weight:400;
  line-height:1.9;
  text-align:center;
}


/* CONTACT INFO */

.contact-info{
  width:100%;
  margin:0 auto;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;

  color:#36424a;

  font-size:1rem;
  line-height:1.7;
  text-align:center;
}

.contact-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.contact-item span{
  color:var(--ag-dark);
  font-weight:500;
}

.contact-info a{
  display:inline-block;
  margin:0;

  color:var(--ag-orange);

  font-weight:700;
  text-decoration:none !important;
  border:0 !important;
  border-bottom:0 !important;

  transition:
    color .25s ease,
    transform .25s ease;
}

.contact-info a:hover{
  color:var(--ag-green);
  text-decoration:none !important;
  border:0 !important;
  transform:translateY(-1px);
}


/* =========================
   FOOTER
========================= */

.footer{
  width:100%;
  margin:0;
  padding:24px 40px;

  color:#fff;
  background:var(--ag-blue);

  font-family:var(--font-en);
}

.footer-inner{
  width:100%;
  max-width:1180px;
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.footer-logo{
  flex:0 0 auto;
}

.footer-logo img{
  display:block;

  width:220px !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;

  object-fit:contain !important;
}

.footer-copy{
  flex:1;

  color:#fff;

  font-size:.95rem;
  line-height:1.5;
  text-align:center;
  white-space:nowrap;
}

.footer-social{
  flex:0 0 auto;

  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
}

.footer-social a{
  width:34px;
  height:34px;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:
    transform .25s ease,
    opacity .25s ease;
}

.footer-social img{
  display:block;

  width:26px !important;
  max-width:26px !important;
  height:26px !important;
  max-height:26px !important;

  object-fit:contain !important;
}

.footer-social a:hover{
  opacity:.8;
  transform:translateY(-3px);
}


/* =========================
   SMALL DESKTOP
========================= */

@media(max-width:1200px){

  .navbar .container-fluid{
    padding-right:12px;
    padding-left:12px;
  }

  .navbar-brand{
    margin-right:14px;
  }

  .navbar-brand img{
    width:235px;
    max-width:235px;
  }

  .navbar-nav .btn{
    padding:.68rem .5rem;
    font-size:.79rem;
  }
}


/* =========================
   TABLET NAV
========================= */

@media(max-width:991.98px){

  .navbar{
    min-height:92px;
    flex-wrap:wrap;
  }

  .navbar .container-fluid{
    min-height:92px;
    flex-wrap:wrap;
    padding:10px 18px;
  }

  .navbar-brand{
    margin-right:0;
  }

  .navbar-brand img{
    display:block;

    width:auto;
    max-width:76vw;
    max-height:76px;

    object-fit:contain;
  }

  .navbar-toggler{
    display:block;
  }

  .navbar-collapse{
    width:100%;
    flex:0 0 100%;
    margin-top:10px;
  }

  .navbar-nav{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    padding:8px 0 16px;
  }

  .navbar-nav .nav-item{
    width:100%;
  }

  .navbar-nav .btn{
    width:100%;

    justify-content:flex-start;

    padding:.8rem 1rem;

    border-radius:8px;

    font-size:.95rem;
    text-align:left;
  }

  .navbar-nav .btn:hover,
  .navbar-nav .btn:focus{
    transform:none;
  }

  .navbar-nav .btn-life{
    width:100%;
    justify-content:flex-start;
    border-radius:8px;
  }
}


/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .contact-hero{
    height:300px;
  }

  .contact-hero img{
    object-position:center center;
  }


  /* PAGE TITLE */

  .page-title{
    padding:54px 20px 34px;
  }

  .page-title h1{
    font-size:2.4rem;
  }

  .page-title p{
    margin-top:14px;
    font-size:.98rem;
  }


  /* CLUBS */

  #aboutus{
    padding:0 16px 22px;
  }

  #html-section > div > .row,
  #html-section > .row{
    display:block;

    margin-bottom:24px;
    padding:14px;

    border-radius:14px;

    box-shadow:
      0 8px 24px rgba(37,48,56,.07),
      0 2px 6px rgba(37,48,56,.03);
  }

  #html-section > div > .row:hover,
  #html-section > .row:hover{
    transform:none;
  }

  #html-section .row > [class*="col-"]:first-child{
    width:100%;
    padding:0;
  }

  #html-section .row > [class*="col-"]:last-child{
    width:100%;
    padding:24px 10px 12px;
  }

  #html-section iframe{
    width:100% !important;
    height:310px !important;
    min-height:310px;
    margin:0;
    border-radius:10px;
  }

  #html-section p[style*="font-size:1.4rem"],
  #html-section p[style*="font-size: 1.4rem"]{
    margin-bottom:15px !important;
    padding:0 !important;

    font-size:1.28rem !important;
    line-height:1.5 !important;
  }

  #html-section p{
    font-size:.96rem;
    line-height:1.85 !important;
  }

  #html-section li{
    font-size:.94rem;
    line-height:1.7;
  }


  /* CONTACT */

  .contact-section{
    padding:38px 16px 38px;
  }

  .contact-box{
    padding:32px 20px;
    border-radius:16px;
  }

  .contact-title{
    width:100%;
    min-width:0;
    max-width:280px;

    margin-bottom:22px;
    padding:12px 22px;

    font-size:1.22rem;
  }

  .contact-text{
    margin-bottom:22px;

    font-size:.97rem;
    line-height:1.85;
  }

  .contact-text br{
    display:none;
  }

  .contact-info{
    align-items:flex-start;
    gap:16px;

    font-size:.95rem;
    line-height:1.7;
    text-align:left;
  }

  .contact-item{
    width:100%;

    display:block;

    text-align:left;
  }

  .contact-item span{
    display:block;
    margin-bottom:4px;

    font-weight:700;
  }

  .contact-info a{
    display:block;
    margin:0;

    overflow-wrap:anywhere;
    word-break:break-word;
  }


  /* FOOTER */

  .footer{
    padding:30px 22px 36px;
  }

  .footer-inner{
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:18px;

    text-align:center;
  }

  .footer-logo img{
    width:190px !important;
    max-width:80vw !important;
  }

  .footer-copy{
    white-space:normal;

    font-size:.9rem;
    line-height:1.6;
  }

  .footer-social{
    width:100%;

    justify-content:center;
    gap:22px;
  }

  .footer-social a{
    width:42px;
    height:42px;
  }

  .footer-social img{
    width:30px !important;
    max-width:30px !important;
    height:30px !important;
    max-height:30px !important;
  }
}


/* =========================
   VERY SMALL MOBILE
========================= */

@media(max-width:420px){

  .navbar .container-fluid{
    padding-right:14px;
    padding-left:14px;
  }

  .navbar-brand img{
    max-width:70vw;
  }

  .contact-hero{
    height:240px;
  }

  .page-title h1{
    font-size:2rem;
  }

  #html-section iframe{
    height:270px !important;
    min-height:270px;
  }

  .contact-box{
    padding:28px 18px;
  }
}