/*
Theme Name: LeaksDude
Theme URI: https://example.com/leaksdude
Author: LeaksDev
Author URI: https://example.com
Description: Milky white high-impact theme with liquid borders, splash motion, and dark contrast.
Version: 1.6.28
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: leaksdude
*/

:root {
  --milk: #fffdf8;
  --milk-soft: #fff8ef;
  --cream: #ffeed7;
  --ink: #070709;
  --ink-soft: #17171c;
  --line: rgba(0, 0, 0, 0.18);
  --text: #0e0e13;
  --muted: #5b5b67;
  --accent: #111116;
  --gold-1: #ffe79d;
  --gold-2: #ffc63d;
  --gold-3: #f0970d;
  --radius: 24px;
  --wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at -10% -20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
    radial-gradient(1000px 800px at 110% -10%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #fdf8ef 0%, #faf3e8 35%, #efe9e0 100%);
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
}

body::before {
  width: 46vw;
  height: 46vw;
  min-width: 300px;
  min-height: 300px;
  left: -14vw;
  top: -18vw;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.9), rgba(250, 245, 238, 0.42), rgba(250, 245, 238, 0));
  animation: milk-drift-a 9s ease-in-out infinite alternate;
}

body::after {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  right: -10vw;
  bottom: -18vw;
  background: radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.85), rgba(241, 233, 223, 0.55), rgba(241, 233, 223, 0));
  animation: milk-drift-b 11s ease-in-out infinite alternate;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #000;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(300px 160px at 12% -42%, rgba(255, 221, 136, 0.56), rgba(255, 255, 255, 0)),
    radial-gradient(320px 170px at 88% -38%, rgba(255, 201, 92, 0.52), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 247, 232, 0.84));
  border-bottom: 1px solid rgba(192, 129, 28, 0.28);
  box-shadow: 0 10px 26px rgba(165, 108, 11, 0.1);
  z-index: 40;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 8px));
  box-shadow: none;
}

.head-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  padding: 0.38rem 0 0.44rem;
}

.brand {
  display: grid;
  justify-items: center;
  text-align: center;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}

.brand-title {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1;
  color: #c27a0a;
  background: linear-gradient(180deg, #fff4c2 0%, #ffd666 36%, #ffae20 74%, #e88600 100%);
  text-shadow:
    0 1px 0 rgba(255, 250, 226, 0.95),
    0 2px 8px rgba(148, 87, 5, 0.28);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-title {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo .custom-logo {
  width: min(170px, 42vw);
  min-width: 120px;
  max-width: 100%;
  height: auto;
  display: block;
  visibility: visible;
  opacity: 1;
  filter: drop-shadow(0 4px 10px rgba(140, 88, 7, 0.24));
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  width: min(170px, 42vw);
  min-width: 120px;
  max-width: 100%;
  height: auto;
  display: block;
  visibility: visible;
  opacity: 1;
  filter: drop-shadow(0 4px 10px rgba(140, 88, 7, 0.24));
}

.brand-tag {
  color: #7a5a1f;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.04rem 0 0;
  white-space: normal;
}

.brand-tag-link {
  color: inherit;
  text-decoration: none;
}

.brand-tag-link:hover .brand-tag {
  color: #5f430f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 900px) {
  .head-row {
    display: grid;
    grid-template-columns: auto minmax(360px, 620px) auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.5rem 0 0.58rem;
  }

  .brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.55rem;
    min-width: 280px;
  }

  .brand-logo .custom-logo,
  .brand-logo-img {
    width: min(220px, 24vw);
  }

  .brand-tag {
    margin: 0;
    white-space: nowrap;
    font-size: 0.68rem;
  }

  .main-nav ul {
    justify-content: flex-end;
  }

  .header-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
  }

  .header-filter .category-filter {
    margin: 0;
  }

  .header-search {
    width: min(320px, 100%);
  }
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 0.28rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 123, 27, 0.38);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(255, 238, 204, 0.8));
  color: #6d4300;
  font-weight: 700;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #fff6dc, #ffd67a);
  border-color: rgba(176, 111, 9, 0.62);
  color: #4f2e00;
}

