:root {
  --hp-bg: #ffffff;
  --hp-surface: #ffffff;
  --hp-muted: #f6f7f9;
  --hp-border: #e6e8ec;
  --hp-text: #111827;
  --hp-text-soft: #4b5563;
  --hp-text-muted: #6b7280;
  --hp-accent: #ff5a5f;
  --hp-accent-soft: #fff1f2;

  --hp-radius-sm: 10px;
  --hp-radius-md: 14px;
  --hp-radius-lg: 20px;

  --hp-container: 1180px;
  --hp-space-1: 8px;
  --hp-space-2: 12px;
  --hp-space-3: 16px;
  --hp-space-4: 24px;
  --hp-space-5: 32px;
  --hp-space-6: 48px;
  --hp-space-7: 72px;

  --hp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.site-content,
.inside-article {
  background: transparent;
}

.grid-container {
  max-width: var(--hp-container);
}

a {
  color: var(--hp-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  color: var(--hp-text);
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 750;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

p {
  color: var(--hp-text-soft);
}

.entry-title {
  margin-bottom: var(--hp-space-4);
}

.inside-article {
  padding-top: var(--hp-space-6);
  padding-bottom: var(--hp-space-7);
}

.hp-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: var(--hp-space-4);
}

.hp-muted-card {
  background: var(--hp-muted);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: var(--hp-space-4);
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hp-border);
  border-radius: 999px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--hp-accent);
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.hp-btn:hover {
  color: #fff;
  opacity: .94;
}

@media (max-width: 768px) {
  .inside-article {
    padding-top: var(--hp-space-4);
    padding-bottom: var(--hp-space-5);
  }

  body {
    font-size: 15.5px;
  }
}

/* ------------------------------
HOMEPAGE HERO
------------------------------ */

.hp-hero {
  padding: 72px 0 56px;
}

.hp-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
}

.hp-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--hp-text-soft);
}

.hp-hero-search {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  max-width: 620px;
}

.hp-hero-search input {
  flex: 1;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--hp-border);
  background: #fff;
  padding: 0 18px;
  font-size: 15px;
}

.hp-hero-search input:focus {
  outline: none;
  border-color: var(--hp-accent);
  box-shadow: 0 0 0 4px rgba(255,90,95,.08);
}

.hp-hero-search button {
  height: 54px;
  border: none;
  border-radius: 14px;
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}

.hp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hp-tags span {
  border: 1px solid var(--hp-border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-text-soft);
}

/* ------------------------------
SECTIONS
------------------------------ */

.hp-section {
  padding: 64px 0;
  border-top: 1px solid var(--hp-border);
}

.hp-section-head {
  margin-bottom: 28px;
}

.hp-section-head h2 {
  margin-bottom: 10px;
}

.hp-section-head p {
  margin: 0;
}

/* ------------------------------
SEO CONTENT
------------------------------ */

.hp-seo-content {
  padding-top: 72px;
  border-top: 1px solid var(--hp-border);
}

.hp-seo-content h2 {
  margin-top: 52px;
}

.hp-seo-content ul li {
  margin-bottom: 10px;
}

/* ------------------------------
HEADER CLEANUP
------------------------------ */

.site-header {
  border-bottom: 1px solid var(--hp-border);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.main-navigation .main-nav ul li a {
  font-weight: 600;
  font-size: 14px;
}

.site-logo img {
  max-height: 48px;
}

/* ------------------------------
MOBILE
------------------------------ */

@media (max-width: 768px) {

  .hp-hero {
    padding: 44px 0 30px;
  }

  .hp-hero-search {
    flex-direction: column;
  }

  .hp-hero-search button {
    width: 100%;
  }

  .hp-tags {
    gap: 8px;
  }

  .hp-tags span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hp-section {
    padding: 42px 0;
  }
}

/* ------------------------------
PLATFORM TOOL CARDS
------------------------------ */

.hp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-tool-card {
  display: block;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  background: #fff;
  padding: 24px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hp-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,90,95,.35);
  background: #fbfdff;
}

.hp-tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.hp-tool-card h3 {
  font-size: 1.12rem;
  margin: 0 0 10px;
}

.hp-tool-card p {
  margin: 0;
  font-size: 14px;
  color: var(--hp-text-muted);
}

/* ------------------------------
CATEGORY EXPLORER
------------------------------ */

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

.hp-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-muted);
  padding: 22px 24px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hp-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,90,95,.35);
  background: #fff;
}

.hp-category-kicker {
  display: block;
  color: var(--hp-accent);
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hp-category-card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.hp-category-card p {
  margin: 0;
  font-size: 14px;
  color: var(--hp-text-muted);
}

.hp-category-arrow {
  font-size: 22px;
  color: var(--hp-accent);
}

@media (max-width: 768px) {
  .hp-tool-grid,
  .hp-category-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
MODERN HEADER
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,24,39,.06);
}

.inside-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo img {
  max-height: 42px;
  width: auto;
}

.main-navigation {
  margin-left: auto;
}

.main-navigation .main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-navigation .main-nav ul li a {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--hp-text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.main-navigation .main-nav ul li a:hover {
  background: var(--hp-muted);
  color: var(--hp-text);
}

.main-navigation .main-nav ul li.current-menu-item a {
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
}

@media (max-width: 1024px) {

  .inside-header {
    min-height: 68px;
  }

  .main-navigation .menu-toggle {
    border-radius: 12px;
    border: 1px solid var(--hp-border);
  }
}

/* ------------------------------
LAYOUT EXPANSION
------------------------------ */

:root {
  --hp-container: 1320px;
}

/* wider layout */

.grid-container,
.site-content,
.inside-header,
.widget-area .inside-right-sidebar,
.footer-widgets-container,
.site-info {
  max-width: var(--hp-container);
}

/* content width */

.separate-containers .inside-article,
.one-container .container,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .site-content {
  background: transparent;
}

/* hero spacing */

.entry-content > h1:first-of-type {
  margin-top: 34px;
  margin-bottom: 48px;
  max-width: 920px;
}

/* section spacing */

.entry-content h2 {
  margin-top: 96px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.entry-content p {
  max-width: 920px;
}

/* section divider */

.entry-content hr {
  margin: 80px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,23,42,.08),
    transparent
  );
}

/* tool cards */

.hp-tool-card {
  min-height: 180px;
  padding: 28px;
  border-radius: 24px;
}

.hp-tool-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

/* category cards */

.hp-category-card {
  min-height: 132px;
  padding: 26px;
  border-radius: 22px;
}

/* category section */

.hp-category-grid {
  margin-top: 36px;
}

/* hero search */

.hp-hero-search {
  max-width: 720px;
}

.hp-hero-search input {
  height: 60px;
  border-radius: 18px;
  font-size: 16px;
  padding: 0 22px;
}

.hp-hero-search button {
  height: 60px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
}

/* categories inline */

.hp-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hp-hero-cats a {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hp-border);
  color: var(--hp-text-soft);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all .18s ease;
}

.hp-hero-cats a:hover {
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  border-color: transparent;
}

/* =========================================
MOBILE OPTIMIZATION
========================================= */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* header */

  .site-logo img {
    max-height: 42px !important;
  }

  .inside-header {
    padding: 10px 16px;
  }

  .main-navigation {
    font-size: 14px;
  }

  /* hero */

  .entry-content > h1:first-of-type {
    font-size: 38px !important;
    line-height: 1.08;
    margin-top: 18px;
    margin-bottom: 26px;
  }

  .entry-content h2 {
    font-size: 34px !important;
    line-height: 1.12;
    margin-top: 56px;
  }

  .hp-hero-search {
    flex-direction: column;
    gap: 12px;
  }

  .hp-hero-search input,
  .hp-hero-search button {
    width: 100%;
  }

  .hp-hero-cats {
    gap: 8px;
  }

  .hp-hero-cats a {
    font-size: 13px;
    padding: 8px 12px;
  }

  /* cards */

  .hp-tool-grid,
  .hp-category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp-tool-card,
  .hp-category-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .hp-tool-card h3,
  .hp-category-card h3 {
    font-size: 18px;
  }

  /* paragraphs */

  .entry-content p,
  .entry-content li {
    font-size: 15px;
    line-height: 1.7;
  }

  /* sections */

  .entry-content hr {
    margin: 52px 0;
  }

  .entry-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* footer */

  .site-info {
    text-align: center;
    font-size: 13px;
    padding: 18px;
  }
}

/* =========================================
MOBILE APP TABBAR
========================================= */

.hp-mobile-tabbar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
  }

  .hp-mobile-tabbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
  }

  .hp-mobile-tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    border-radius: 16px;
    color: var(--hp-text-soft);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
  }

  .hp-mobile-tabbar-item span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .hp-mobile-tabbar-item:hover,
  .hp-mobile-tabbar-item:focus {
    background: var(--hp-accent-soft);
    color: var(--hp-accent);
  }
}

/* =========================================
MOBILE CARD OVERFLOW FIX
========================================= */

