/* ══════════════════════════════════════════════════
   DIRECTOR'S NOTE PAGE STYLING (KKSOFT AEC) - B&W DARK THEME
   ══════════════════════════════════════════════════ */

/* Force Director's Note Page Body background to be Black */
body.directors-note-page,
body.xfactor-page {
  background: #000000 !important;
  color: #ffffff !important;
}

body.directors-note-page h1,
body.directors-note-page h2,
body.directors-note-page h3,
body.directors-note-page h4,
body.directors-note-page h5,
body.directors-note-page h6,
body.xfactor-page h1,
body.xfactor-page h2,
body.xfactor-page h3,
body.xfactor-page h4,
body.xfactor-page h5,
body.xfactor-page h6 {
  color: #ffffff !important;
  font-family: var(--font-head);
}

body.directors-note-page p,
body.directors-note-page span,
body.directors-note-page div,
body.directors-note-page li,
body.xfactor-page p,
body.xfactor-page span,
body.xfactor-page div,
body.xfactor-page li {
  color: #cccccc !important;
}

/* Header style override for Director's Note page */
body.directors-note-page #main-header,
body.xfactor-page #main-header {
  background: rgba(0, 0, 0, 0.95) !important;
  border-bottom: 1px solid #222222 !important;
}

body.directors-note-page #main-header.scrolled,
body.xfactor-page #main-header.scrolled {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5) !important;
}

/* body.xfactor-page .logo img,
body.xfactor-page .footer-logo img {
    filter: brightness(0) invert(1) !important; 
} */

body.xfactor-page .nav-links a {
  color: #aaaaaa !important;
}

body.xfactor-page .nav-links a::after {
  background: #ffffff !important;
}

body.xfactor-page .nav-links a:hover,
body.xfactor-page .nav-links a.active {
  color: #ffffff !important;
}

body.xfactor-page #menu-toggle span {
  background: #ffffff !important;
}

/* Hero Section */
.xfactor-hero {
  background: #000000 !important;
  border-bottom: 1px solid #222222 !important;
  /* padding: clamp(3rem, 7vw, 5rem) 0 !important; */
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.xfactor-hero .hero-inner {
  width: 100% !important;
}

.xfactor-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  font-weight: 500 !important;
  margin: 0 0 1rem 0 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.xfactor-hero h1 em {
  font-style: normal;
  color: #ffffff !important;
}

.xfactor-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
  max-width: 600px;
  line-height: 1.6;
  color: #aaaaaa !important;
  margin: 0 auto !important; /* Centered */
}

/* Grid Sections */
.xfactor-grid-section {
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  background: #050505 !important;
  border-bottom: 1px solid #111111 !important;
}

.xfactor-grid-section.dark-section {
  background: #000000 !important;
}

/* Grid Headers */
.careers-grid-header h2 {
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
}

.careers-grid-header .sec-label {
  font-family: var(--font-ui);
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888888 !important;
  margin-bottom: 0.5rem;
}

/* Cards Grid & Component styles inherited from style.css */

/* Dynamic modal custom layouts */
.xfactor-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #222222 !important;
}

.xfactor-modal-title-area h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}

.xfactor-modal-title-area p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: #888888 !important;
}

/* Rating Stars - B&W gray stars */
.stars {
  color: #ffffff !important;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Details Blocks */
.xf-detail-block {
  margin-bottom: 1.5rem;
}

.xf-detail-block h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}

.xf-detail-block p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #cccccc !important;
  line-height: 1.7;
}

/* System Workflow timelines */
.system-workflow-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.system-step-card {
  background: #121212 !important;
  border: 1px solid #222222 !important;
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
  border-left: 3px solid #ffffff !important;
}

.system-step-card h5 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}

.system-step-card p {
  font-size: 0.9rem;
  color: #888888 !important;
}

/* Galleries */
.modal-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #222222 !important;
  background: #1a1a1a;
}

/* Video embed wrapper */
.video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #222222 !important;
  background: #000;
  margin-bottom: 1.5rem;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer override for X-Factor */
body.xfactor-page .site-footer {
  background: #000000 !important;
  border-top: 1px solid #222222 !important;
}

body.xfactor-page .site-footer h4,
body.xfactor-page .site-footer p,
body.xfactor-page .site-footer a,
body.xfactor-page .site-footer li,
body.xfactor-page .site-footer span {
  color: #ffffff !important;
}

body.xfactor-page .footer-links a {
  color: #aaaaaa !important;
}

body.xfactor-page .footer-links a:hover {
  color: #ffffff !important;
}

body.xfactor-page .footer-bottom p {
  color: #666666 !important;
}

body.xfactor-page .social-icon {
  border-color: #333333 !important;
  color: #aaaaaa !important;
}

body.xfactor-page .social-icon:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ── Override global gold accent styles ── */
.hover-gold,
.hover-gold em {
  color: #ffffff !important;
}

.hover-gold::after {
  background: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   DIRECTOR NOTE 2-COLUMN LAYOUT
   ══════════════════════════════════════════════════ */
.director-note-container {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(145deg, #0e0e0e 0%, #151515 100%);
  border: 1px solid #222222;
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.director-photo-col {
  width: 100%;
}

.director-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #121212;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.director-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.director-photo-wrapper:hover img {
  transform: scale(1.03);
}

.director-badge-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  text-align: center;
}

.director-badge-tag span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff !important;
  font-weight: 600;
}

.director-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.director-header-meta {
  margin-bottom: 1rem;
}

.director-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.director-name {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0 !important;
  line-height: 1.2;
}

.director-designation {
  font-family: var(--font-ui);
  font-size: 1rem !important;
  color: #888888 !important;
  margin: 0 !important;
}

.director-quote-box {
  position: relative;
  background: #080808;
  border-left: 3px solid #ffffff;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.director-quote-box p {
  font-family: var(--font-body);
  font-size: 1.05rem !important;
  font-style: italic;
  line-height: 1.7;
  color: #dddddd !important;
  margin: 0 !important;
}

.director-message-body p {
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  line-height: 1.7;
  color: #aaaaaa !important;
  margin-bottom: 1rem;
}

.director-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #222222;
}

.director-meta-item h5 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888888 !important;
  margin: 0 0 0.4rem 0 !important;
}

.director-meta-item p {
  font-size: 0.9rem !important;
  color: #cccccc !important;
  margin: 0 !important;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .director-note-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .director-photo-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
}
