/*
 * Dallas Media Company — Photography page.
 * Ported from the original photography-page.php. The JS tab interface is
 * rendered as stacked, always-visible category panels (pure core blocks).
 * Shared .svc-process/.svc-work/.svc-cta base styles come from services.css.
 */

.ph-hero-cols, .ph-wrap { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Block-gap neutralizer for core-block card grids */
.svc-hero-left > *, .svc-panel-left > *, .svc-panel-right > *, .svc-stat-box > *,
.svc-price-info > *, .svc-step > *, .svc-process-grid > *, .svc-work-item > *,
.svc-cta-left > * { margin-top: 0 !important; margin-block-start: 0 !important; }

/* ── HERO ── */
.svc-hero { min-height: 100vh; padding: 120px 60px 80px; display: flex; align-items: center;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(30,95,191,0.18) 0%, transparent 60%), var(--navy); position: relative; overflow: hidden; }
.ph-hero-cols { width: 100%; }
.svc-hero-eyebrow { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--cyan); margin: 0 0 24px; display: flex; align-items: center; gap: 12px; }
.svc-hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--cyan); }
.svc-hero h1 { font-family: 'Bebas Neue', sans-serif !important; font-size: clamp(56px, 7vw, 100px) !important; line-height: 0.92 !important; letter-spacing: 2px; color: var(--white); margin: 0 0 28px; }
.svc-hero h1 em { font-style: normal; -webkit-text-stroke: 1.5px var(--cyan); color: transparent; }
.svc-hero-sub { font-size: 16px; line-height: 1.7; color: var(--gray); max-width: 460px; margin: 0 0 32px; }
.svc-hero-left > .svc-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px !important; }
.svc-pill, .svc-pill a { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); text-decoration: none; }
.svc-pill { border: 1px solid rgba(0,212,255,0.2); padding: 6px 14px; transition: all 0.2s; margin: 0; }
.svc-pill:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); }
.svc-pill:hover a { color: var(--cyan); }
.svc-hero-right { aspect-ratio: 4/5; background: linear-gradient(135deg,#0d2650,#1d4ea3,#2e7de6); border: 1px solid rgba(0,212,255,0.25); display: flex; align-items: flex-end; justify-content: space-between; overflow: hidden; padding: 20px; position: relative; }
.svc-hero-right::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(255,255,255,0.06) 40px), repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(255,255,255,0.06) 40px); }
/* Cover photo fills the panel; corner labels stay readable via the bottom overlay. */
.svc-hero-right.has-photo::before { display: none; }
.svc-hero-right .wp-block-image { position: absolute; inset: 0; margin: 0; z-index: 0; }
.svc-hero-right .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero-right.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(4,13,26,0.85) 0%, rgba(4,13,26,0.15) 38%, transparent 62%); pointer-events: none; }
.svc-hero-right p { position: relative; z-index: 2; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); margin: 0; }

/* ── CATEGORY PANELS (stacked) ── */
.svc-tabs-section { background: var(--navy2); padding: 0; }
.svc-cats-head { max-width: 1280px; margin: 0 auto; padding: 88px 60px 0; }
.svc-panel { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding: 64px 60px; border-top: 1px solid rgba(0,212,255,0.1); }
.svc-panel-left h3 { font-family: 'Bebas Neue', sans-serif !important; font-size: 52px !important; line-height: 1 !important; color: var(--white); margin: 0 0 20px; letter-spacing: 1px; }
.svc-panel-left p { font-size: 15px; line-height: 1.75; color: var(--gray); margin: 0 0 32px; }
.svc-includes { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0 0 36px; padding: 0; }
.svc-includes li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--gray); line-height: 1.5; }
.svc-includes li::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; background: var(--cyan); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); margin-top: 5px; }
.svc-panel-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,212,255,0.06); align-content: start; }
.svc-stat-box { background: var(--navy); padding: 28px 24px; margin: 0; }
.svc-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: var(--cyan); line-height: 1; margin: 0 0 6px; }
.svc-stat-label { font-size: 12px; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; margin: 0; }
.svc-price-box { grid-column: span 2; background: var(--navy2); border: 1px solid rgba(0,212,255,0.15); padding: 28px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.svc-price-box .price-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin: 0 0 4px; }
.svc-price-box .price-val { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--white); margin: 0; }
.svc-price-box .price-note { font-size: 12px; color: var(--gray); margin: 4px 0 0; }

