/*
Theme Name: VideoCure
Theme URI: https://videocure.com/
Author: VideoCure
Author URI: https://videocure.com/
Description: A lightweight reference desk theme for useful links, updated addresses, media notes, source checks, and safer browsing guides.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: videocure-com
*/

:root {
  --vc-ink: #171923;
  --vc-muted: #647083;
  --vc-line: #d9dee7;
  --vc-paper: #ffffff;
  --vc-wash: #f4f7fb;
  --vc-green: #13795b;
  --vc-blue: #2459a6;
  --vc-red: #bd3b45;
  --vc-amber: #c87a1b;
  --vc-max: 1180px;
}

* {
  box-sizing: border-box;
}

body.vc-theme-body {
  margin: 0;
  min-height: 100vh;
  background: var(--vc-wash);
  color: var(--vc-ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}

body.vc-theme-body a {
  color: inherit;
  text-decoration: none;
}

body.vc-theme-body img {
  max-width: 100%;
  height: auto;
}

.vc-site {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 25, 35, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #ffffff 0, #f4f7fb 520px, #eef3f8 100%);
}

.vc-alert {
  border-bottom: 1px solid var(--vc-line);
  background: var(--vc-ink);
  color: #ffffff;
}

.vc-alert-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--vc-max);
  margin: 0 auto;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 700;
}

.vc-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--vc-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

body.admin-bar .vc-header {
  top: 32px;
}

.vc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--vc-max);
  margin: 0 auto;
  padding: 18px 22px;
}

.vc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
}

.vc-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.vc-brand strong {
  display: block;
  color: var(--vc-ink);
  font-size: 22px;
  line-height: 1;
}

.vc-brand span span {
  display: block;
  margin-top: 5px;
  color: var(--vc-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.vc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vc-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 11px;
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
  color: #243044;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.vc-nav a:nth-child(2n) {
  background: #f7fbf9;
}

.vc-main,
.vc-page-main {
  max-width: var(--vc-max);
  margin: 0 auto;
  padding: 34px 22px 58px;
}

.vc-edition {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  min-height: 510px;
}

.vc-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 0;
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: var(--vc-paper);
  overflow: hidden;
}

.vc-lead-copy {
  padding: clamp(28px, 5vw, 58px);
}

.vc-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--vc-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vc-lead h1,
.vc-page-article h1 {
  max-width: 720px;
  margin: 0;
  color: var(--vc-ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.vc-lead p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--vc-muted);
  font-size: 18px;
  line-height: 1.75;
}

.vc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.vc-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--vc-ink);
  border-radius: 8px;
  background: var(--vc-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.vc-actions a + a {
  background: #ffffff;
  color: var(--vc-ink);
}

.vc-meter {
  display: grid;
  align-content: stretch;
  border-left: 1px solid var(--vc-line);
  background: #f8fafc;
}

.vc-meter div {
  display: grid;
  align-content: center;
  min-height: 122px;
  padding: 20px;
  border-bottom: 1px solid var(--vc-line);
}

.vc-meter div:last-child {
  border-bottom: 0;
}

.vc-meter small,
.vc-desk-list small,
.vc-category small,
.vc-archive-list small {
  color: var(--vc-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.vc-meter b {
  display: block;
  margin-top: 8px;
  color: var(--vc-ink);
  font-size: 23px;
  line-height: 1.05;
}

.vc-desk {
  display: grid;
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.vc-desk-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--vc-line);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 900;
}

.vc-desk-list {
  display: grid;
}

.vc-desk-list article {
  padding: 18px;
  border-bottom: 1px solid var(--vc-line);
}

.vc-desk-list article:last-child {
  border-bottom: 0;
}

.vc-desk-list b {
  display: block;
  margin-top: 7px;
  color: var(--vc-ink);
  font-size: 17px;
  line-height: 1.25;
}

.vc-desk-list p {
  margin: 8px 0 0;
  color: var(--vc-muted);
  font-size: 14px;
}

.vc-section {
  margin-top: 26px;
}

.vc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.vc-section-head h2 {
  margin: 0;
  color: var(--vc-ink);
  font-size: 25px;
  line-height: 1.1;
}

.vc-section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--vc-muted);
  font-size: 14px;
}

.vc-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.vc-category {
  min-height: 196px;
  padding: 22px;
  border-right: 1px solid var(--vc-line);
  border-bottom: 1px solid var(--vc-line);
}

.vc-category:nth-child(3n) {
  border-right: 0;
}

.vc-category:nth-child(n+4) {
  border-bottom: 0;
}

.vc-category small {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--vc-red);
}

.vc-category h2 {
  margin: 0;
  color: var(--vc-ink);
  font-size: 23px;
  line-height: 1.12;
}

.vc-category p {
  margin: 13px 0 0;
  color: var(--vc-muted);
  font-size: 14px;
}

