:root {
  --button-ink: #23394c;
  --button-teal: #11656b;
  --button-teal-dark: #0c5056;
  --button-mist: #e9f3f3;
  --button-edge: #97b2b7;
  --button-radius: 6px;
}

.hero-photo-wrap {
  background: var(--button-ink);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.photo-shade {
  background: linear-gradient(180deg, transparent 50%, rgb(22 42 56 / 14%));
}

.photo-label {
  color: white;
  background: rgb(30 50 67 / 88%);
  border-radius: 4px;
}

.photo-label > span {
  background: #83d9d4;
}

.button, .subscribe-button, .category, .icon-button,
.hero-buttons .text-link, .featured-play {
  border-radius: var(--button-radius);
}

.button-forest, .category.active {
  color: white;
  background: var(--button-ink);
}

.subscribe-button {
  color: white;
  background: var(--button-teal);
}

.button-forest:hover, .category.active:hover, .subscribe-button:hover {
  color: white;
  background: var(--button-teal-dark);
}

.hero-buttons {
  gap: 12px;
}

.hero-buttons .text-link, .button-outline {
  color: var(--button-ink);
  background: #fff;
  border: 1px solid var(--button-edge);
}

.hero-buttons .text-link {
  justify-content: center;
  align-self: stretch;
  padding: 10px 17px;
}

.hero-buttons .text-link:hover, .button-outline:hover,
.category:not(.active):hover, .icon-button:hover {
  color: var(--button-teal-dark);
  background: var(--button-mist);
}

.category:not(.active) {
  color: #435968;
}

.button-cream {
  color: #163b49;
  background: #e3f4f1;
}

.button-ghost-cream {
  color: white;
  background: transparent;
  border: 1px solid #bcd7d6;
}

.button-cream:hover, .button-ghost-cream:hover {
  color: #163b49;
  background: white;
}

:is(.button, .subscribe-button, .hero-buttons .text-link, .category, .icon-button, .featured-video):focus-visible {
  outline: 3px solid #12747d;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}

/* Give controls room for their larger labels, including touch targets on phones. */
.button, .text-link, .category, .subscribe-button, .mobile-nav a,
.mobile-nav button, .contact-phone > button, .footer-links a, .footer-bottom a,
.video-card h3 button, .blog-card h3 a, .playlist-links a {
  min-height: 44px;
}
.video-card h3 button, .blog-card h3 a {
  display: inline-flex;
  align-items: center;
}
.icon-button, .search-box button, .promise-inner > a, [data-slot="dialog-close"] {
  min-width: 44px;
  min-height: 44px;
}
.desktop-nav, .subscribe-button { white-space: nowrap; }
.desktop-nav { padding-left: 0; gap: clamp(15px, 2vw, 34px); }
.header-inner { gap: 16px; }
.section-heading > div, .category-list, .featured-copy { min-width: 0; }
.footer-links, .footer-bottom, .playlist-links { flex-wrap: wrap; }
.footer-bottom a { font-size: 15px; }
.contact-phone { min-width: 0; }
.dialog-bottom, .channel-profile { flex-wrap: wrap; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea, .search-box input {
  font-size: max(1rem, 18px);
}
.featured-video { max-width: calc(100% - 32px); }
.video-card p, .blog-card p, .section-heading p, .form-note { color: #5a6557; }

@media (min-width: 851px) and (max-width: 1040px) {
  .desktop-nav, .header-search { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-nav { display: flex; flex-direction: column; padding: 10px 32px 22px; }
  .mobile-nav a, .mobile-nav button { text-align: left; padding: 10px 5px; font-size: 19.5px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 4px; }
  .subscribe-button { width: auto; min-height: 44px; height: auto; gap: 5px; padding: 8px; font-size: 16px; }
  .hero-buttons, .category-list { gap: 8px; }
  .story-principles > div { grid-template-columns: 22px minmax(0, 1fr); }
  .story-principles p { grid-column: 2; margin-top: -4px; }
  .featured-video { position: relative; inset: auto; width: 100%; max-width: none; margin-top: 10px; }
  .hero-visual { min-width: 0; }
  .photo-caption { bottom: 16px; }
  .contact-phone > a { font-size: min(57px, 15vw); }
  .footer-main, .footer-links { row-gap: 12px; }
  .search-box input { font-size: 16px; }
}
.header-actions .subscribe-button .lucide-youtube {
  display: block;
  width: 38px;
  height: 30px;
  flex-shrink: 0;
}
.subscribe-button .lucide-youtube path:first-child {
  fill: #ff0033;
  stroke: white;
  stroke-width: 0.75;
}
.subscribe-button .lucide-youtube path:last-child {
  fill: white;
  stroke: white;
  stroke-width: 0.5;
}

.playlist-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.playlist-links > span { grid-column: 1 / -1; }
.playlist-links a, :is(#videos, #blog, #instagram, #tiktok) .section-heading > .text-link {
  min-height: 52px;
  padding: 10px 16px;
  gap: 10px;
  border: 1px solid var(--button-edge);
  border-radius: var(--button-radius);
  background: #fff;
  color: var(--button-ink);
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 600;
  word-break: keep-all;
}
.playlist-links a { justify-content: space-between; }
.playlist-links a svg, :is(#videos, #blog, #instagram, #tiktok) .section-heading > .text-link svg { flex: none; width: 19px; height: 19px; }
.playlist-links a:hover, :is(#videos, #blog, #instagram, #tiktok) .section-heading > .text-link:hover { background: var(--button-mist); }
.playlist-links a:focus-visible, :is(#videos, #blog, #instagram, #tiktok) .section-heading > .text-link:focus-visible {
  outline: 3px solid var(--button-teal);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .playlist-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .playlist-links a, :is(#videos, #blog, #instagram, #tiktok) .section-heading > .text-link { font-size: 1.25rem; padding-inline: 12px; }
}
@media (max-width: 460px) {
  .header-inner { width: calc(100% - 16px); }
  .header-actions .subscribe-button .lucide-youtube { width: 32px; height: 26px; }
  .subscribe-button { padding-inline: 5px; gap: 3px; }
}
@media (max-width: 370px) {
  .header-inner { width: calc(100% - 8px); gap: 2px; }
  .header-inner .brand { gap: 3px; }
  .header-inner .brand-symbol { width: 20px; height: 20px; }
  .playlist-links { grid-template-columns: minmax(0, 1fr); }
}
company-social-feed { display:block; } company-social-feed .section-heading h2 { margin:0; }
.video-toolbar > .playlist-links {flex:1; min-width:0; margin:0; padding:0; border:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;}
.video-toolbar > .playlist-links > span {grid-column:1/-1;}
.video-toolbar > .playlist-links a {min-height:44px; box-sizing:border-box; justify-content:center; padding:6px; text-align:center; border:1px solid #ccd2c7; border-radius:6px;}
@media (max-width: 700px) {
  .video-toolbar > .playlist-links {
    width: 100%;
    gap: 5px;
    align-items: stretch;
  }
  .video-toolbar > .playlist-links a {
    min-width: 0;
    min-height: 42px;
    padding: 4px 3px;
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .video-toolbar > .playlist-links a svg { display: none; }
}
#videos-title {display:flex; align-items:center; gap:.25em;} #videos-title .youtube-title-logo {width:.88em;height:.7em;flex:none;}
.featured-copy small { color: #526150; }
.featured-copy strong { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.35; }
.featured-copy > span { color: #a13923; font-weight: 700; }
@media (max-width: 767px) { .feed-preview > article ~ article { display: none; } }
@media (max-width: 767px) {
  :is(#blog, #instagram).blog-section { padding-bottom: 64px; }
  :is(#instagram, #tiktok).blog-section { padding-top: 60px; }
}
@media (max-width: 600px) {
  :is(#blog, #instagram).blog-section { padding-bottom: 40px; }
  :is(#instagram, #tiktok).blog-section { padding-top: 36px; }
}