@media (max-width: 768px) {
  .hp-tool-grid,
  .hp-category-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hp-tool-card,
  .hp-category-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hp-tool-card h3,
  .hp-category-card h3,
  .hp-tool-card p,
  .hp-category-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hp-tool-card h3 {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .hp-tool-card p {
    font-size: 13px !important;
    line-height: 1.55;
  }

  .hp-tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
}

/* =========================================
MOBILE CARD SYSTEM RESET
========================================= */

@media (max-width: 768px) {

  .hp-tool-grid,
  .hp-category-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .hp-tool-card,
  .hp-category-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: unset !important;

    padding: 18px !important;
    border-radius: 18px !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hp-tool-card h3,
  .hp-category-card h3 {
    display: block !important;

    font-size: 17px !important;
    line-height: 1.35 !important;

    margin: 0 0 8px 0 !important;

    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hp-tool-card p,
  .hp-category-card p {
    display: block !important;

    font-size: 13px !important;
    line-height: 1.55 !important;

    margin: 0 !important;

    white-space: normal !important;
    word-break: break-word !important;
  }

  .hp-tool-icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .entry-content {
    overflow-x: hidden !important;
  }
}

.hp-section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .hp-category-grid .hp-category-card:nth-child(n+9) {
    display: none;
  }
}

/* =========================================
PLATFORM STATS
========================================= */

.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 42px;
  margin-bottom: 36px;
}

.hp-stat-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.hp-stat-card strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--hp-accent);
}

.hp-stat-card span {
  color: var(--hp-text-soft);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width:768px){

  .hp-stats-grid{
    grid-template-columns: repeat(2,1fr);
    gap:12px;
  }

  .hp-stat-card{
    padding:20px;
    border-radius:18px;
  }

  .hp-stat-card strong{
    font-size:28px;
  }

}


/* =========================================
HERO PREMIUM EFFECT
========================================= */

.entry-content > h1:first-of-type,
.hp-hero {
  position: relative;
  z-index: 1;
}

.entry-content > h1:first-of-type::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(59,130,246,.18),
    transparent 70%
  );

  top: -140px;
  left: -120px;
  z-index: -1;
  pointer-events: none;
}

.entry-content > h1:first-of-type::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(139,92,246,.12),
    transparent 70%
  );

  top: 80px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

/* =========================================
HEADER REFINEMENT
========================================= */

.site-header {
  box-shadow: none;
}

.inside-header {
  max-width: 1320px;
  min-height: 72px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-logo img {
  max-height: 38px !important;
}

.site-branding .main-title a,
.main-title a {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hp-text);
}

.main-navigation {
  background: transparent !important;
}

.main-navigation .main-nav ul li a {
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--hp-text-soft);
}

.main-navigation .main-nav ul li a:hover {
  background: var(--hp-muted);
  color: var(--hp-text);
}

.main-navigation .main-nav ul li.current-menu-item a {
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
}

.menu-toggle {
  background: #fff !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: 14px !important;
  color: var(--hp-text) !important;
}

@media (max-width: 768px) {
  .inside-header {
    min-height: 62px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-logo img {
    max-height: 30px !important;
  }

  .main-title a {
    font-size: 17px;
  }

  .main-navigation .main-nav ul li a {
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
  }
}

/* =========================================
MOBILE POLISH
========================================= */

@media (max-width: 768px) {

  .hp-hero {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .hp-hero h1 {
    font-size: 38px !important;
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
  }

  .hp-hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hp-section {
    margin-top: 52px;
  }

  .hp-section-head h2,
  .hp-seo-content h2 {
    font-size: 32px !important;
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .hp-tool-grid,
  .hp-category-grid,
  .hp-stats-grid {
    gap: 14px !important;
  }

  .hp-tool-card,
  .hp-category-card,
  .hp-stat-card {
    min-height: auto !important;
    padding: 18px !important;
  }

  .hp-stat-card strong {
    font-size: 28px;
  }

  .hp-category-card h3,
  .hp-tool-card h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .hp-tool-card p,
  .hp-category-card p {
    font-size: 13px;
  }

  .hp-seo-content {
    margin-top: 60px;
  }

  .hp-seo-content p,
  .hp-seo-content li {
    font-size: 15px;
    line-height: 1.7;
  }

  .hp-tags {
    gap: 8px;
  }

  .hp-tags span {
    font-size: 12px;
    padding: 7px 12px;
  }

  .hp-hero-search {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-hero-search button {
    width: 100%;
  }
}

/* =========================================
FINAL MOBILE LAYOUT FIX
========================================= */

@media (max-width: 768px) {

  .site-content,
  .grid-container,
  .inside-article {
    width: 100% !important;
    max-width: 100% !important;
  }

  .inside-article {
    padding: 28px 18px 72px !important;
  }

  .entry-content {
    padding: 0 !important;
  }

  .entry-content > h1:first-of-type {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 18px 0 34px !important;
  }

  .hp-hero {
    padding: 0 0 34px !important;
  }

  .hp-hero h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 12px 0 12px !important;
  }

  .hp-hero p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }

  .hp-hero-search {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .hp-hero-search input,
  .hp-hero-search button {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 14px !important;
  }

  .hp-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .hp-tags span {
    display: inline-flex !important;
    font-size: 12px !important;
    padding: 7px 10px !important;
  }

  .hp-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 24px 0 20px !important;
  }

  .hp-stat-card {
    padding: 16px 10px !important;
    border-radius: 16px !important;
  }

  .hp-stat-card strong {
    font-size: 22px !important;
  }

  .hp-stat-card span {
    font-size: 11px !important;
  }

  .hp-section {
    padding: 42px 0 !important;
    margin: 0 !important;
  }

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

  .hp-section-head h2,
  .hp-seo-content h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
  }

  .hp-tool-grid,
  .hp-category-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hp-tool-card,
  .hp-category-card {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .hp-tool-card h3,
  .hp-category-card h3 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
  }

  .hp-tool-card p,
  .hp-category-card p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .hp-seo-content {
    padding-top: 44px !important;
    margin: 0 !important;
  }

  .hp-seo-content p,
  .hp-seo-content li {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}

/* =========================================
FINAL MOBILE CARD HEIGHT FIX
========================================= */

@media (max-width: 768px) {

  .hp-tool-card,
  .hp-category-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
  }

  .hp-tool-grid,
  .hp-category-grid {
    row-gap: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .hp-tool-icon {
    margin-bottom: 10px !important;
  }

  .hp-tool-card > *:last-child,
  .hp-category-card > *:last-child {
    margin-bottom: 0 !important;
  }

  .hp-section + .hp-section {
    margin-top: 0 !important;
  }

  .hp-section {
    border-top: 1px solid var(--hp-border) !important;
  }
}

/* Hide homepage default title */
.home .entry-header {
    display: none;
}

/* =========================================
COMPACT SPACING PASS
========================================= */

.inside-article {
  padding-top: 28px !important;
}

.hp-hero {
  padding: 34px 0 38px !important;
}

.hp-section {
  padding: 54px 0 !important;
}

.hp-section + .hp-section {
  margin-top: 0 !important;
}

.hp-section-head {
  margin-bottom: 22px !important;
}

.hp-stats-grid {
  margin-top: 28px !important;
  margin-bottom: 18px !important;
}

.hp-tool-grid {
  gap: 16px !important;
}

.hp-category-grid {
  margin-top: 22px !important;
  gap: 14px !important;
}

.hp-seo-content {
  padding-top: 58px !important;
}

.hp-seo-content h2 {
  margin-top: 42px !important;
}

.entry-content hr {
  margin: 48px 0 !important;
}

@media (max-width: 768px) {
  .hp-hero {
    padding: 18px 0 26px !important;
  }

  .hp-section {
    padding: 34px 0 !important;
  }

  .hp-seo-content {
    padding-top: 34px !important;
  }
}

/* =========================================
TIGHT DASHBOARD SPACING
========================================= */

.inside-article {
  padding-top: 12px !important;
  padding-bottom: 42px !important;
}

.hp-hero {
  padding: 18px 0 24px !important;
}

.hp-hero h1 {
  margin-bottom: 14px !important;
}

.hp-hero-search {
  margin-top: 20px !important;
}

.hp-tags {
  margin-top: 14px !important;
}

.hp-stats-grid {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

.hp-section {
  padding: 36px 0 !important;
}

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

.hp-section-head h2 {
  margin-bottom: 6px !important;
}

.hp-tool-card {
  min-height: 138px !important;
  padding: 22px !important;
}

.hp-category-card {
  min-height: 92px !important;
  padding: 18px 22px !important;
}

.hp-seo-content {
  padding-top: 36px !important;
}

.hp-seo-content h2 {
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

.entry-content hr,
.hp-section {
  border-top-color: rgba(15,23,42,.055) !important;
}

@media (max-width: 768px) {
  .inside-article {
    padding-top: 16px !important;
  }

  .hp-section {
    padding: 28px 0 !important;
  }

  .hp-tool-card,
  .hp-category-card {
    padding: 16px !important;
  }
}

/* =========================================
PREMIUM FOOTER
========================================= */

.site-info {
  border-top: 1px solid var(--hp-border);
  background: #fff;
  padding: 34px 24px !important;
}

.hp-footer {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-footer-brand strong {
  font-size: 18px;
  color: var(--hp-text);
}

.hp-footer-brand span {
  font-size: 14px;
  color: var(--hp-text-muted);
}

.hp-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hp-footer-links a {
  color: var(--hp-text-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hp-footer-links a:hover {
  color: var(--hp-accent);
}

@media (max-width: 768px) {
  .hp-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-footer-links {
    gap: 12px;
  }
}

/* =========================================
CATEGORY HERO
========================================= */

.hp-category-hero {
  padding: 42px 0 22px;
}

.hp-category-hero-inner {
  max-width: 920px;
}

.hp-category-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hp-category-hero h1 {
  font-size: 58px;
  line-height: .95;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.hp-category-hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--hp-text-soft);
}

@media (max-width: 768px) {

  .hp-category-hero {
    padding: 18px 0 8px;
  }

  .hp-category-hero h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  .hp-category-hero p {
    font-size: 15px;
  }
}

/* =========================================
CATEGORY POSTS
========================================= */

.hp-category-posts {
  padding-bottom: 80px;
}

.hp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin-top: 40px;
}

.hp-post-card {
  position: relative;
}

.hp-post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--hp-border);
  text-decoration: none;
  transition: .18s ease;
}

.hp-post-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,.25);
  box-shadow: 0 18px 40px rgba(15,23,42,.06);
}

.hp-post-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 700;
}