/* ── PROCESS ── */
.svc-process { background: var(--navy); }
.svc-process-head { max-width: 1280px; margin: 0 auto 0; }
.svc-process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 48px auto 0; position: relative; max-width: 1280px; }
.svc-process-grid::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: rgba(0,212,255,0.15); }
.svc-step { padding: 0 24px; position: relative; margin: 0; }
.svc-step-num { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--cyan); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--cyan); background: var(--navy); margin-bottom: 28px !important; position: relative; z-index: 1; }
.svc-step h4 { font-family: 'Bebas Neue', sans-serif !important; font-size: 20px !important; color: var(--white); letter-spacing: 1px; margin: 0 0 12px; line-height: 1.15; }
.svc-step h4 small { font-family: 'DM Sans', sans-serif; display: block; font-size: 11px; color: var(--cyan); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; margin-top: 6px; }
.svc-step p { font-size: 13.5px; line-height: 1.7; color: var(--gray); margin: 0; }

/* ── RECENT WORK (static gradient cards) ── */
.svc-work { background: var(--navy2); }
.svc-work-head { max-width: 1280px; margin: 0 auto; }
.svc-work-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 48px auto 0; max-width: 1280px; list-style: none; padding: 0; }
.svc-work-grid > li, .svc-work-item { position: relative; overflow: hidden; aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; margin: 0; background: linear-gradient(135deg,#071428,#1a3a6e); }
.svc-work-grid > li:nth-child(3n+2), .svc-work-item:nth-child(3n+2) { background: linear-gradient(135deg,#0d1f3c,#1e5fbf); }
.svc-work-grid > li:nth-child(3n), .svc-work-item:nth-child(3n) { background: linear-gradient(135deg,#040d1a,#2e7de6); }
.svc-work-grid > li::before, .svc-work-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,13,26,0.95) 0%, rgba(4,13,26,0.3) 50%, transparent 100%); }
.svc-work-grid > li > *, .svc-work-item > * { position: relative; z-index: 1; margin-top: 0; }
.svc-work-tag, .svc-work-tag a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin: 0 0 4px; text-decoration: none; }
.svc-work-title, .svc-work-title a { font-family: 'Bebas Neue', sans-serif !important; font-size: 18px !important; color: var(--white); margin: 0 0 6px; line-height: 1.1; text-decoration: none; }
.svc-work-title a:hover { color: var(--cyan); }
.svc-work-desc { font-size: 12px; color: rgba(240,244,255,0.7); line-height: 1.5; margin: 0; }
.svc-work-desc .wp-block-post-excerpt__more-text, .svc-work-desc .wp-block-post-excerpt__more-link { display: none; }

/* ── CTA ── */
.svc-cta { background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(30,95,191,0.22) 0%, transparent 70%), var(--navy); padding: 120px 60px; text-align: center; }
.svc-cta-inner { max-width: 760px; margin: 0 auto; }
.svc-cta-left .section-label { justify-content: center; }
.svc-cta-left h2 { margin: 0 0 20px; }
.svc-cta-left p { font-size: 15px; line-height: 1.7; color: var(--gray); margin: 0 0 24px; }
.svc-cta-contact { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 0; }
.svc-cta-contact li { font-size: 14px; color: var(--gray); }
.svc-cta-contact a { color: var(--cyan); text-decoration: none; }
.svc-cta-right { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .svc-hero { grid-template-columns: 1fr; padding: 110px 24px 60px; min-height: unset; }
  .svc-cats-head { padding: 56px 24px 0; }
  .svc-panel { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .svc-process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc-process-grid::before { display: none; }
  .svc-work-grid { grid-template-columns: 1fr 1fr; }
  .svc-cta { padding: 64px 24px; }
  .svc-cta-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .svc-work-grid { grid-template-columns: 1fr; }
}