.hero {
  margin: 1.4rem 0 1rem;
  padding: clamp(1.3rem, 3vw, 2.1rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(130px 65px at 7% 7%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 67%),
    radial-gradient(150px 80px at 90% 5%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%),
    linear-gradient(140deg, #fffdfb, #f7f0e6 58%, #ece3d7);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: panel-in 0.7s ease both;
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3.7vw, 2.8rem);
  line-height: 1.07;
}

.hero p {
  margin: 0;
  color: #444450;
}

.category-filter {
  margin-top: 1rem;
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.58rem;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 232, 0.88));
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.header-filter .category-filter {
  margin-top: 0;
  padding: 0.42rem;
  border-radius: 13px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.header-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.header-search {
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 232, 0.88));
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.header-search-input {
  min-width: 190px;
  border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 0.45rem 0.65rem;
  background: linear-gradient(140deg, #fff, #f2ece4);
  color: #111;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
}

.header-search-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.header-search-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #000;
  background: linear-gradient(145deg, #16161d, #050507);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-select {
  position: relative;
  min-width: 250px;
}

.site-select-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 0.52rem 0.72rem;
  background: linear-gradient(140deg, #fff, #f2ece4);
  color: #111;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
}

.site-select-current {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.site-select-current-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.site-select-current-icon.is-default::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d4300;
}

.site-select-current-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-select-current-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-select-caret {
  width: 0.52rem;
  height: 0.52rem;
  border-right: 2px solid #151515;
  border-bottom: 2px solid #151515;
  transform: rotate(45deg);
  margin-top: -0.16rem;
}

.site-select-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 30;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fffdf7;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  padding: 0.35rem;
  max-height: 280px;
  overflow: auto;
}

.site-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.46rem;
  border-radius: 8px;
  text-align: left;
  color: #111;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
}

.site-option-label {
  font: inherit;
}

.site-select-option:hover {
  background: #fff2d4;
}

.site-select-option.is-active {
  background: #ffe7a9;
}

.site-option-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 16px;
}

.site-option-icon-default {
  background: #6d4300;
}

.header-filter .site-select {
  min-width: 220px;
}

.cat-submit {
  border-radius: 11px;
  border: 1px solid #000;
  padding: 0.57rem 0.9rem;
  font-weight: 800;
  background: linear-gradient(145deg, #16161d, #050507);
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.24);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.post-col {
  grid-column: span 4;
}

.post-card {
  position: relative;
  isolation: isolate;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff, #f4ede2 55%, #ede4d8);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(12px) scale(0.985);
  opacity: 0;
  animation: rise-in 0.62s cubic-bezier(0.21, 0.84, 0.33, 1) forwards;
}

.post-card::before,
.post-card::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.post-card::before {
  inset: -3px;
  background:
    radial-gradient(42px 26px at 8% 3%, rgba(255, 255, 255, 0.98), transparent 68%),
    radial-gradient(54px 34px at 93% 2%, rgba(255, 255, 255, 0.94), transparent 68%),
    radial-gradient(44px 28px at 94% 96%, rgba(255, 252, 244, 0.95), transparent 68%),
    radial-gradient(42px 26px at 7% 96%, rgba(255, 252, 244, 0.94), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.92;
  animation: milk-edge 3.1s ease-in-out infinite alternate;
}

.post-card::after {
  inset: -2px;
  border: 2px solid transparent;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 235, 0.85), rgba(255, 255, 255, 0.98)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.post-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.24) 100%);
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .thumb-wrap img {
  transform: scale(1.06);
}

.post-body {
  padding: 0.95rem 1rem 1.15rem;
}

.post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.62rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, #22232b, #0a0a0d);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cat-pill-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 14px;
}

.cat-pill-icon-default {
  background: rgba(255, 255, 255, 0.92);
}

.cat-pill-text {
  line-height: 1;
}

