@charset "UTF-8";

/* ============================================
   GLOBAL BASE
============================================ */
body {
    margin-top: 60px;
    margin-bottom: 31px;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

/* ============================================
   TEXT SIZE FOR FETCHED .txt CONTENT
============================================ */
.main p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.main h1 {
    font-size: 1.6rem;
    margin: 25px 0 10px;
}

.main h2 {
    font-size: 1.3rem;
    margin: 20px 0 8px;
}

.main h3 {
    font-size: 1.1rem;
    margin: 16px 0 6px;
}

/* ============================================
   BANNER
============================================ */
.top-banner img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* ============================================
   PAGE WRAPPER
============================================ */
.container {
    width: 95%;
    margin: auto;
    max-width: 1200px;
}

/* FLEX LAYOUT (Main + Sidebar) */

.main  { flex: 3; min-width: 260px; }
.sidebar { flex: 1; min-width: 180px; }

/* ============================================
   SIDEBAR + GALLERY
============================================ */
.sidebar .item,
.gallery-item {
    margin-bottom: 15px;
    text-align: center;
}

.sidebar img,
.gallery-item img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
}

.caption {
    margin-top: 4px;
    color: #444;
    font-size: 0.9rem;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item .caption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
}
/* ============================================
   MODAL VIEWER
============================================ */
.full-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.full-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

.full-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

/*clean 2-comumn box*/

ul.related-list,
ul.related-list li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

ul.related-list li::marker {
    content: "" !important;
}

ul.related-list {
    padding: 20px !important;
    background: #E5E4E4;
    border-radius: 6px;
    border: 1px solid #ccc;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

ul.related-list li {
    padding-left: 10px;  /* indent inside each column */
}

ul.related-list a {
    color: #0F6E79;
    text-decoration: none;
}

ul.related-list a:hover {
    text-decoration: underline;
}
/* video poster */
.video-poster {
  max-width: 1080px;
}

/* ==============================
   RESPONSIVE VIDEO FIX
============================== */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.5),
    rgba(0,0,0,.2)
  );
}

.video-wrapper video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;              /* 🔑 THIS is critical */
  aspect-ratio: 16 / 9;      /* keeps proportions */
  border-radius: 6px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .video-wrapper {
    margin-left: -16px;
    margin-right: -16px;
  }
}

/* Overlay scales with video */
.video-overlay {}

/* ============================================
   HEADER / NAV (match Asali style)
============================================ */

.site-header{
  position:fixed;
  top:0;left:0;right:0;
  background:#fff;
  border-bottom:1px solid #e0e0e0;
  z-index:100;
}
.header-inner{
  max-width:var(--max-content-width);
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  font-weight:700;
  text-decoration:none;
  color:#222;
}
.nav{
  display:flex;
  gap:14px;
}
.nav a{
  text-decoration:none;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#444;
}
.nav a.active{
  color:#B30B0E;
}
.nav-toggle{
  display:none;
  background:none;
  border:none;
}
@media(max-width:768px){
  .nav{
    position:absolute;
    top:52px;right:16px;
    background:#fff;
    border:1px solid #eee;
    border-radius:6px;
    padding:8px 10px;
    flex-direction:column;
    display:none;
  }
  .nav.open{display:flex;}
  .nav-toggle{display:block;}
}


/* Style ask questions*/

.ask-question {
  margin-top: 50px;
  padding: 25px;
  background: #f7f7f7;
  border-radius: 8px;
}

.ask-question h2 {
  margin-top: 0;
}

.question-form label {
  display: block;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.question-form input,
.question-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.question-form button {
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.question-form button:hover {
  opacity: 0.9;
}
.success-msg {
  background: #eef7ee;
  border-left: 4px solid #2f7d32;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ============================================
   AUTO EXPAND CONTENT WHEN NO SIDEBAR
============================================ */

/* Default layout */
.flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Normal state */
.flex.has-sidebar .main {
  flex: 3;
}

.flex.has-sidebar .sidebar {
  flex: 1;
  min-width: 180px;
}

/* ? NO SIDEBAR STATE */
.flex.no-sidebar .main {
  flex: 1;
  max-width: 100%;
}

.flex.no-sidebar .sidebar {
  display: none;
}

/* FAQ section title */
.faq h2 {
  color: #b62e30;            /* your accent color */
  font-size: 1.6rem;
  margin-top: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 8px;
}