.hp-post-card h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hp-post-card p {
  color: var(--hp-text-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hp-post-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 14px;
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
}

.hp-pagination {
  margin-top: 50px;
}

@media (max-width: 992px) {

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

}

@media (max-width: 768px) {

  .hp-post-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hp-post-card-link {
    min-height: auto;
    padding: 22px;
  }

  .hp-post-card h2 {
    font-size: 24px;
  }

}

/* =========================================
SUBCATEGORY EXPLORER
========================================= */

.hp-category-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-subcategory-panel {
  margin-top: 22px;
  margin-bottom: 56px;
  padding: 32px;
  border-radius: 30px;
  background: #f6f7f9;
  border: 1px solid var(--hp-border);
}

.hp-subcategory-head {
  margin-bottom: 26px;
}

.hp-subcategory-head h2,
.hp-category-tools-head h2 {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 10px 0 10px;
}

.hp-subcategory-head p {
  margin: 0;
  color: var(--hp-text-soft);
}

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

.hp-subcategory-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--hp-border);
  text-decoration: none;
  transition: .18s ease;
}

.hp-subcategory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,90,95,.28);
  box-shadow: 0 14px 34px rgba(15,23,42,.05);
}

.hp-subcategory-card strong {
  display: block;
  color: var(--hp-text);
  font-size: 18px;
  margin-bottom: 6px;
}

.hp-subcategory-card span {
  color: var(--hp-text-muted);
  font-size: 14px;
}

.hp-subcategory-card em {
  font-style: normal;
  color: var(--hp-accent);
  font-size: 20px;
  font-weight: 800;
}

.hp-category-tools-section {
  margin-top: 20px;
}

.hp-category-tools-head {
  margin-bottom: 24px;
}

@media (max-width: 768px) {

  .hp-category-page {
    padding: 0 18px;
  }

  .hp-subcategory-panel {
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 36px;
  }

  .hp-subcategory-grid {
    grid-template-columns: 1fr;
  }

  .hp-subcategory-head h2,
  .hp-category-tools-head h2 {
    font-size: 30px;
  }

  .hp-subcategory-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }
}

/* =========================================
MODERN PAGINATION
========================================= */

.hp-pagination {
  margin-top: 46px;
}

.hp-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hp-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--hp-border);
  background: #fff;
  color: var(--hp-text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}

.hp-pagination .page-numbers.current {
  background: var(--hp-accent);
  border-color: var(--hp-accent);
  color: #fff;
}

.hp-pagination a.page-numbers:hover {
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  border-color: rgba(255,90,95,.2);
}

.hp-pagination .next,
.hp-pagination .prev {
  padding: 0 18px;
}

@media (max-width: 768px) {
  .hp-pagination .nav-links {
    justify-content: center;
  }
}

/* global premium red palette */
:root{
  --hp-accent:#ff5a5f;
  --hp-accent-dark:#ff4b52;
  --hp-accent-soft:#fff1f2;
}


/* =========================================
MOBILE CATEGORY CARD FIX
========================================= */

@media (max-width: 768px) {

  .hp-post-grid {
    gap: 14px !important;
    margin-top: 18px !important;
  }

  .hp-post-card,
  .hp-post-card-link {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .hp-post-card-link {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .hp-post-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }

  .hp-post-card h2 {
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
  }

  .hp-post-card p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
  }

  .hp-post-button {
    height: 42px !important;
    border-radius: 12px !important;
    margin-top: 0 !important;
  }

  .hp-subcategory-panel {
    margin-top: 10px !important;
    margin-bottom: 28px !important;
  }

  .hp-category-tools-section {
    margin-top: 0 !important;
  }
}

/* =========================================
SINGLE TOOL PAGE
========================================= */

.hp-single-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-single-hero {
  padding: 46px 0 30px;
  max-width: 920px;
}

.hp-single-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -0.055em;
  margin: 16px 0 18px;
}

.hp-single-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hp-text-soft);
}

.hp-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.hp-single-content {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 28px;
  padding: 34px;
}

.hp-single-content h2 {
  font-size: 36px;
  margin-top: 44px;
}

.hp-single-content h2:first-child {
  margin-top: 0;
}

.hp-single-content p,
.hp-single-content li {
  font-size: 16px;
  line-height: 1.8;
}

.hp-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  overflow: hidden;
}

.hp-single-content th,
.hp-single-content td {
  border-bottom: 1px solid var(--hp-border);
  padding: 14px 16px;
  text-align: left;
}

.hp-single-content th {
  background: var(--hp-muted);
  font-weight: 800;
}

.hp-single-sidebar {
  position: sticky;
  top: 96px;
}

.hp-related-card {
  border: 1px solid var(--hp-border);
  border-radius: 24px;
  background: var(--hp-muted);
  padding: 24px;
}

.hp-related-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.hp-related-card p {
  font-size: 14px;
  color: var(--hp-text-soft);
}

.hp-related-card a {
  display: inline-flex;
  margin-top: 12px;
  height: 42px;
  padding: 0 16px;
  align-items: center;
  border-radius: 12px;
  background: var(--hp-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hp-single-layout {
    grid-template-columns: 1fr;
  }

  .hp-single-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .hp-single-page {
    padding: 0 18px;
  }

  .hp-single-hero {
    padding: 24px 0 20px;
  }

  .hp-single-hero h1 {
    font-size: 36px;
    line-height: 1.05;
  }

  .hp-single-content {
    padding: 20px;
    border-radius: 22px;
  }

  .hp-single-content h2 {
    font-size: 28px;
  }
}

/* Breadcrumb */
.hp-breadcrumb {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 0 20px;
  font-size: 14px;
  color: #6b7280;
}

.hp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-breadcrumb li:not(:last-child)::after {
  content: "›";
  color: #c4c7cf;
  font-weight: 700;
}

.hp-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color .2s ease;
}

.hp-breadcrumb a:hover {
  color: #ff5a5f;
}

.hp-breadcrumb span[aria-current="page"] {
  color: #111827;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hp-breadcrumb {
    margin-bottom: 16px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hp-breadcrumb ol {
    gap: 6px;
  }
}

/* FAQ Accordion */
.hp-faq-title {
  margin-top: 42px;
}

.hp-faq-item {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
  overflow: hidden;
  margin: 14px 0;
}

.hp-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: #111827;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.hp-faq-question em {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex: 0 0 auto;
}

.hp-faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: #4b5563;
  line-height: 1.75;
}

.hp-faq-item.is-open .hp-faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .hp-faq-question {
    padding: 18px;
  }

  .hp-faq-answer {
    padding: 0 18px 18px;
  }
}

/* Dynamic Related Calculators */
.hp-related-dynamic {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
}

.hp-related-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hp-related-card .hp-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .05);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.hp-related-card .hp-related-item:hover {
  transform: translateY(-2px);
  color: #ff5a5f;
  box-shadow: 0 14px 30px rgba(255, 90, 95, .13);
}

.hp-related-item span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hp-related-item em {
  font-style: normal;
  line-height: 1.35;
}

/* Related mobile polish */
@media (max-width: 768px) {
  .hp-related-dynamic {
    margin-top: 22px;
    padding: 22px;
    border-radius: 22px;
  }

  .hp-related-card .hp-related-item {
    min-height: 46px;
    padding: 12px;
    font-size: 13px;
  }

  .hp-related-item span {
    width: 26px;
    height: 26px;
  }
}

/* Table of Contents */
.hp-toc {
  margin: 28px 0 34px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 16px 42px rgba(17, 24, 39, .06);
}

.hp-toc strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  color: #111827;
}

.hp-toc ol {
  margin: 0;
  padding-left: 20px;
}

.hp-toc li {
  margin: 8px 0;
  color: #ff5a5f;
}

.hp-toc a {
  color: #374151;
  text-decoration: none;
  font-weight: 700;
}

.hp-toc a:hover {
  color: #ff5a5f;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .hp-toc {
    padding: 18px;
    border-radius: 18px;
  }

  .hp-toc strong {
    font-size: 16px;
  }

  .hp-toc a {
    font-size: 14px;
  }
}

/* TOC polish */
.hp-toc {
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, .08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.hp-toc ol {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
  counter-reset: hp-toc-counter;
}

.hp-toc li {
  counter-increment: hp-toc-counter;
  margin: 0;
}

.hp-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
}

.hp-toc a::before {
  content: counter(hp-toc-counter) ".";
  color: #ff5a5f;
  font-weight: 900;
  min-width: 18px;
}

.hp-toc a:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 95, .10);
}

/* AdSense placeholder - admin preview only */
.hp-ad-placeholder {
  min-height: 120px;
  margin: 34px 0;
  border: 1px dashed rgba(255, 90, 95, .38);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 90, 95, .08), rgba(255, 255, 255, .92));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ff5a5f;
  text-align: center;
}

