/*
Theme Name: AI Day
Theme URI: https://ai-day.info
Author: AI Day
Description: AIサービス発見メディア「今日のAIサービス」用WordPressテーマ。
Version: 0.8.6
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: ai-day
*/

:root {
  --ink: #090b0c;
  --text: #22282c;
  --muted: #717b82;
  --soft: #f6f8f8;
  --paper: #fbfcfc;
  --surface: #ffffff;
  --line: #e7ebee;
  --line-strong: #dce2e5;
  --teal: #008f80;
  --teal-dark: #00796d;
  --teal-soft: #e7f7f4;
  --blue: #2d7fd3;
  --purple: #7b55d9;
  --orange: #f28b22;
  --lime: #62a638;
  --indigo: #476fd5;
  --red: #ff2f4f;
  --shadow: 0 16px 42px rgba(24, 35, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 14%, rgba(0, 143, 128, 0.055), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fbfcfc 56%, #f6f8f8 100%);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 248px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 30px;
  display: inline-block;
}

.brand-mark i,
.brand-mark b {
  position: absolute;
  display: block;
  background: var(--teal);
}

.brand-mark i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(0, 143, 128, 0.1);
}

.brand-mark i:nth-child(1) { left: 10px; top: 0; }
.brand-mark i:nth-child(2) { left: 0; bottom: 1px; }
.brand-mark i:nth-child(3) { right: 0; bottom: 1px; }
.brand-mark b {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  transform-origin: left center;
  opacity: 0.8;
}
.brand-mark b:nth-child(4) { left: 9px; top: 10px; transform: rotate(118deg); }
.brand-mark b:nth-child(5) { left: 13px; top: 10px; transform: rotate(62deg); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  color: #252c30;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.icon-search {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.icon-search::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid #1a2227;
  border-radius: 999px;
}

.icon-search::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 25px;
  width: 10px;
  height: 2px;
  background: #1a2227;
  border-radius: 999px;
  transform: rotate(45deg);
}

.login-button,
.header-submit,
.button-dark {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.login-button {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(22, 28, 32, 0.04);
}

.header-submit {
  gap: 8px;
  color: #fff;
  background: linear-gradient(180deg, #009b8a, #007f73);
  box-shadow: 0 10px 22px rgba(0, 127, 115, 0.22);
}

.header-submit span {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-top: 0;
}

.header-submit span::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 2px;
  height: 14px;
  background: #fff;
}

.header-submit span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: -8px;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

.top-layout,
.content-layout,
.category-panel,
.single-wrap,
.archive-wrap {
  width: min(1580px, calc(100% - 64px));
  margin-inline: auto;
}

.top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 36px;
  align-items: start;
  padding: 36px 0 20px;
}

.hero-copy {
  padding: 22px 0 0 28px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--teal);
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 28px;
  color: #4c565b;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  width: min(760px, 100%);
  min-height: 68px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(28, 37, 43, 0.06);
}

.search-box label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 16px;
}

.search-box label span {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.search-box label span::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 13px;
  height: 13px;
  border: 2px solid #9aa3a8;
  border-radius: 999px;
}

.search-box label span::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 8px;
  height: 2px;
  background: #9aa3a8;
  border-radius: 999px;
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}

.search-box input::placeholder {
  color: #9aa3a8;
}