.cat-pill:hover {
  background: linear-gradient(145deg, #33343f, #121217);
}

.post-title {
  margin: 0 0 0.5rem;
  font-size: 1.04rem;
  line-height: 1.36;
}

.post-meta {
  margin: 0;
  color: #44434d;
  font-size: 0.79rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.post-first-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: #242433;
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-first-tag:hover {
  color: #13131c;
  background: rgba(255, 255, 255, 0.95);
}

.single-shell {
  margin: 1rem 0 2rem;
}

.single-card {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(160deg, #fffcf7, #f0e9de);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.14);
  padding: clamp(1.1rem, 2vw, 1.8rem);
  animation: panel-in 0.62s ease both;
}

.single-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(52px 30px at 4% 0%, rgba(255, 255, 255, 0.96), transparent 68%),
    radial-gradient(56px 36px at 98% 0%, rgba(255, 255, 255, 0.93), transparent 68%),
    radial-gradient(52px 30px at 98% 99%, rgba(255, 255, 255, 0.92), transparent 68%),
    radial-gradient(52px 30px at 2% 99%, rgba(255, 255, 255, 0.9), transparent 68%);
}

.single-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.58rem, 3vw, 2.42rem);
  line-height: 1.1;
}

.single-meta {
  color: #4d4d59;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.single-cats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.single-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #1d1d26;
  font-size: 0.72rem;
  font-weight: 800;
}

.single-tags {
  margin: -0.1rem 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.single-tags-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #1a1a24;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.34rem 0.74rem;
  cursor: pointer;
}

.single-tags-toggle:hover {
  background: #f8f1e5;
  border-color: rgba(0, 0, 0, 0.28);
}

.single-tags-more > summary::-webkit-details-marker {
  display: none;
}

.single-tags-more > summary {
  list-style: none;
}

.single-tags-toggle-less {
  display: none;
}

.single-tags-more[open] .single-tags-toggle-more {
  display: none;
}

.single-tags-more[open] .single-tags-toggle-less {
  display: inline;
}

.single-tags-extra {
  margin-top: 0.5rem;
}

.single-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 237, 223, 0.86));
  color: #1a1a26;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.single-tag-pill:hover {
  color: #0f0f18;
  border-color: rgba(0, 0, 0, 0.26);
  background: linear-gradient(145deg, #ffffff, #f5ead8);
}

.single-media {
  margin: 0 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: #0b0b10;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26);
}

.single-media-link {
  position: relative;
  display: block;
}

.single-media img {
  width: 100%;
  height: auto;
  display: block;
}

.single-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
  transition: background 0.2s ease;
}

.single-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(8, 8, 12, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  text-indent: 3px;
  transition: transform 0.18s ease;
}

.single-media-link:hover .single-media-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.single-media-link:hover .single-play-icon {
  transform: scale(1.05);
}

.source-cta-wrap {
  margin: 1rem auto 1.15rem;
  text-align: center;
}

.source-cta {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  border-radius: 999px;
  border: 1px solid #000;
  padding: 0.78rem 1.45rem;
  min-width: 210px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, #101015, #020204);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  animation: source-pulse 2.2s ease-in-out infinite;
}

.source-cta-icon {
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-1px);
}

.source-cta::before {
  content: "";
  position: absolute;
  inset: -120% -20%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateX(-80%) rotate(12deg);
  animation: source-shine 2.8s ease-in-out infinite;
}

.source-cta:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.31);
  background: linear-gradient(145deg, #252530, #09090d);
}