.hp-ad-placeholder span {
  font-weight: 900;
  letter-spacing: .02em;
}

.hp-ad-placeholder em {
  font-size: 13px;
  color: #6b7280;
  font-style: normal;
}

@media (max-width: 768px) {
  .hp-ad-placeholder {
    min-height: 100px;
    margin: 26px 0;
    border-radius: 18px;
  }
}

/* Premium Calculator Box */
.hp-single-content .hc-calculator {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(255, 90, 95, .16);
  box-shadow: 0 24px 70px rgba(17, 24, 39, .10);
}

.hp-single-content .hc-calculator::before {
  content: "Hesaplama Aracı";
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.hp-single-content .hc-calculator h3 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.15;
  color: #111827;
}

.hp-single-content .hc-form-group {
  margin: 0 0 16px;
}

.hp-single-content .hc-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.hp-single-content .hc-form-group input,
.hp-single-content .hc-form-group select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 15px;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .04);
}

.hp-single-content .hc-form-group input:focus,
.hp-single-content .hc-form-group select:focus {
  outline: none;
  border-color: rgba(255, 90, 95, .65);
  box-shadow: 0 0 0 4px rgba(255, 90, 95, .12);
}

.hp-single-content .hc-calculator button,
.hp-single-content .hc-calculator input[type="button"],
.hp-single-content .hc-calculator input[type="submit"] {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: #ff5a5f;
  color: #fff;
  padding: 0 22px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(255, 90, 95, .28);
  cursor: pointer;
}

.hp-single-content .hc-calculator button:hover,
.hp-single-content .hc-calculator input[type="button"]:hover,
.hp-single-content .hc-calculator input[type="submit"]:hover {
  background: #f04449;
}

@media (max-width: 768px) {
  .hp-single-content .hc-calculator {
    padding: 22px;
    border-radius: 24px;
  }

  .hp-single-content .hc-calculator h3 {
    font-size: 24px;
  }
}

/* Calculator share buttons polish */
.hp-single-content .hc-calculator [class*="share"] button,
.hp-single-content .hc-calculator [class*="paylas"] button,
.hp-single-content .hc-calculator .hc-share button,
.hp-single-content .hc-calculator .hc-actions button {
  min-height: 36px;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
  border: 1px solid rgba(17, 24, 39, .08);
}

.hp-single-content .hc-calculator [class*="share"] button:hover,
.hp-single-content .hc-calculator [class*="paylas"] button:hover,
.hp-single-content .hc-calculator .hc-share button:hover,
.hp-single-content .hc-calculator .hc-actions button:hover {
  background: rgba(255, 90, 95, .08);
  color: #ff5a5f;
}

/* Premium Calculator Result */
.hp-single-content .hc-result {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, .10), transparent 34%),
    #ffffff;
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 18px 46px rgba(17, 24, 39, .08);
}

#hc-ev-result {
  display: none;
}

#hc-ev-result.visible {
  display: block;
}

.hp-single-content .hc-result::before {
  content: "Sonuç";
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
  font-size: 12px;
  font-weight: 900;
}

.hp-single-content .hc-ev-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-single-content .hc-ev-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff7f7;
  color: #374151;
  border: 1px solid rgba(255, 90, 95, .10);
}

.hp-single-content .hc-ev-list strong {
  color: #111827;
  font-weight: 900;
}

.hp-single-content .hc-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17, 24, 39, .04);
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hp-single-content .hc-result {
    padding: 18px;
    border-radius: 20px;
  }

  .hp-single-content .hc-ev-list li {
    flex-direction: column;
    gap: 4px;
  }
}

/* Result readability polish */
.hp-single-content .hc-ev-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
}

.hp-single-content .hc-ev-list li strong {
  display: inline-flex;
  align-items: center;
  color: #111827;
  white-space: nowrap;
}

.hp-single-content .hc-ev-list li {
  line-height: 1.55;
}

@media (max-width: 768px) {
  .hp-single-content .hc-ev-list li {
    grid-template-columns: 1fr;
  }
}

/* General calculator result UI */
.hp-single-content .hc-result-item {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  border-radius: 16px;
  background: #fff7f7;
  border: 1px solid rgba(255, 90, 95, .10);
  margin: 10px 0;
}

.hp-single-content .hc-result-item span,
.hp-single-content .hc-result-label {
  color: #4b5563;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.hp-single-content .hc-result-item strong,
.hp-single-content .hc-result-value {
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}

.hp-single-content .hc-result-summary {
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, .12), transparent 36%),
    #ffffff;
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 14px 34px rgba(17, 24, 39, .07);
}

@media (max-width: 768px) {
  .hp-single-content .hc-result-item {
    padding: 14px;
  }

  .hp-single-content .hc-result-item strong,
  .hp-single-content .hc-result-value {
    font-size: 19px;
  }
}

/* FAQ focus/active color fix */
.hp-single-content .hp-faq-question,
.hp-single-content .hp-faq-question:focus,
.hp-single-content .hp-faq-question:active,
.hp-single-content .hp-faq-question:hover {
  background: transparent;
  color: #111827;
  outline: none;
}

.hp-single-content .hp-faq-item.is-open .hp-faq-question {
  background: #fff;
  color: #111827;
}

.hp-single-content .hp-faq-question:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 90, 95, .16);
}

/* Single content typography polish */
.hp-single-content > p {
  color: #374151;
  font-size: 17px;
  line-height: 1.86;
  margin: 0 0 22px;
}

.hp-single-content > h2 {
  margin-top: 46px;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}

.hp-single-content > h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.hp-single-content > h2 + p,
.hp-single-content > h3 + p {
  margin-top: 0;
}

.hp-single-content a {
  color: #ff5a5f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hp-single-content a:hover {
  color: #f04449;
}

.hp-single-content > ul,
.hp-single-content > ol {
  margin: 16px 0 26px;
  padding-left: 24px;
  color: #374151;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hp-single-content > p {
    font-size: 15.5px;
    line-height: 1.78;
  }

  .hp-single-content > h2 {
    margin-top: 36px;
  }
}

/* Single hero chips */
.hp-single-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hp-single-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .10);
  color: #ff5a5f;
  border: 1px solid rgba(255, 90, 95, .16);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .hp-single-chips {
    gap: 8px;
    margin-top: 14px;
  }

  .hp-single-chips span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 12px;
  }
}

/* Hero chips visibility fix */
.hp-single-hero {
  overflow: visible !important;
}

.hp-single-hero .hp-single-chips {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 2;
  margin: 4px 0 22px !important;
}

.hp-single-hero .hp-single-chips span {
  background: #fff7f7 !important;
  color: #ff5a5f !important;
  border-color: rgba(255, 90, 95, .22) !important;
  box-shadow: 0 8px 20px rgba(255, 90, 95, .08);
}

/* Single sidebar sticky polish */
.hp-single-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.hp-single-sidebar .hp-related-dynamic {
  border-radius: 28px;
  padding: 26px;
}

.hp-single-sidebar .hp-related-dynamic strong {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.hp-single-sidebar .hp-related-dynamic > p {
  margin-top: 8px;
  margin-bottom: 18px;
  color: #6b7280;
  line-height: 1.55;
}

.hp-single-sidebar .hp-related-list {
  gap: 12px;
}

.hp-single-sidebar .hp-related-card .hp-related-item {
  min-height: 50px;
}

@media (max-width: 900px) {
  .hp-single-sidebar {
    position: static;
    top: auto;
  }
}

/* Mobile calculator compact polish */
@media (max-width: 768px) {
  .hp-single-content .hc-calculator {
    margin-bottom: 24px;
  }

  .hp-single-content .hc-calculator::before {
    margin-bottom: 10px;
  }

  .hp-single-content .hc-form-group {
    margin-bottom: 13px;
  }

  .hp-single-content .hc-form-group input,
  .hp-single-content .hc-form-group select {
    min-height: 46px;
    font-size: 14px;
  }

  .hp-single-content .hc-calculator button,
  .hp-single-content .hc-calculator input[type="button"],
  .hp-single-content .hc-calculator input[type="submit"] {
    min-height: 48px;
  }

  .hp-single-content .hc-calculator [class*="share"] button,
  .hp-single-content .hc-calculator [class*="paylas"] button,
  .hp-single-content .hc-calculator .hc-share button,
  .hp-single-content .hc-calculator .hc-actions button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Category page premium polish */
.hp-category-hero {
  padding-top: 34px;
}

.hp-category-hero h1 {
  color: #111827;
}

.hp-subcategory-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, .08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border-color: rgba(255, 90, 95, .14);
  box-shadow: 0 18px 50px rgba(17, 24, 39, .06);
}

.hp-subcategory-card {
  box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
}

.hp-subcategory-card:hover {
  border-color: rgba(255, 90, 95, .30);
  box-shadow: 0 18px 38px rgba(255, 90, 95, .10);
}

.hp-post-card-link {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .07), transparent 34%),
    #ffffff;
  border-color: rgba(17, 24, 39, .08);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .045);
}

.hp-post-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 95, .26);
  box-shadow: 0 20px 46px rgba(255, 90, 95, .10);
}

.hp-post-icon {
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
}

.hp-post-card h2 {
  color: #111827;
  letter-spacing: -0.025em;
}

.hp-post-button {
  background: #ff5a5f;
  box-shadow: 0 12px 28px rgba(255, 90, 95, .22);
}

