/* GLOBAL RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    text-align: left;
}

a {
    color: #ffa500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ff8c00;
}

html {
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.9);
}

.logo img {
    max-width: 150px;
}

.tagline {
    margin-top: 10px;
    font-size: 12px;
    font-style: italic;
    color: gray;
}

/* NAVIGATION */
.navbar ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.navbar a {
    font-weight: bold;
    padding: 10px;
}

/* --- DROPDOWN CONTAINER --- */
.navbar .dropdown {
    position: relative;
}

/* --- DROPDOWN MENU (hidden by default) --- */
.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

/* --- SHOW ON HOVER --- */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* --- DROPDOWN MENU LINKS --- */
.navbar .dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    white-space: nowrap;
    font-weight: normal;
    color: #333;
}

.navbar .dropdown-menu li a:hover {
    background: #f0f0f0;
    color: #ff8c00;
}


/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 20px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    padding-top: 20px;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    padding: 15px;
}

.close-btn {
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    text-align: right;
}

/* LAYOUT */
.container {
    display: flex;
    width: 95%;
    margin: 30px auto;
    gap: 20px;
}

.links {
    flex: 2;
}

.separator {
    width: 2px;
    background: #ccc;
}

.sidebar {
    width: 150px;
    background: #f1f1f1;
    padding: 20px;
    text-align: center;
}


/* FEATURED GRID */
.featured-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

.featured-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;   /* ✅ THIS IS THE MISSING PIECE */
}


.featured-headline {
    flex: 1 1 300px;
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 60px;   /* ✅ adjust this value to taste */
}


.category {
    padding: 0;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-style: italic;
}


.source {
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
    margin-bottom: 4px;
}

.featured-video {
    flex: 1 1 0;
    min-width: 50%;
    aspect-ratio: 16 / 9;
}


.featured-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 6px;
    border-top: 2px solid #ccc;
    padding-top: 6px;
}

/* --- WRAPPER --- */
.top-section {
  width: 95%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- ROWS --- */
.row {
  display: flex;
  gap: 30px;
}

/* --- VIDEO COLUMNS --- */
.video-col {
  flex: 1 1 0;
  min-width: 50%;
}

.video-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- QUOTE BLOCK --- */
.featured-quote {
  width: 100%;
  padding: 5px 24px;
  background: #f7f7f7;
  border-left: 4px solid #ff6b6b;
  border-radius: 4px;
  font-style: italic;
  color: #555;
  line-height: 1.55;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.featured-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: maroon;
  font-size: clamp(0.85rem, 1vw, 1rem);
}

/* --- MOBILE BREAKPOINT --- */
@media (max-width: 700px) {

  /* Row 1 stacks */
  .row-1 {
    flex-direction: column;
  }

  /* Videos get breathing room */
  .video-wrapper {
    padding: 20px;
    box-sizing: border-box;
  }

  /* Quote stays full-width */
  .featured-quote {
    padding: 5px 16px;
  }
}



/* FOOTER */
.footer {
    background: #ccc;
    text-align: center;
    padding: 20px;
}

.footerlinks {
    color: #000;
}

/* Desktop / tablet: keep two columns */
.featured-row {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    align-items: flex-start;
}

/* Ensure equal video widths */
.featured-video {
    flex: 1 1 0;
    min-width: 50%;
    aspect-ratio: 16 / 9;
}



.copy-confirmation {
    display: none;
    color: green;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .navbar { display: none; }
    .menu-toggle { display: block; }
    .container { flex-direction: column; }
    .separator, .sidebar { display: none; }
}

@media (max-width: 768px) {

    /* Make dropdown menus always visible in mobile menu */
    .mobile-menu .dropdown-menu {
        display: block;
        position: static;
        background: none;
        box-shadow: none;
        padding-left: 50px;     /* subtle indent */
        margin: 2px 0 0;        /* tighten spacing above */
    }

    /* Submenu links: tighter spacing + left alignment */
    .mobile-menu .dropdown-menu li a {
        display: block;
        padding: 2px 0;         /* tighter vertical spacing */
        font-style: italic;     /* subtle hierarchy */
        color: #666;            /* secondary tone */
        text-align: left;       /* ensure left-justified */
    }
}


@media (max-width: 700px) {
    .featured-row {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .featured-video,
    .featured-headline,
    .featured-quote {
        min-width: 100%;
        flex: 1 1 auto;
    }
}

@media (max-width: 700px) {

    .featured-video {
        min-width: 100%;
        width: 100%;
        padding: 20px;          /* ✅ space on all sides */
        box-sizing: border-box;
        aspect-ratio: 16 / 9;   /* ✅ maintains perfect ratio */
    }

    .featured-video iframe {
        width: 100%;
        height: 100%;           /* ✅ fill the aspect-ratio box */
        border: 0;
    }
}


