/*
 * Dallas Media Company — Our Work showcase.
 * Dynamic: alternating category sections, each a Query Loop of Portfolio items.
 */

/* ── HERO ── */
.ow-hero { padding: 130px 60px 64px; background: radial-gradient(ellipse 60% 80% at 20% 30%, rgba(30,95,191,0.2) 0%, transparent 60%), var(--navy); position: relative; overflow: hidden; border-bottom: 1px solid rgba(0,212,255,0.08); }
.ow-hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.ow-hero-inner > * { margin-top: 0 !important; }
.ow-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--cyan); margin: 0 0 24px; }
.ow-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--cyan); }
.ow-hero h1 { font-family: 'Bebas Neue', sans-serif !important; font-size: clamp(64px, 8vw, 120px) !important; line-height: 0.92 !important; letter-spacing: 2px; color: var(--white); margin: 0 0 28px; }
.ow-hero h1 em { font-style: normal; -webkit-text-stroke: 1.5px var(--cyan); color: transparent; }
.ow-hero-sub { font-size: 17px; line-height: 1.65; color: var(--gray); max-width: 720px; margin: 0 0 36px; }
.ow-hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(0,212,255,0.12); border-bottom: 1px solid rgba(0,212,255,0.12); margin: 0 0 36px; }
.ow-stat { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin: 0; }
.ow-stat b { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--cyan); letter-spacing: 1px; font-weight: 400; margin-bottom: 4px; }
.ow-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; align-items: flex-start; }
.ow-filter .ow-pill { margin: 0; padding: 0; border: none; line-height: 1; }
.ow-filter .ow-pill a { display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); border: 1px solid rgba(0,212,255,0.2); padding: 8px 16px; text-decoration: none; transition: all 0.2s; }
.ow-filter .ow-pill a:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,212,255,0.06); }

/* ── CATEGORY SECTION ── */
.ow-section { padding: 80px 60px; }
.ow-section.alt { background: var(--navy2); }
.ow-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 0 auto 36px; max-width: 1280px; }
.ow-section-head > * { margin-top: 0 !important; }
.ow-section-headtext { max-width: 560px; }
.ow-section-headtext > * { margin-top: 0 !important; }
.ow-section-head h2 { font-family: 'Bebas Neue', sans-serif !important; font-size: clamp(34px, 4vw, 52px) !important; line-height: 1 !important; letter-spacing: 1px; color: var(--white); margin: 0 0 12px; }
.ow-section-head .ow-sec-desc { font-size: 14px; line-height: 1.65; color: var(--gray); margin: 0; }
.ow-section-head .ow-sec-link a, .ow-section-head .ow-sec-link { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); text-decoration: none; white-space: nowrap; margin: 0; }
.ow-section-head .ow-sec-link a { border: 1px solid rgba(0,212,255,0.3); padding: 12px 18px; }
.ow-section-head .ow-sec-link a:hover { background: var(--cyan); color: var(--navy); }

/* Cards (Query Loop) */
.ow-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; list-style: none; padding: 0; }
.ow-cards > li { position: relative; overflow: hidden; aspect-ratio: 16/9; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; margin: 0; background: linear-gradient(135deg,#071428,#1d4ea3); }
.ow-cards > li:nth-child(3n+2) { background: linear-gradient(135deg,#0d1f3c,#1e5fbf); }
.ow-cards > li:nth-child(3n) { background: linear-gradient(135deg,#040d1a,#2e7de6); }
.ow-cards > li::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%); }
.ow-cards > li > * { position: relative; z-index: 1; margin-top: 0; }
.ow-card-tag, .ow-card-tag a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin: 0 0 4px; text-decoration: none; }
.ow-card-title, .ow-card-title a { font-family: 'Bebas Neue', sans-serif !important; font-size: 20px !important; color: var(--white); line-height: 1.1; margin: 0; text-decoration: none; }
.ow-card-title a:hover { color: var(--cyan); }
.ow-card-desc { font-size: 12px; color: rgba(240,244,255,0.7); line-height: 1.5; margin: 6px 0 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s; }
.ow-cards > li:hover .ow-card-desc { max-height: 90px; opacity: 1; }
.ow-card-desc .wp-block-post-excerpt__more-text, .ow-card-desc .wp-block-post-excerpt__more-link { display: none; }

/* ── CTA ── */
.ow-cta { background: linear-gradient(135deg, #071428 0%, #0d2650 100%); position: relative; overflow: hidden; text-align: center; padding: 100px 60px; }
.ow-cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ow-cta-inner > * { margin-top: 0 !important; }
.ow-cta .section-label { justify-content: center; }
.ow-cta h2 { font-family: 'Bebas Neue', sans-serif !important; font-size: clamp(40px, 5vw, 68px) !important; line-height: 1 !important; letter-spacing: 1px; color: var(--white); margin: 0 0 24px; }
.ow-cta h2 em { font-style: normal; -webkit-text-stroke: 1.5px var(--cyan); color: transparent; }
.ow-cta p { font-size: 16px; line-height: 1.7; color: var(--gray); margin: 0 0 36px; }
.ow-cta .wp-block-buttons { justify-content: center; }

@media (max-width: 1100px) {
  .ow-hero { padding: 110px 24px 48px; }
  .ow-section { padding: 56px 24px; }
  .ow-section-head { flex-direction: column; align-items: flex-start; }
  .ow-cards { grid-template-columns: 1fr; }
  .ow-cta { padding: 64px 24px; }
}