.hp-post-card-link:hover .hp-post-button {
  background: #f04449;
}

@media (max-width: 768px) {
  .hp-category-hero {
    padding-top: 20px;
  }

  .hp-subcategory-panel {
    box-shadow: 0 12px 32px rgba(17, 24, 39, .05);
  }
}

/* Category top hero */
.hp-category-top-hero {
  margin: 10px 0 28px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 18px 50px rgba(17, 24, 39, .06);
}

.hp-category-top-hero h1 {
  margin: 8px 0 12px;
  color: #111827;
  font-size: clamp(38px, 4vw, 64px);
  line-height: .98;
  letter-spacing: -0.055em;
}

.hp-category-top-hero p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.hp-category-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hp-category-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: #ff5a5f;
  border: 1px solid rgba(255, 90, 95, .18);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(255, 90, 95, .07);
}

@media (max-width: 768px) {
  .hp-category-top-hero {
    padding: 22px;
    border-radius: 22px;
    margin-bottom: 20px;
  }

  .hp-category-top-hero p {
    font-size: 15px;
  }
}

/* Category compact panel polish */
.hp-subcategory-panel {
  padding: 28px;
  margin-top: 20px;
  margin-bottom: 44px;
}

.hp-subcategory-head {
  margin-bottom: 20px;
}

.hp-subcategory-head h2 {
  font-size: 38px;
}

.hp-subcategory-card {
  min-height: 78px;
  padding: 18px 22px;
}

.hp-subcategory-card strong {
  font-size: 17px;
}

@media (max-width: 768px) {
  .hp-subcategory-panel {
    padding: 20px;
    margin-bottom: 30px;
  }

  .hp-subcategory-head h2 {
    font-size: 28px;
  }

  .hp-subcategory-card {
    min-height: auto;
    padding: 16px;
  }
}

/* Homepage premium polish */
.home .hp-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  border-radius: 34px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, .06);
}

.home .hp-pill,
.home .hp-tags span {
  background: #fff7f7;
  color: #ff5a5f;
  border: 1px solid rgba(255, 90, 95, .18);
}

.home .hp-tool-card,
.home .hp-category-card,
.home .hp-stat-card {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .07), transparent 34%),
    #ffffff;
  border-color: rgba(17, 24, 39, .08);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .045);
}

.home .hp-tool-card:hover,
.home .hp-category-card:hover {
  border-color: rgba(255, 90, 95, .26);
  box-shadow: 0 20px 46px rgba(255, 90, 95, .10);
}

.home .hp-tool-icon,
.home .hp-category-arrow {
  background: rgba(255, 90, 95, .12);
  color: #ff5a5f;
}

.home .hp-button,
.home .hp-hero-search button {
  background: #ff5a5f;
  box-shadow: 0 12px 28px rgba(255, 90, 95, .22);
}

.home .hp-button:hover,
.home .hp-hero-search button:hover {
  background: #f04449;
}

@media (max-width: 768px) {
  .home .hp-hero {
    border-radius: 24px;
  }
}

/* Homepage category more button fix */
.home .hp-category-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
  clear: both;
}

.home .hp-category-more .hp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: auto;
  min-width: 210px;
  padding: 0 22px;
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.home .hp-category-more .hp-button::after {
  content: " →";
  margin-left: 6px;
}

/* Latest tools section */
.home .hp-latest-tools-section {
  padding-top: 10px;
}

.home .hp-tool-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 6px 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 95, .10);
  color: #ff5a5f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.home .hp-latest-tool-card em {
  margin-top: auto;
  color: #ff5a5f;
  font-style: normal;
  font-weight: 900;
}

.home .hp-latest-tool-card:hover em {
  color: #f04449;
}

/* All categories page cleanup */
.hp-all-categories-page .hp-category-more {
  display: none;
}

/* Category directory page */
.hp-directory {
  max-width: 1120px;
  margin: 0 auto;
}

.hp-directory-hero {
  margin: 8px 0 28px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 20px 60px rgba(17, 24, 39, .06);
}

.hp-directory-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -0.055em;
  color: #111827;
}

.hp-directory-hero p {
  max-width: 760px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.hp-directory-hero .hp-hero-search {
  margin-top: 20px;
  max-width: 680px;
}

.hp-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, .07), transparent 34%),
    #ffffff;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .045);
}

.hp-directory-card-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.hp-directory-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111827;
}

.hp-directory-card-head p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.hp-directory-links {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.hp-directory-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: #374151;
  text-decoration: none;
  font-weight: 750;
  border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.hp-directory-links a:hover {
  color: #ff5a5f;
}

.hp-directory-links em {
  color: #ff5a5f;
  font-style: normal;
}

.hp-directory-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  border-radius: 13px;
  background: #fff7f7;
  color: #ff5a5f;
  border: 1px solid rgba(255, 90, 95, .20);
  text-decoration: none;
  font-weight: 900;
}

.hp-directory-all:hover {
  background: #ff5a5f;
  color: #fff;
}

@media (max-width: 1024px) {
  .hp-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hp-directory-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .hp-directory-grid {
    grid-template-columns: 1fr;
  }

  .hp-directory-card {
    min-height: auto;
  }
}

/* Hide default title on category directory page */
.page-id-2061 .entry-header {
  display: none;
}

.page-id-2061 .inside-article {
  padding-top: 26px;
}

/* Directory category descriptions */
.hp-directory-desc {
  margin: -6px 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

/* Mobile directory compact */
@media (max-width: 768px) {
  .hp-directory-hero {
    margin-bottom: 18px;
  }

  .hp-directory-card {
    padding: 18px;
    border-radius: 20px;
  }

  .hp-directory-card-head {
    margin-bottom: 12px;
  }

  .hp-directory-card h2 {
    font-size: 20px;
  }

  .hp-directory-links a:nth-child(n+5) {
    display: none;
  }

  .hp-directory-links a {
    padding: 8px 0;
    font-size: 13.5px;
  }

  .hp-directory-all {
    margin-top: 12px;
    min-height: 40px;
  }
}

/* Mobile directory height hard fix */
@media (max-width: 768px) {
  .hp-directory {
    max-width: 100%;
  }

  .hp-directory-grid {
    gap: 12px !important;
  }

  .hp-directory-card {
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
  }

  .hp-directory-links {
    gap: 0 !important;
    margin-top: 2px !important;
  }

  .hp-directory-links a {
    min-height: 0 !important;
    padding: 7px 0 !important;
  }

  .hp-directory-all {
    margin-top: 10px !important;
  }
}

/* Category archive hero search */
.hp-category-top-hero .hp-hero-search {
  margin-top: 22px;
  max-width: 680px;
}

@media (max-width: 768px) {
  .hp-category-top-hero .hp-hero-search {
    margin-top: 16px;
  }
}

/* GeneratePress container alignment */
.hp-category-page,
.hp-single-page,
.hp-directory {
  max-width: 1180px;
}

.hp-category-posts,
.hp-single-main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Empty subcategory visual state */
.hp-subcategory-card.is-empty {
  opacity: .78;
}

.hp-subcategory-card.is-empty span::after {
  content: " · yakında";
  color: #ff5a5f;
  font-weight: 900;
}

/* Homepage compact spacing */
.home .hp-hero {
  margin-bottom: 48px;
  padding-top: 54px;
  padding-bottom: 42px;
}

.home .hp-section {
  padding: 46px 0;
}

.home .hp-section + .hp-section {
  margin-top: 0;
}

.home .hp-section-head {
  margin-bottom: 22px;
}

.home .hp-tool-grid,
.home .hp-category-grid {
  gap: 18px;
}

.home .hp-latest-tools-section {
  padding-top: 34px;
}

.home .hp-seo-content {
  margin-top: 34px;
  padding-top: 34px;
}

.home .hp-seo-content h2 {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .home .hp-hero {
    margin-bottom: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .home .hp-section {
    padding: 30px 0;
  }

  .home .hp-section-head {
    margin-bottom: 16px;
  }

  .home .hp-seo-content {
    margin-top: 22px;
    padding-top: 24px;
  }
}

/* Homepage featured calculator */
.home .hp-featured-home-section {
  padding-top: 18px;
  padding-bottom: 34px;
}

.hp-featured-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 26px;
  align-items: center;
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(255, 90, 95, .14);
  box-shadow: 0 18px 54px rgba(17, 24, 39, .06);
}

.hp-featured-copy h2 {
  margin: 12px 0;
  color: #111827;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hp-featured-copy p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.hp-featured-preview {
  display: grid;
  gap: 12px;
}

.hp-featured-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .07);
}

.hp-featured-row strong {
  color: #111827;
  font-weight: 950;
}

.hp-featured-row.is-highlight strong {
  color: #ff5a5f;
}

@media (max-width: 768px) {
  .hp-featured-calculator {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 24px;
  }

  .hp-featured-preview {
    display: none;
  }
}

/* Inch-style home category tiles */
.home .hp-home-category-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 26px auto 0;
}

.home .hp-home-category-tile {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 16px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .09);
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
  color: #111827;
  text-decoration: none;
  text-align: center;
}

.home .hp-home-category-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff1f1;
  color: #ff5a5f;
  font-size: 20px;
  font-weight: 950;
}

.home .hp-home-category-tile strong {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.home .hp-home-category-tile em {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home .hp-home-category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 95, .26);
  box-shadow: 0 16px 36px rgba(255, 90, 95, .10);
}

.home .hp-home-category-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .home .hp-home-category-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home .hp-home-category-tile {
    min-height: 96px;
  }
}