.single-content {
  color: #13131a;
  line-height: 1.75;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.single-video-nav {
  margin-top: 1.3rem;
}

.video-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.video-nav-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(160deg, #fffefb, #f5ece0);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.video-nav-card img,
.video-nav-no-thumb {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  background: linear-gradient(150deg, #f2dfc5, #e1c08a);
}

.video-nav-label {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.67rem;
  font-weight: 800;
  color: #fff;
  background: rgba(12, 12, 16, 0.78);
}

.video-nav-title {
  display: block;
  padding: 0.55rem 0.65rem 0.65rem;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.32;
  color: #1c1c26;
}

.single-random-videos {
  margin-top: 1.35rem;
}

.single-random-title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.single-random-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.single-random-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: linear-gradient(160deg, #fffefb, #f4eadb);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.single-random-thumb,
.single-random-thumb img,
.single-random-no-thumb {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: linear-gradient(150deg, #f3dfbf, #e0bc83);
}

.single-random-card-title {
  display: block;
  padding: 0.5rem 0.6rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  color: #1a1a24;
}

.pagination {
  margin: 1.4rem 0 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination ul,
.pagination ul.page-numbers {
  margin: 0;
  padding: 0.38rem;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 252, 245, 0.8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.pagination li,
.pagination ul.page-numbers li {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
}

.pagination .page-numbers {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #1a1a24;
  padding: 0.43rem 0.75rem;
  font-weight: 700;
  min-width: 38px;
  text-align: center;
}

.pagination .current {
  color: #fff;
  background: linear-gradient(145deg, #15151d, #050507);
  border-color: #000;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: #585866;
  font-size: 0.86rem;
  padding: 1.2rem 0 2rem;
}

.site-footer .site-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.footer-about-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-about-logo {
  width: min(220px, 62vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 5px 12px rgba(140, 88, 7, 0.2));
}

.footer-about-link {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #5f430f;
}

.footer-about-link:hover {
  color: #3f2b06;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise-in {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes milk-edge {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.08);
  }
}

@keyframes panel-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes source-shine {
  0% {
    transform: translateX(-80%) rotate(12deg);
  }
  55% {
    transform: translateX(80%) rotate(12deg);
  }
  100% {
    transform: translateX(80%) rotate(12deg);
  }
}

@keyframes source-pulse {
  0% {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26), 0 0 0 0 rgba(0, 0, 0, 0.25);
  }
  70% {
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26), 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes milk-drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3vw, 2vw) scale(1.06);
  }
}

@keyframes milk-drift-b {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3vw, -2vw) scale(1.04);
  }
}

@media (max-width: 899px) {
  .post-col {
    grid-column: span 6;
  }

  .single-random-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .post-col {
    grid-column: span 12;
  }

  .video-nav-grid {
    grid-template-columns: 1fr;
  }

.single-random-grid {
  grid-template-columns: 1fr;
}

  .head-row {
    gap: 0.2rem;
    padding: 0.24rem 0 0.28rem;
  }

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 0.08rem;
  }

  .brand-logo .custom-logo {
    width: min(120px, 46vw);
  }

  .brand-logo-img {
    width: min(120px, 46vw);
  }

  .brand-tag {
    font-size: 0.52rem;
    letter-spacing: 0.03em;
  }

  .header-filter .category-filter {
    width: 100%;
    display: inline-flex;
  }

  .header-filter .site-select {
    min-width: 0;
    width: calc(100% - 42px);
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
    gap: 0.34rem;
  }

  .header-search {
    width: 36px;
    min-width: 36px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    order: 2;
  }

  .header-filter {
    width: calc(100% - 44px);
    order: 1;
  }

  .header-search-input {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 200px;
    max-width: 72vw;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
    z-index: 33;
  }

  .header-search.is-open .header-search-input {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* LD HOME ADSPOT STYLES V1 */
.post-col--home-ad {
  grid-column: 1 / -1;
}

.home-adspot {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(160deg, #fffefb, #f2e7d7);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  padding: 0.8rem;
  overflow: hidden;
}

.home-adspot > *:first-child { margin-top: 0; }
.home-adspot > *:last-child  { margin-bottom: 0; }
/* /LD HOME ADSPOT STYLES V1 */

/* LD HOME ADSPOT DEFER V2 STYLES */
.home-adspot--deferred {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-adspot-placeholder {
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e5530;
  opacity: 0.78;
}
/* /LD HOME ADSPOT DEFER V2 STYLES */

/* BEGIN LD SINGLE ADSPOT STYLES V1 */
.single-adspot {
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(160deg, #fffefb, #f2e7d7);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  padding: 0.8rem;
  overflow: hidden;
}

.single-adspot--after-media {
  margin-top: 1rem;
  margin-bottom: 1.15rem;
}

.single-adspot--before-more {
  margin-top: 1.35rem;
  margin-bottom: 0.9rem;
}

.single-adspot > *:first-child {
  margin-top: 0;
}

.single-adspot > *:last-child {
  margin-bottom: 0;
}

.single-adspot iframe,
.single-adspot img,
.single-adspot video {
  max-width: 100%;
}
/* END LD SINGLE ADSPOT STYLES V1 */