.search-box button {
  color: #fff;
  background: linear-gradient(180deg, #009b8a, #007c70);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.quick-cats a,
.category-cards a {
  border: 1px solid currentColor;
}

.quick-cats a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.cat-green { color: var(--teal); background-color: #ebfaf7 !important; }
.cat-blue { color: var(--blue); background-color: #eef7ff !important; }
.cat-purple { color: var(--purple); background-color: #f4f0ff !important; }
.cat-orange { color: var(--orange); background-color: #fff6ec !important; }
.cat-lime { color: var(--lime); background-color: #f2faec !important; }
.cat-indigo { color: var(--indigo); background-color: #f0f4ff !important; }
.cat-all { color: #7a8388; background-color: #fff !important; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(920px, 100%);
  min-height: 44px;
  align-items: center;
  padding: 0 22px;
  color: #343c40;
  background: rgba(246, 248, 248, 0.95);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.trust-strip span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.today-card,
.panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.today-card {
  padding: 24px 24px 8px;
}

.today-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.today-head p {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.today-head h2,
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;
}

.today-arrows {
  display: flex;
  gap: 8px;
}

.today-arrows span {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.today-arrows span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #b9c0c4;
  border-left: 2px solid #b9c0c4;
  transform: rotate(-45deg);
}

.today-arrows span:nth-child(2)::before {
  left: 10px;
  transform: rotate(135deg);
}

.pick-visual {
  position: relative;
  overflow: hidden;
  height: 156px;
  margin: 18px 0 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.58)),
    radial-gradient(circle at 78% 20%, rgba(0, 143, 128, 0.55), transparent 30%),
    #0e1114;
  border-radius: 9px 9px 0 0;
}

.pick-logo {
  position: absolute;
  left: 24px;
  top: 32px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #050607;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.05);
}

.pick-logo::before,
.pick-logo::after {
  content: "";
  position: absolute;
  left: 20px;
  width: 32px;
  height: 18px;
  background: #fff;
  transform: skewY(-22deg) rotate(45deg);
}

.pick-logo::before { top: 20px; }
.pick-logo::after { top: 34px; opacity: 0.82; }

.pick-screen {
  position: absolute;
  right: 18px;
  top: 25px;
  width: 270px;
  height: 110px;
  padding: 16px;
  background: rgba(20, 24, 26, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
}

.pick-screen span {
  display: block;
  height: 12px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

.pick-screen span:nth-child(1) { width: 76%; height: 20px; background: rgba(255,255,255,0.9); }
.pick-screen span:nth-child(2) { width: 92%; }
.pick-screen span:nth-child(3) { width: 64%; }
.pick-screen span:nth-child(4) { width: 82%; background: rgba(0,143,128,0.7); }

.pick-body {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-top: 0;
}

.pick-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 950;
  line-height: 1.2;
}

.pick-body h3 span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 950;
}

.pick-body p {
  margin: 0 0 12px;
  color: #5c666c;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.75;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.post-categories a,
.tag-cloud-link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 7px;
  font-size: 12px !important;
  font-weight: 900;
}

.chip.blue { color: var(--blue); background: #e9f3ff; }
.chip.gray { color: #757f85; background: #f1f3f4; }

.pick-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  color: #626c72;
  font-size: 12px;
  font-weight: 850;
}

.avatars {
  display: flex;
  margin-right: 2px;
}

.avatars i {
  width: 22px;
  height: 22px;
  margin-left: -5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd0a3, #7ab7ef);
}

.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #e1bdff, #86dacb); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #ffd7d7, #fac15b); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #9cc2ff, #222); }

.pick-foot strong {
  margin-left: auto;
  color: var(--ink);
}

.pick-foot strong::before {
  content: "★★★★★";
  margin-right: 7px;
  color: #ffc400;
  letter-spacing: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 5px;
}

.slider-dots i {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #e2e6e8;
}

.slider-dots i:first-child {
  background: var(--teal);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 20px;
  align-items: start;
  padding: 0 0 20px;
}

.panel {
  padding: 22px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-head h2::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

.section-new h2::before {
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='20' height='20' rx='5' fill='%23E7F7F4' stroke='%23008F80' stroke-width='2.4'/%3E%3Crect x='12' y='12' width='8' height='8' rx='2' fill='%23008F80' fill-opacity='.18'/%3E%3Cpath d='M7.5 18.5V14M12.5 18.5V10.5M17.5 18.5V13' stroke='%23008F80' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-ranking h2::before {
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='20' height='20' rx='5' fill='%23FFF6DC' stroke='%23F1AD18' stroke-width='2.4'/%3E%3Cpath d='M7.5 11.5l3.4 2.8 2.1-5.3 2.1 5.3 3.4-2.8-.9 6H8.4l-.9-6z' fill='%23F1AD18' fill-opacity='.22' stroke='%23F1AD18' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='13' cy='8.7' r='1.3' fill='%23F1AD18'/%3E%3C/svg%3E");
}

.section-category h2::before {
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='20' height='20' rx='5' fill='%23E7F7F4' stroke='%23008F80' stroke-width='2.4'/%3E%3Ccircle cx='13' cy='8.5' r='2' fill='%23008F80'/%3E%3Ccircle cx='8.5' cy='17' r='2' fill='%23008F80' fill-opacity='.75'/%3E%3Ccircle cx='17.5' cy='17' r='2' fill='%23008F80' fill-opacity='.75'/%3E%3Cpath d='M12 10.2l-2.6 4.8M14 10.2l2.6 4.8' stroke='%23008F80' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-head a {
  color: #4b555a;
  font-size: 13px;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.post-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 35, 41, 0.06);
}

.service-card::before {
  content: "NEW";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(180deg, #ff3150, #f11f43);
  border-radius: 8px 0 8px 0;
  font-size: 12px;
  font-weight: 950;
}

.service-art,
.post-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  overflow: hidden;
  background: #101417;
}

.service-art span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.demo-dark .service-art {
  background:
    radial-gradient(circle at 78% 24%, rgba(17, 123, 150, 0.45), transparent 34%),
    linear-gradient(135deg, #081015, #253943);
}

.demo-orange .service-art {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.26), transparent 45%),
    linear-gradient(135deg, #ffae1b, #ff8d00);
}

.demo-pale .service-art {
  background:
    linear-gradient(135deg, rgba(0, 143, 128, 0.12), transparent),
    #eefcff;
}

.demo-pale .service-art span {
  color: #26323a;
  max-width: 78%;
  font-size: 20px;
}

.demo-pink .service-art {
  background:
    radial-gradient(circle at 82% 50%, rgba(221, 140, 166, 0.45), transparent 34%),
    linear-gradient(135deg, #fff0f7, #f7dce8);
}

.demo-pink .service-art span {
  color: #333;
  font-size: 22px;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body,
.post-card-body {
  min-height: 210px;
  padding: 14px 14px 16px;
}

.service-card h3,
.post-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.35;
}

.service-card p,
.post-card p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #5d666c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.7;
}

.like-count {
  margin-top: 18px;
  color: #697278;
  font-size: 14px;
  font-weight: 850;
  text-align: right;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 52px;
  grid-template-areas:
    "rank title likes"
    "rank desc likes";
  column-gap: 14px;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
}

.ranking-list span {
  grid-area: rank;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a650c;
  background: #ffe5ae;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
}

.ranking-list li:nth-child(2) span { color: #6b7378; background: #e5ebef; }
.ranking-list li:nth-child(3) span { color: #a65b22; background: #ffd3b2; }
.ranking-list li:nth-child(n+4) span { color: #20282d; background: transparent; }

.ranking-list b {
  grid-area: title;
  align-self: end;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.ranking-list small {
  grid-area: desc;
  align-self: start;
  overflow: hidden;
  color: #68737a;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-list em {
  grid-area: likes;
  color: #69737a;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.ranking-list em::before {
  content: "笙｡ ";
}

.ranking-more {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: #1d4f4a;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 950;
}

.category-panel {
  margin-bottom: 48px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-cards a {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
}

.category-cards b {
  color: currentColor;
  font-size: 15px;
  font-weight: 950;
}

.category-cards span {
  color: #59646b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.site-footer {
  padding: 34px clamp(20px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1500px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px 32px;
  align-items: start;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 12px;
  color: #566168;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.7;
}

.footer-brand img {
  width: 132px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  max-width: 720px;
}

.footer-links a {
  color: #3d484e;
  font-size: 13px;
  font-weight: 850;
}

.footer-links li {
  display: contents;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  color: #8a949a;
  font-size: 12px;
  font-weight: 800;
}

.single-wrap,
.archive-wrap {
  max-width: 980px;
  padding: clamp(44px, 7vw, 84px) 0;
}

.service-single {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.service-hero-copy,
.service-summary,
.service-info-grid section,
.editor-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-hero-copy {
  padding: clamp(24px, 4vw, 42px);
}

.service-hero-copy h1 {
  margin: 14px 0 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 950;
  line-height: 1.12;
}

.service-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: #4d585e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.9;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.official-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(180deg, #009b8a, #007c70);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
}

.rating-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #20282d;
  background: #fff8df;
  border: 1px solid #ffe0a3;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.service-summary {
  padding: 22px;
}

.service-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.service-summary div {
  padding: 14px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-summary dt {
  margin: 0 0 4px;
  color: #718087;
  font-size: 12px;
  font-weight: 900;
}

.service-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.service-info-grid section {
  padding: 22px;
}

.service-info-grid h2,
.editor-review .review-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 950;
}

.service-info-grid p,
.editor-review p {
  margin: 0;
  color: #4f5b61;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.85;
}

.editor-review {
  margin: 22px 0;
  padding: 24px;
  border-left: 4px solid var(--teal);
}

.service-content {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 0 0 20px;
}

.service-footer-tags {
  max-width: 860px;
  margin: 0 auto;
}

.article-cta-strip {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(32px, 5vw, 56px) auto 0;
}

.article-cta-card {
  position: relative;
  min-height: 176px;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.article-cta-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 3px solid currentColor;
  opacity: .32;
}

.cta-submit {
  color: #063d39;
  background:
    linear-gradient(135deg, rgba(0, 150, 136, .16), rgba(255, 255, 255, .82) 55%),
    #f2fbf9;
}

.cta-newsletter {
  color: #17345b;
  background:
    linear-gradient(135deg, rgba(61, 128, 227, .16), rgba(255, 255, 255, .82) 55%),
    #f4f8ff;
}

.cta-kicker {
  color: currentColor;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.article-cta-card strong {
  color: #12191d;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.35;
}

.article-cta-card span:last-child {
  color: #566168;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.7;
}

.related-services {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-grid {
  margin-top: 22px;
}

.submission-shell {
  margin-top: 28px;
}

.submission-form {
  padding: clamp(18px, 4vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.submission-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.submission-form .wide {
  grid-column: 1 / -1;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  background: #fbfcfc;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.submission-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submission-form button {
  min-height: 52px;
  margin-top: 20px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(180deg, #009b8a, #007c70);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.form-notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 900;
}

.form-notice.success {
  color: #075f55;
  background: #e7f7f4;
  border: 1px solid #bfe7df;
}

.form-notice.error {
  color: #8a2434;
  background: #fff0f3;
  border: 1px solid #ffd0da;
}

.ranking-page-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ranking-page-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(26, 35, 41, 0.05);
}

.ranking-page-list li > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a650c;
  background: #ffe5ae;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 950;
}

.ranking-page-list h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.ranking-page-list p {
  margin: 0;
  color: #5d686e;
  font-weight: 750;
}

.ranking-page-list em {
  color: #657178;
  font-style: normal;
  font-weight: 900;
}

.newsletter-box {
  margin-top: 28px;
  padding: clamp(18px, 4vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.newsletter-box form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.newsletter-box input {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
}

.newsletter-box button {
  min-height: 52px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(180deg, #009b8a, #007c70);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 950;
}

.category-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.category-directory a {
  position: relative;
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 22px 72px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(26, 35, 41, 0.05);
}

.category-directory b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.category-directory span {
  color: #5d686e;
  font-weight: 750;
}

.category-directory em {
  position: absolute;
  right: 18px;
  top: 18px;
  min-width: 44px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.single-title {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.15;
  font-weight: 950;
}

.single-featured {
  margin: 24px 0 34px;
  overflow: hidden;
  border-radius: 10px;
}

.single-featured img {
  width: 100%;
  display: block;
}

.entry-content {
  color: #263033;
  font-size: 18px;
}

.entry-content h2 {
  margin-top: 2.2em;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.3;
}

.entry-content p,
.entry-content li {
  line-height: 1.95;
}

.entry-content a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .top-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .today-card,
  .ranking-panel {
    max-width: 720px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
    font-size: 20px;
  }

  .header-actions {
    gap: 8px;
  }

  .icon-search,
  .login-button {
    display: none;
  }

  .header-submit {
    min-height: 40px;
    padding: 0 14px;
  }

  .top-layout,
  .content-layout,
  .category-panel,
  .single-wrap,
  .archive-wrap {
    width: min(100% - 28px, 1580px);
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .search-box {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .search-box button {
    min-height: 48px;
  }

  .trust-strip,
  .service-grid,
  .category-cards {
    grid-template-columns: 1fr;
  }

  .pick-screen {
    right: -80px;
  }

  .panel,
  .today-card {
    padding: 16px;
  }

  .service-single {
    width: min(100% - 28px, 1180px);
  }

  .service-hero,
  .service-info-grid,
  .article-cta-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .submission-form .wide {
    grid-column: auto;
  }

  .ranking-page-list li,
  .newsletter-box form,
  .category-directory {
    grid-template-columns: 1fr;
  }
}


.pick-visual.linked {
  display: block;
}

.pick-visual.linked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