/* Homepage default title hide */
.home .entry-header,
.home .entry-title {
  display: none !important;
}

/* Homepage directory hero center + bigger category tiles */
.home .hp-home-hero-directory {
  text-align: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.home .hp-home-hero-directory .hp-pill {
  margin-left: auto;
  margin-right: auto;
}

.home .hp-home-hero-directory > p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home .hp-home-hero-directory .hp-hero-search {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home .hp-home-category-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  gap: 18px;
  margin-top: 30px;
}

.home .hp-home-category-tile {
  min-height: 132px;
  padding: 22px 16px;
  border-radius: 20px;
}

.home .hp-home-category-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  font-size: 23px;
}

.home .hp-home-category-tile strong {
  font-size: 16px;
}

.home .hp-home-category-tile em {
  font-size: 13px;
}

@media (max-width: 768px) {
  .home .hp-home-category-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home .hp-home-category-tile {
    min-height: 112px;
    padding: 16px 12px;
  }
}

/* Shared category icon style for directory page */
.hp-directory-card .hp-directory-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fff1f1;
  color: #ff5a5f;
  font-size: 23px;
  font-weight: 950;
}

/* Category explorer icons */
.home .hp-category-card-main {
  display: grid;
  gap: 4px;
}

.home .hp-category-mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 11px;
  background: #fff1f1;
  color: #ff5a5f;
  font-size: 17px;
  font-weight: 950;
}

/* Homepage SEO professional cards */
.home .hp-seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.home .hp-seo-card-grid > div {
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
}

.home .hp-seo-card-grid h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.home .hp-seo-card-grid p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .home .hp-seo-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Header dropdown menu cleanup */
.main-navigation ul ul {
  width: 260px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul li a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #374151;
  font-weight: 850;
  line-height: 1.2;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li.sfHover > a {
  background: #fff1f1;
  color: #ff5a5f;
}

.main-navigation .main-nav ul li.menu-item-has-children > a {
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .main-navigation ul ul {
    width: auto;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }
}

/* Force desktop dropdown vertical */
@media (min-width: 1025px) {
  .main-navigation .main-nav ul li ul.sub-menu,
  .main-navigation .main-nav ul ul {
    display: block !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: #fff !important;
    overflow: visible !important;
  }

  .main-navigation .main-nav ul li ul.sub-menu li,
  .main-navigation .main-nav ul ul li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    clear: both !important;
  }

  .main-navigation .main-nav ul li ul.sub-menu li a,
  .main-navigation .main-nav ul ul li a {
    display: block !important;
    width: auto !important;
    padding: 12px 14px !important;
    white-space: normal !important;
  }

  .main-navigation .main-nav ul li:last-child ul.sub-menu {
    right: 0 !important;
    left: auto !important;
  }
}