.vc-inline-posts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.vc-inline-posts a {
  padding-top: 8px;
  border-top: 1px solid var(--vc-line);
  color: var(--vc-blue);
  font-size: 13px;
  font-weight: 800;
}

.vc-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 26px;
}

.vc-note,
.vc-lanes,
.vc-page-article,
.vc-related-posts {
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
}

.vc-note {
  padding: 24px;
  border-top: 6px solid var(--vc-green);
}

.vc-note h2,
.vc-lanes h2,
.vc-related-posts h2 {
  margin: 0 0 14px;
  color: var(--vc-ink);
  font-size: 22px;
}

.vc-note p {
  margin: 0;
  color: var(--vc-muted);
}

.vc-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.vc-lanes h2 {
  grid-column: 1 / -1;
  padding: 20px 22px 0;
}

.vc-lanes span {
  display: block;
  min-height: 86px;
  padding: 18px 22px;
  border-top: 1px solid var(--vc-line);
  color: var(--vc-muted);
  font-size: 14px;
  font-weight: 700;
}

.vc-lanes span:nth-child(2n) {
  border-right: 1px solid var(--vc-line);
}

.vc-page-main {
  display: grid;
  gap: 22px;
}

.vc-page-article {
  padding: clamp(28px, 5vw, 58px);
}

.vc-page-article h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.vc-page-body {
  max-width: 780px;
  margin-top: 24px;
  color: var(--vc-muted);
  font-size: 17px;
  line-height: 1.75;
}

.vc-page-body h2,
.vc-page-body h3 {
  margin: 30px 0 10px;
  color: var(--vc-ink);
  line-height: 1.2;
}

.vc-page-body p {
  margin: 0 0 16px;
}

.vc-related-posts {
  padding: 24px;
}

.vc-archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vc-archive-list article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
}

.vc-archive-list h2,
.vc-archive-list h3 {
  margin: 8px 0 0;
  color: var(--vc-ink);
  font-size: 20px;
  line-height: 1.22;
}

.vc-archive-list h3 {
  font-size: 18px;
}

.vc-archive-list p {
  margin: 10px 0 0;
  color: var(--vc-muted);
  font-size: 14px;
}

.vc-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--vc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--vc-muted);
  font-weight: 700;
}

.vc-single-meta {
  margin-top: 14px;
  color: var(--vc-blue);
  font-size: 13px;
  font-weight: 900;
}

.vc-featured-image {
  margin: 24px 0 0;
}

.vc-featured-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--vc-line);
}

.vc-pagination {
  display: flex;
  gap: 10px;
}

.vc-pagination a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--vc-line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 900;
}

.vc-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--vc-max);
  margin: 0 auto;
  padding: 24px 22px 34px;
  color: var(--vc-muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  body.admin-bar .vc-header {
    top: 46px;
  }

  .vc-alert-inner,
  .vc-header-inner,
  .vc-section-head,
  .vc-footer {
    display: grid;
  }

  .vc-nav {
    justify-content: flex-start;
  }

  .vc-edition,
  .vc-bottom,
  .vc-lead {
    grid-template-columns: 1fr;
  }

  .vc-meter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--vc-line);
  }

  .vc-meter div {
    min-height: 116px;
    border-right: 1px solid var(--vc-line);
    border-bottom: 0;
  }

  .vc-meter div:last-child {
    border-right: 0;
  }

  .vc-category-grid,
  .vc-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vc-category,
  .vc-category:nth-child(3n),
  .vc-category:nth-child(n+4) {
    border-right: 1px solid var(--vc-line);
    border-bottom: 1px solid var(--vc-line);
  }

  .vc-category:nth-child(2n) {
    border-right: 0;
  }

  .vc-category:nth-child(n+5) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .vc-main,
  .vc-page-main {
    padding-inline: 14px;
  }

  .vc-header-inner {
    padding-inline: 14px;
  }

  .vc-brand {
    min-width: 0;
  }

  .vc-brand strong {
    font-size: 19px;
  }

  .vc-brand img {
    width: 40px;
    height: 40px;
  }

  .vc-nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .vc-lead-copy,
  .vc-page-article {
    padding: 26px 20px;
  }

  .vc-lead h1,
  .vc-page-article h1 {
    font-size: 40px;
  }

  .vc-meter,
  .vc-category-grid,
  .vc-lanes,
  .vc-archive-list {
    grid-template-columns: 1fr;
  }

  .vc-meter div,
  .vc-category,
  .vc-category:nth-child(2n),
  .vc-category:nth-child(3n),
  .vc-category:nth-child(n+4),
  .vc-category:nth-child(n+5),
  .vc-lanes span:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--vc-line);
  }

  .vc-meter div:last-child,
  .vc-category:last-child {
    border-bottom: 0;
  }
}