/* Mobile menu scroll lock */
@media (max-width: 1024px) {
  body.hp-mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .main-navigation.toggled .main-nav {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-navigation.toggled ul ul {
    max-height: 55vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile menu scroll fix override */
@media (max-width: 1024px) {
  body.hp-mobile-menu-open {
    overflow: auto !important;
    position: static !important;
    width: auto !important;
  }

  .main-navigation.toggled .main-nav {
    max-height: none !important;
    overflow: visible !important;
  }

  .main-navigation.toggled ul ul {
    max-height: none !important;
    overflow: visible !important;
  }

  .main-navigation.toggled {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile submenu always open */
@media (max-width: 1024px) {
  .main-navigation.toggled ul li.menu-item-has-children > ul.sub-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    right: auto !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 0 0 14px !important;
    margin: 4px 0 8px !important;
  }

  .main-navigation.toggled ul li.menu-item-has-children > ul.sub-menu li {
    display: block !important;
    width: 100% !important;
  }

  .main-navigation.toggled ul li.menu-item-has-children > ul.sub-menu li a {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }

  .main-navigation.toggled .dropdown-menu-toggle {
    display: none !important;
  }
}

/* Mobile menu panel real scroll fix */
@media (max-width: 1024px) {
  .main-navigation.toggled,
  .main-navigation.toggled .inside-navigation,
  .main-navigation.toggled .main-nav,
  .main-navigation.toggled .main-nav > ul {
    overflow: visible !important;
    max-height: none !important;
  }

  .main-navigation.toggled .inside-navigation {
    display: block !important;
    height: calc(100dvh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 80px !important;
  }

  .main-navigation.toggled ul li.menu-item-has-children > ul.sub-menu {
    display: block !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Subcategory card icons */
.hp-subcategory-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.hp-subcategory-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff1f1;
  color: #ff5a5f;
  font-size: 17px;
  font-weight: 950;
}

@media (max-width: 768px) {
  .hp-subcategory-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .hp-subcategory-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
}

/* Subcategory card icon layout fix */
.hp-subcategory-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  position: relative;
  padding-left: 56px !important;
}

.hp-subcategory-card .hp-subcategory-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 11px;
  font-size: 14px;
}

.hp-subcategory-card strong {
  display: block;
  line-height: 1.2;
}

.hp-subcategory-card span:not(.hp-subcategory-icon) {
  display: inline;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .hp-subcategory-card {
    padding-left: 52px !important;
  }

  .hp-subcategory-card .hp-subcategory-icon {
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

/* Empty subcategory yakinda text fix */
.hp-subcategory-card.is-empty .hp-subcategory-icon::after {
  content: none !important;
  display: none !important;
}

.hp-subcategory-card.is-empty span:not(.hp-subcategory-icon)::after {
  content: " · yakında" !important;
  color: #ff5a5f;
  font-weight: 900;
}

/* Calculator title hierarchy fix */
.hp-single-content .hc-calculator > h2,
.hp-single-content .hc-calculator > h3 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

@media (max-width: 768px) {
  .hp-single-content .hc-calculator > h2,
  .hp-single-content .hc-calculator > h3 {
    font-size: 22px;
    line-height: 1.2;
  }
}

/* Directory child category icons */
.hp-directory-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.hp-directory-link-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: #fff1f1;
  color: #ff5a5f;
  font-size: 13px;
  font-weight: 950;
}

@media (max-width: 768px) {
  .hp-directory-links a {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .hp-directory-link-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* Search result category meta */
.hp-post-card .hp-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 8px;
  color: #ff5a5f;
  font-size: 12px;
  font-weight: 900;
}

.hp-post-card .hp-post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff1f1;
}

.hp-post-card .hp-post-meta em {
  color: #9ca3af;
  font-style: normal;
  font-weight: 900;
}

/* Mobile homepage top spacing refinement */
@media (max-width: 768px) {
  body.home .site-content,
  body.home .inside-article {
    padding-top: 8px !important;
    margin-top: 0 !important;
  }

  body.home .entry-content {
    margin-top: 0 !important;
  }

  body.home .hp-hero {
    margin-top: 0 !important;
    padding-top: 22px !important;
  }
}

/* Final header/menu alignment override */
.site-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06) !important;
  position: relative;
  z-index: 60;
}

.inside-header {
  min-height: 82px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

.site-logo,
.site-logo a {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.site-logo img,
.header-image.is-logo-image {
  display: block !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 54px !important;
  height: auto !important;
  object-fit: contain !important;
}

.main-navigation {
  margin-left: auto !important;
  align-self: center !important;
}

.main-navigation .inside-navigation,
.main-navigation .main-nav,
.main-navigation .main-nav > ul {
  display: flex !important;
  align-items: center !important;
}

.main-navigation .main-nav > ul {
  gap: 8px !important;
}

.main-navigation .main-nav ul li a {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .inside-header {
    min-height: 76px !important;
    gap: 18px !important;
  }

  .site-logo img,
  .header-image.is-logo-image {
    max-width: 190px !important;
    max-height: 48px !important;
  }

  .main-navigation .main-nav ul li a {
    padding: 0 11px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  .inside-header {
    min-height: 68px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .site-logo img,
  .header-image.is-logo-image {
    max-width: 165px !important;
    max-height: 42px !important;
  }
}


/* Clean mobile header menu: compact hamburger + clean dropdown */
@media (max-width: 768px) {
  .site-header {
    position: relative !important;
    z-index: 100 !important;
  }

  .site-header .inside-header {
    position: relative !important;
    min-height: 72px !important;
    padding: 10px 24px !important;
    display: flex !important;
    align-items: center !important;
    padding-right: 112px !important;
  }

  .site-logo img,
  .header-image.is-logo-image {
    max-width: 116px !important;
    max-height: 44px !important;
    height: auto !important;
  }

  .main-navigation {
    display: block !important;
    position: absolute !important;
    top: 18px !important;
    right: 24px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 120 !important;
  }

  .main-navigation .inside-navigation {
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .main-navigation .menu-toggle {
    width: 66px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid rgba(17, 24, 39, 0.10) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06) !important;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
  }

  .main-navigation .menu-toggle .gp-icon,
  .main-navigation .menu-toggle svg,
  .main-navigation .menu-toggle .mobile-menu {
    display: none !important;
  }

  .main-navigation .menu-toggle::before {
    content: "" !important;
    width: 24px !important;
    height: 16px !important;
    display: block !important;
    background:
      linear-gradient(#111827, #111827) 0 0 / 24px 2px no-repeat,
      linear-gradient(#111827, #111827) 0 7px / 24px 2px no-repeat,
      linear-gradient(#111827, #111827) 0 14px / 24px 2px no-repeat !important;
  }

  .main-navigation:not(.toggled) .main-nav,
  .main-navigation:not(.toggled) .main-nav > ul {
    display: none !important;
  }

  .main-navigation.toggled {
    left: 24px !important;
    right: 24px !important;
    top: 82px !important;
    width: auto !important;
  }

  .main-navigation.toggled .menu-toggle {
    position: fixed !important;
    top: 18px !important;
    right: 24px !important;
  }

  .main-navigation.toggled .menu-toggle::before {
    width: 22px !important;
    height: 22px !important;
    background:
      linear-gradient(#111827, #111827) center / 22px 2px no-repeat,
      linear-gradient(#111827, #111827) center / 22px 2px no-repeat !important;
    transform: rotate(45deg) !important;
  }

  .main-navigation.toggled .menu-toggle::after {
    content: "" !important;
    position: absolute !important;
    width: 22px !important;
    height: 2px !important;
    background: #111827 !important;
    border-radius: 999px !important;
    transform: rotate(-45deg) !important;
  }

  .main-navigation.toggled .main-nav {
    display: block !important;
    width: 100% !important;
  }

  .main-navigation.toggled .main-nav > ul {
    display: block !important;
    width: 100% !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12) !important;
  }

  .main-navigation.toggled .main-nav ul li a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    color: #4b5563 !important;
    background: transparent !important;
  }

  .main-navigation.toggled .main-nav ul li.current-menu-item > a,
  .main-navigation.toggled .main-nav ul li a:hover {
    background: rgba(255, 82, 94, 0.10) !important;
    color: #ff5260 !important;
  }

  .main-navigation.toggled ul ul {
    position: static !important;
    width: 100% !important;
    margin: 4px 0 8px !important;
    padding-left: 12px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* Mobile header final: hide text title, center logo, keep hamburger on right */
@media (max-width: 768px) {
  .site-header .inside-header {
    min-height: 72px !important;
    padding: 10px 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .site-branding,
  .site-branding .main-title,
  .site-branding .site-description,
  .main-title {
    display: none !important;
  }

  .site-logo {
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }

  .site-logo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-logo img,
  .header-image.is-logo-image {
    max-width: 150px !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .main-navigation {
    position: absolute !important;
    top: 18px !important;
    right: 24px !important;
    left: auto !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 120 !important;
  }
}


/* Home page spacing compact polish - no header/menu changes */
.hp-home-hero,
.hp-category-grid-section,
.hp-popular-section,
.hp-latest-section,
.hp-home-categories,
.hp-home-info,
.hp-home-bottom {
  margin-top: 56px !important;
  margin-bottom: 56px !important;
}

.hp-home-hero {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.hp-home-hero .hp-hero-card,
.hp-hero-card {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

.hp-category-grid,
.hp-home-category-grid {
  gap: 18px !important;
}

.hp-category-card,
.hp-home-category-card {
  min-height: 150px !important;
  padding: 24px 18px !important;
}

.hp-popular-grid,
.hp-latest-grid,
.hp-home-post-grid,
.hp-category-list-grid {
  gap: 18px !important;
}

.hp-tool-card,
.hp-post-card,
.hp-home-post-card,
.hp-category-list-card {
  padding: 22px !important;
  min-height: auto !important;
}

.hp-section-title,
.hp-home-section-title {
  margin-bottom: 20px !important;
}

@media (max-width: 768px) {
  .hp-home-hero,
  .hp-category-grid-section,
  .hp-popular-section,
  .hp-latest-section,
  .hp-home-categories,
  .hp-home-info,
  .hp-home-bottom {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
  }

  .hp-home-hero {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .hp-home-hero .hp-hero-card,
  .hp-hero-card {
    padding: 28px 18px !important;
    border-radius: 26px !important;
  }

  .hp-hero-card h1,
  .hp-home-hero h1 {
    margin-bottom: 14px !important;
  }

  .hp-hero-card p,
  .hp-home-hero p {
    margin-bottom: 20px !important;
  }

  .hp-search-form,
  .hp-hero-search {
    margin-top: 18px !important;
    margin-bottom: 22px !important;
  }

  .hp-category-grid,
  .hp-home-category-grid {
    gap: 12px !important;
  }

  .hp-category-card,
  .hp-home-category-card {
    min-height: 132px !important;
    padding: 18px 12px !important;
    border-radius: 18px !important;
  }

  .hp-category-card .hp-category-icon,
  .hp-home-category-card .hp-category-icon {
    margin-bottom: 10px !important;
  }

  .hp-category-card h3,
  .hp-home-category-card h3 {
    margin-bottom: 6px !important;
  }

  .hp-popular-grid,
  .hp-latest-grid,
  .hp-home-post-grid,
  .hp-category-list-grid {
    gap: 12px !important;
  }

  .hp-tool-card,
  .hp-post-card,
  .hp-home-post-card,
  .hp-category-list-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .hp-tool-card h3,
  .hp-post-card h3,
  .hp-home-post-card h3,
  .hp-category-list-card h3 {
    margin-bottom: 6px !important;
  }

  .hp-section-title,
  .hp-home-section-title {
    margin-bottom: 14px !important;
  }

  .hp-section-title h2,
  .hp-home-section-title h2,
  .hp-popular-section h2,
  .hp-latest-section h2,
  .hp-home-categories h2 {
    margin-bottom: 6px !important;
  }

  .hp-home-info,
  .hp-home-bottom {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}


/* HARD FIX desktop homepage vertical gaps */
@media (min-width: 769px) {
  body.home .inside-article,
  body.home .entry-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.home .entry-content > .hp-home-hero-directory {
    margin-top: 0 !important;
    margin-bottom: 36px !important;
  }

  body.home .entry-content > section.hp-section,
  body.home section.hp-section,
  body.home #popular-tools,
  body.home #latest-tools,
  body.home #categories {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 44px !important;
  }

  body.home #latest-tools,
  body.home #categories {
    margin-top: 0 !important;
  }

  body.home .hp-section-head {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.home .hp-section-head h2 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.08 !important;
  }

  body.home .hp-section-head p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.home .hp-tool-grid,
  body.home .hp-latest-tool-grid,
  body.home .hp-category-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.home .entry-content > .hp-seo-content {
    margin-top: 10px !important;
    padding-top: 0 !important;
  }

  body.home .hp-seo-content h2 {
    margin-top: 28px !important;
    margin-bottom: 10px !important;
  }

  body.home .hp-seo-card-grid {
    margin-top: 18px !important;
    margin-bottom: 22px !important;
  }
}


/* Home category cards with latest posts - test */
.home .hp-category-card-with-posts {
  display: block !important;
  min-height: 214px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.home .hp-category-card-with-posts .hp-category-kicker {
  display: none !important;
}

.home .hp-category-card-toplink {
  position: relative !important;
  display: block !important;
  padding: 24px 70px 4px 28px !important;
  color: inherit !important;
  text-decoration: none !important;
  min-height: auto !important;
}

.home .hp-category-card-heading {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.home .hp-category-card-heading .hp-category-mini-icon {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  border-radius: 14px !important;
}

.home .hp-category-card-title h3 {
  margin: 0 0 4px !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  font-weight: 950 !important;
}

.home .hp-category-card-title p {
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}

.home .hp-category-card-with-posts .hp-category-arrow {
  position: absolute !important;
  right: 28px !important;
  top: 34px !important;
  transform: none !important;
}

.home .hp-category-latest-list {
  margin: 6px 28px 22px 86px !important;
  padding: 0 0 0 18px !important;
  list-style: disc !important;
}

.home .hp-category-latest-list li {
  margin: 5px 0 !important;
  padding-left: 2px !important;
  color: #ff5a5f !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.home .hp-category-latest-list li::marker {
  color: #ff5a5f !important;
  font-size: 8px !important;
}

.home .hp-category-latest-list a {
  color: #667085 !important;
  text-decoration: none !important;
}

.home .hp-category-latest-list a:hover {
  color: #ff5a5f !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 768px) {
  .home .hp-category-card-with-posts {
    min-height: auto !important;
  }

  .home .hp-category-card-toplink {
    padding: 20px 54px 4px 22px !important;
  }

  .home .hp-category-card-heading {
    gap: 11px !important;
  }

  .home .hp-category-card-heading .hp-category-mini-icon {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .home .hp-category-card-title h3 {
    font-size: 18px !important;
  }

  .home .hp-category-card-title p {
    font-size: 13px !important;
  }

  .home .hp-category-latest-list {
    margin: 6px 22px 20px 72px !important;
  }

  .home .hp-category-latest-list li {
    font-size: 12px !important;
  }
}

/* Normalize category archive width */
body.archive.category .hp-category-page,
body.archive.category .hp-category-posts {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.archive.category .hp-category-top-hero,
body.archive.category .hp-subcategory-panel,
body.archive.category .hp-category-tools-section {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.archive.category .hp-category-top-hero .hp-hero-search {
  max-width: 760px !important;
}

/* Policy pages compact typography */
body.page .inside-article .entry-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.page .inside-article .entry-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  line-height: 1.18;
}

body.page .inside-article .entry-content h2:first-child {
  margin-top: 0;
}

body.page .inside-article .entry-content p {
  margin-bottom: 16px;
  line-height: 1.75;
}

body.page .inside-article .entry-content ul,
body.page .inside-article .entry-content ol {
  margin-top: 8px;
  margin-bottom: 18px;
}

body.page .inside-article .entry-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  body.page .inside-article .entry-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
  }

  body.page .inside-article .entry-content p {
    margin-bottom: 14px;
  }
}

/* Cookie consent banner */
.hp-cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: inherit;
}

.hp-cookie-consent__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hp-cookie-consent__text strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.hp-cookie-consent__text p {
  margin: 0;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hp-cookie-consent__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-cookie-consent__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hp-cookie-btn {
  min-width: 104px;
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.hp-cookie-btn:hover {
  transform: translateY(-1px);
}

.hp-cookie-btn--primary {
  background: #ffffff;
  color: #0f172a;
}

.hp-cookie-btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-cookie-consent__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hp-cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .hp-cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
  }

  .hp-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hp-cookie-consent__close {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .hp-cookie-consent__text {
    padding-right: 34px;
  }
}

/* Risk disclaimer box */
.hp-risk-disclaimer {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.hp-risk-disclaimer strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.3;
}

.hp-risk-disclaimer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.hp-risk-disclaimer--health {
  background: #f8fbff;
  border-color: #dbeafe;
}

.hp-risk-disclaimer--finance {
  background: #fffdf7;
  border-color: #fde68a;
}

@media (max-width: 768px) {
  .hp-risk-disclaimer {
    padding: 14px 15px;
    border-radius: 14px;
  }
}

/* Premium sidebar cards */
.hp-sidebar-stack {
  display: grid;
  gap: 16px;
}

.hp-side-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #eceff3;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.hp-side-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #ff5a5f;
}

.hp-side-card__head {
  margin-bottom: 14px;
}

.hp-side-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.10);
  color: #ff5a5f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.hp-side-card strong {
  display: block;
  color: #111827;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hp-side-card p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.hp-side-related-list,
.hp-side-mini-list {
  display: grid;
  gap: 9px;
}

.hp-side-related-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.hp-side-related-item:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(255, 90, 95, 0.35);
}

.hp-side-related-item__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background: rgba(255, 90, 95, 0.12);
  color: #ff5a5f;
  font-size: 14px;
  font-weight: 900;
}

.hp-side-related-item__text {
  min-width: 0;
  color: #111827;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.35;
}

.hp-side-mini-list a {
  display: block;
  padding: 10px 0;
  color: #111827;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.hp-side-mini-list a:hover {
  color: #ff5a5f;
}

.hp-side-button {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #ff5a5f;
  color: #fff !important;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none !important;
}

.hp-side-button:hover {
  filter: brightness(0.96);
}

.hp-side-button--light {
  background: rgba(255, 90, 95, 0.10);
  color: #ff5a5f !important;
}

.hp-side-card--category {
  background: linear-gradient(180deg, #ffffff, #fffafa);
}

.hp-side-card--feedback {
  background: #fff;
}

.hp-side-card--muted {
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
}

.hp-side-card--muted::before {
  background: #cbd5e1;
}

.hp-side-card--muted strong,
.hp-side-card--muted p {
  color: #64748b;
}

@media (max-width: 1024px) {
  .hp-sidebar-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-side-card--related {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hp-sidebar-stack {
    grid-template-columns: 1fr;
  }

  .hp-side-card {
    padding: 16px;
    border-radius: 18px;
  }
}

/* Sidebar coral accent refinement */
.hp-side-card::before {
  background: #ff5a5f !important;
}

.hp-side-eyebrow {
  background: rgba(255, 90, 95, 0.12) !important;
  color: #ff5a5f !important;
}

.hp-side-related-item__icon {
  background: #ff5a5f !important;
  color: #ffffff !important;
}

.hp-side-related-item:hover {
  border-color: rgba(255, 90, 95, 0.45) !important;
}

.hp-side-mini-list a:hover {
  color: #ff5a5f !important;
}

.hp-side-button {
  background: #ff5a5f !important;
  color: #ffffff !important;
}

.hp-side-button--light {
  background: rgba(255, 90, 95, 0.12) !important;
  color: #ff5a5f !important;
}

/* Sidebar similar categories */
.hp-side-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-side-category-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.08);
  border: 1px solid rgba(255, 90, 95, 0.16);
  color: #111827;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.hp-side-category-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 90, 95, 0.13);
  border-color: rgba(255, 90, 95, 0.34);
}

.hp-side-category-item span {
  color: #ff5a5f;
  font-weight: 900;
}

.hp-side-category-item em {
  font-style: normal;
  color: #111827;
}

/* Sidebar related arrow color fix */
.hp-side-related-item__icon {
  background: rgba(255, 90, 95, 0.12) !important;
  color: #ff5a5f !important;
}

/* Sidebar arrow icon only coral */
.hp-side-related-item__icon {
  background: rgba(255, 90, 95, 0.12) !important;
  color: #ff5a5f !important;
}

.hp-side-related-item__icon svg,
.hp-side-related-item__icon path,
.hp-side-related-item__icon i,
.hp-side-related-item__icon::before {
  color: #ff5a5f !important;
  fill: #ff5a5f !important;
  stroke: #ff5a5f !important;
}

/* Sidebar arrow text rendering fix */
.hp-side-related-item__icon {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  background: rgba(255, 90, 95, 0.12) !important;
  color: #ff5a5f !important;
}

/* Single content wider while keeping sidebar */
@media (min-width: 1100px) {
  .hp-single-main {
    max-width: 1340px;
  }

  .hp-single-layout {
    grid-template-columns: minmax(0, 900px) 340px;
    gap: 34px;
    justify-content: center;
    align-items: start;
  }

  .hp-single-sidebar {
    width: 340px;
  }
}

@media (min-width: 1450px) {
  .hp-single-main {
    max-width: 1440px;
  }

  .hp-single-layout {
    grid-template-columns: minmax(0, 980px) 340px;
    gap: 38px;
  }

  .hp-single-sidebar {
    width: 340px;
  }
}

/* Force wider single content area */
@media (min-width: 1100px) {
  body.single .site-content.hp-single-page {
    width: 100% !important;
    max-width: none !important;
  }

  body.single .hp-single-main {
    width: 100% !important;
    max-width: 1420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single .hp-single-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 960px) 340px !important;
    gap: 36px !important;
    justify-content: center !important;
    align-items: start !important;
    width: 100% !important;
  }

  body.single .hp-single-content {
    width: 100% !important;
    max-width: none !important;
  }

  body.single .hp-single-sidebar {
    width: 340px !important;
    max-width: 340px !important;
  }
}

@media (min-width: 1500px) {
  body.single .hp-single-main {
    max-width: 1520px !important;
  }

  body.single .hp-single-layout {
    grid-template-columns: minmax(0, 1080px) 340px !important;
    gap: 40px !important;
  }
}

/* Center calculator card inside single content */
body.single .hp-single-content .hc-calculator {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  body.single .hp-single-content .hc-calculator {
    max-width: 100%;
  }
}

/* Hesaplamaa live search */
.hp-live-search-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  z-index: 20;
}

.hp-live-search-wrap .hp-hero-search {
  position: relative;
  z-index: 22;
}

.hp-live-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  z-index: 30;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  text-align: left;
}

.hp-live-search-results[hidden] {
  display: none !important;
}

.hp-live-search-list {
  max-height: 430px;
  overflow-y: auto;
  padding: 8px;
}

.hp-live-search-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 16px;
  color: #111827;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.hp-live-search-item:hover,
.hp-live-search-item:focus {
  background: #fff4f4;
  transform: translateY(-1px);
  outline: none;
}

.hp-live-search-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1f2, #ffffff);
  color: #ff5a5f;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 90, 95, 0.13);
}

.hp-live-search-copy {
  min-width: 0;
  display: block;
}

.hp-live-search-copy strong {
  display: block;
  color: #111827;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 800;
}

.hp-live-search-copy em {
  display: block;
  margin-top: 3px;
  color: #ff5a5f;
  font-size: 0.78rem;
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
}

.hp-live-search-copy small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hp-live-search-state {
  padding: 16px 18px;
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 600;
}

.hp-live-search-all {
  display: block;
  padding: 14px 18px;
  background: #f9fafb;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #ff5a5f;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
}

.hp-live-search-all:hover,
.hp-live-search-all:focus {
  background: #fff4f4;
  color: #e5484d;
}

@media (max-width: 640px) {
  .hp-live-search-results {
    top: calc(100% + 8px);
    border-radius: 18px;
  }

  .hp-live-search-list {
    max-height: 360px;
  }

  .hp-live-search-copy small {
    display: none;
  }
}

/* Search/category pagination cleanup */
.hp-pagination {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.hp-pagination ul.page-numbers,
.hp-pagination .nav-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hp-pagination ul.page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hp-pagination ul.page-numbers li::marker {
  content: "" !important;
}

.hp-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  margin-left: -1px;
}

.hp-pagination .page-numbers.current {
  background: #ff5a5f;
  border-color: #ff5a5f;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hp-pagination a.page-numbers:hover,
.hp-pagination a.page-numbers:focus {
  background: #fff4f4;
  color: #ff5a5f;
  border-color: rgba(255, 90, 95, 0.35);
  position: relative;
  z-index: 3;
}

.hp-pagination ul.page-numbers li:first-child .page-numbers {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.hp-pagination ul.page-numbers li:last-child .page-numbers {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.hp-pagination .next,
.hp-pagination .prev {
  min-width: 92px;
}

@media (max-width: 640px) {
  .hp-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .hp-pagination .next,
  .hp-pagination .prev {
    min-width: auto;
  }
}
