/*
Theme Name: HealthPlanner Pro
Theme URI: https://healthplanner.ir/
Author: HealthPlanner
Description: قالب حرفه‌ای مجله پزشکی و سلامت با طراحی خوانا، رنگ‌بندی پزشکی، هدر استاندارد، جایگاه لوگو و نسخه موبایل.
Version: 2.0.0
Text Domain: healthplanner
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
*/


@font-face {
  font-family: 'IRANSans';
  src: url('font/IRANSansWeb.eot');
  src: url('font/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
       url('font/IRANSansWeb.woff2') format('woff2'),
       url('font/IRANSansWeb.woff') format('woff'),
       url('font/IRANSansWeb.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'IRANSans';
  src: url('font/IRANSansWeb_Bold.eot');
  src: url('font/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
       url('font/IRANSansWeb_Bold.woff2') format('woff2'),
       url('font/IRANSansWeb_Bold.woff') format('woff'),
       url('font/IRANSansWeb_Bold.ttf') format('truetype');
  font-weight: 700;
}

/* =========================
   PEYDA FONT
========================= */

@font-face {
  font-family: 'Peyda';
  src: url('font/PeydaWebFaNum-Regular.woff2') format('woff2'),
       url('font/PeydaWebFaNum-Regular.woff') format('woff'),
       url('font/PeydaFaNum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('font/PeydaWebFaNum-Bold.woff2') format('woff2'),
       url('font/PeydaWebFaNum-Bold.woff') format('woff'),
       url('font/PeydaFaNum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root{
  --hp-primary:#0f9f9a;
  --hp-primary-dark:#087f7b;
  --hp-primary-soft:#e8fbfa;
  --hp-blue:#1769e0;
  --hp-blue-soft:#edf5ff;
  --hp-green:#16a34a;
  --hp-mint:#f3fffd;
  --hp-bg:#f6fbfb;
  --hp-card:#ffffff;
  --hp-text:#14212b;
  --hp-heading:#071923;
  --hp-muted:#6a7b88;
  --hp-border:#dbe9e9;
  --hp-danger:#ef4444;
  --hp-shadow:0 18px 55px rgba(7,25,35,.08);
  --hp-shadow-sm:0 10px 28px rgba(7,25,35,.06);
  --hp-radius:24px;
  --hp-radius-sm:16px;
  --hp-container:1220px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  background:
    radial-gradient(circle at top right,rgba(15,159,154,.13),transparent 30%),
    radial-gradient(circle at bottom left,rgba(23,105,224,.08),transparent 28%),
    var(--hp-bg);
  color:var(--hp-text);
  font-family:"Peyda","IRANSans",Tahoma,Arial,sans-serif;
  font-size:16px;
  line-height:2;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none;transition:.22s ease}
a:hover{color:var(--hp-primary)}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
::selection{background:var(--hp-primary);color:#fff}

.hp-container{
  width:min(92%,var(--hp-container));
  margin-inline:auto;
}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

h1,h2,h3,h4,h5,h6{
  margin:0 0 14px;
  color:var(--hp-heading);
  line-height:1.65;
  font-weight:900;
  letter-spacing:-.02em;
}
p{margin:0 0 16px;color:var(--hp-muted)}
ul,ol{padding-right:22px}

.hp-site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(219,233,233,.9);
  box-shadow:0 8px 30px rgba(7,25,35,.04);
}

.hp-header-top{
  background:linear-gradient(90deg,var(--hp-primary-dark),var(--hp-primary),var(--hp-blue));
  color:#fff;
  font-size:13px;
}

.hp-header-top-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.hp-header-main{
  min-height:86px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 330px;
  align-items:center;
  gap:26px;
}

.hp-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--hp-heading);
  min-width:210px;
}

.hp-logo:hover{color:var(--hp-heading)}
.custom-logo-link img,.hp-logo img{max-height:62px;width:auto;object-fit:contain}
.hp-logo-mark{
  width:58px;
  height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 58px;
  border-radius:19px;
  background:linear-gradient(135deg,var(--hp-primary),var(--hp-blue));
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 12px 30px rgba(15,159,154,.25);
}

.hp-logo-text{display:flex;flex-direction:column;line-height:1.5}
.hp-logo-text strong{font-size:22px;color:var(--hp-heading);font-weight:950}
.hp-logo-text small{font-size:12px;color:var(--hp-muted);font-weight:700}

.hp-nav{justify-self:center;width:100%}
.hp-menu{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:4px;
  list-style:none;
  margin:0;
  padding:0;
}
.hp-menu li{position:relative}
.hp-menu a{
  display:block;
  padding:10px 13px;
  border-radius:14px;
  color:#243746;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.hp-menu a:hover,.hp-menu .current-menu-item>a,.hp-menu .current_page_item>a{
  background:var(--hp-primary-soft);
  color:var(--hp-primary-dark);
}
.hp-menu .sub-menu{
  position:absolute;
  top:100%;
  right:0;
  min-width:220px;
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:18px;
  box-shadow:var(--hp-shadow);
  list-style:none;
  margin:10px 0 0;
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.22s ease;
}
.hp-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.hp-menu .sub-menu a{padding:9px 12px;font-size:13px}

.hp-header-search{justify-self:end;width:100%}
.hp-search-form{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:18px;
  padding:6px;
  box-shadow:0 8px 24px rgba(7,25,35,.04);
}
.hp-search-form input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--hp-text);
  padding:10px 12px;
}
.hp-search-form input::placeholder{color:#8ca0ad}
.hp-search-form button{
  border:0;
  border-radius:14px;
  background:var(--hp-primary);
  color:#fff;
  font-size:13px;
  font-weight:900;
  padding:10px 14px;
  transition:.22s ease;
}
.hp-search-form button:hover{background:var(--hp-primary-dark)}

.hp-menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--hp-border);
  background:#fff;
  border-radius:15px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.hp-menu-toggle span{width:20px;height:2px;border-radius:4px;background:var(--hp-heading);transition:.22s ease}
.hp-menu-toggle.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hp-menu-toggle.is-active span:nth-child(2){opacity:0}
.hp-menu-toggle.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.hp-hero-section{padding:36px 0 20px}
.hp-hero-card{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:440px;
  background:linear-gradient(135deg,#ffffff 0%,#f0fffd 52%,#edf5ff 100%);
  border:1px solid rgba(219,233,233,.95);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--hp-shadow);
}
.hp-hero-content{
  padding:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hp-hero-content h1{
  font-size:clamp(30px,4vw,48px);
  line-height:1.55;
  margin:16px 0;
}
.hp-hero-content p{
  max-width:690px;
  font-size:17px;
  line-height:2.15;
  color:#435867;
}
.hp-hero-image{
  min-height:100%;
  background:linear-gradient(135deg,var(--hp-primary-soft),var(--hp-blue-soft));
  display:flex;
  align-items:stretch;
}
.hp-hero-image img{
  width:100%;
  height:100%;
  min-height:440px;
  object-fit:cover;
}
.hp-hero-placeholder,.hp-thumb-placeholder{
  width:100%;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--hp-primary-soft),var(--hp-blue-soft));
  color:var(--hp-primary-dark);
  font-weight:950;
  letter-spacing:.04em;
}

.hp-post-topline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  color:#7a8b98;
  font-size:13px;
  font-weight:800;
  margin-bottom:10px;
}
.hp-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 11px;
  border-radius:999px;
  background:var(--hp-primary-soft);
  color:var(--hp-primary-dark);
  font-size:12px;
  font-weight:950;
}
.hp-badge:hover{background:var(--hp-primary);color:#fff}

.hp-btn,.hp-readmore,input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,var(--hp-primary),var(--hp-blue));
  color:#fff;
  padding:11px 18px;
  font-size:14px;
  font-weight:950;
  box-shadow:0 12px 30px rgba(15,159,154,.18);
  transition:.22s ease;
}
.hp-btn:hover,.hp-readmore:hover,input[type="submit"]:hover{color:#fff;transform:translateY(-2px);box-shadow:0 16px 36px rgba(15,159,154,.25)}
.hp-btn-lg{margin-top:20px;padding:14px 24px;border-radius:18px;font-size:15px}

.hp-topic-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  padding:24px 0 10px;
}
.hp-topic-pill{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:18px;
  background:rgba(255,255,255,.82);
  border:1px solid var(--hp-border);
  border-radius:20px;
  box-shadow:var(--hp-shadow-sm);
}
.hp-topic-pill strong{color:var(--hp-heading);font-size:15px}
.hp-topic-pill span{color:var(--hp-muted);font-size:12px;font-weight:800}
.hp-topic-pill:hover{transform:translateY(-3px);border-color:rgba(15,159,154,.35)}

.hp-section{padding:42px 0}
.hp-section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}
.hp-section-header span,.hp-archive-header>span{
  display:inline-block;
  color:var(--hp-primary-dark);
  background:var(--hp-primary-soft);
  border-radius:999px;
  padding:4px 11px;
  font-size:12px;
  font-weight:950;
  margin-bottom:8px;
}
.hp-section-header h2{font-size:clamp(24px,3vw,34px);margin:0}
.hp-link-arrow{color:var(--hp-primary-dark);font-weight:950;font-size:14px}

.hp-post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.hp-post-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.hp-post-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr))}

.hp-post-card{
  background:#fff;
  border:1px solid rgba(219,233,233,.92);
  border-radius:var(--hp-radius);
  overflow:hidden;
  box-shadow:var(--hp-shadow-sm);
  transition:.24s ease;
}
.hp-post-card:hover{transform:translateY(-5px);box-shadow:var(--hp-shadow)}
.hp-post-thumb{display:block;overflow:hidden;background:var(--hp-primary-soft)}
.hp-post-thumb img{width:100%;aspect-ratio:1.55/1;object-fit:cover;transition:.32s ease}
.hp-post-card:hover .hp-post-thumb img{transform:scale(1.035)}
.hp-post-body{padding:20px}
.hp-post-title{font-size:20px;line-height:1.85;margin-bottom:10px}
.hp-post-excerpt{font-size:14px;line-height:2.05;color:#5f7280;margin-bottom:18px}
.hp-readmore{font-size:13px;padding:9px 14px;border-radius:14px;background:var(--hp-heading);box-shadow:none}
.hp-readmore:hover{background:var(--hp-primary)}
.hp-post-card-compact .hp-post-title{font-size:17px}
.hp-post-card-compact .hp-post-body{padding:17px}
.hp-post-card-compact .hp-readmore{display:none}

.hp-page-wrap{padding:44px 0}
.hp-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:28px;
  align-items:start;
}
.hp-content-area,.hp-single-main{
  min-width:0;
}
.hp-archive-header{
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:var(--hp-radius);
  padding:28px;
  margin-bottom:24px;
  box-shadow:var(--hp-shadow-sm);
}
.hp-archive-header h1{font-size:clamp(26px,3vw,38px);margin-bottom:0}
.hp-archive-description{margin-top:10px;color:var(--hp-muted)}
.hp-archive-description p{margin:0}

.hp-sidebar{
  position:sticky;
  top:126px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.hp-widget{
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:var(--hp-radius);
  padding:22px;
  box-shadow:var(--hp-shadow-sm);
}
.hp-widget-title,.hp-widget h3{font-size:19px;margin-bottom:15px;position:relative;padding-right:14px}
.hp-widget-title:before,.hp-widget h3:before{
  content:"";
  position:absolute;
  right:0;
  top:10px;
  width:5px;
  height:18px;
  border-radius:99px;
  background:var(--hp-primary);
}
.hp-clean-list,.hp-widget ul{list-style:none;margin:0;padding:0}
.hp-clean-list li,.hp-widget ul li{border-bottom:1px solid #eef5f5;padding:9px 0}
.hp-clean-list li:last-child,.hp-widget ul li:last-child{border-bottom:0}
.hp-clean-list a,.hp-widget ul a{font-size:14px;font-weight:800;color:#334957}
.hp-mini-post{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:12px 0;
  border-bottom:1px solid #eef5f5;
}
.hp-mini-post:last-child{border-bottom:0}
.hp-mini-post span{font-size:14px;font-weight:900;line-height:1.9;color:var(--hp-heading)}
.hp-mini-post small{font-size:12px;color:var(--hp-muted)}
.hp-disclaimer-widget{background:linear-gradient(135deg,var(--hp-primary-soft),#fff)}

.hp-single-layout{grid-template-columns:minmax(0,1fr) 340px}
.hp-single-main{
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:30px;
  padding:34px;
  box-shadow:var(--hp-shadow);
}
.hp-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  color:var(--hp-muted);
  font-size:13px;
  font-weight:800;
  margin-bottom:22px;
}
.hp-breadcrumb a{color:var(--hp-primary-dark)}
.hp-single-header h1{font-size:clamp(30px,4vw,46px);line-height:1.65;margin:10px 0 12px}
.hp-single-header p{font-size:17px;line-height:2.15;color:#506574}
.hp-single-thumb{margin:28px 0;border-radius:24px;overflow:hidden;background:var(--hp-primary-soft)}
.hp-single-thumb img{width:100%;max-height:620px;object-fit:cover}
.hp-sharebar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:14px;
  border:1px solid var(--hp-border);
  border-radius:20px;
  background:#fbffff;
  margin-bottom:28px;
}
.hp-sharebar a,.hp-sharebar button{
  border:0;
  border-radius:14px;
  background:var(--hp-primary-soft);
  color:var(--hp-primary-dark);
  padding:9px 14px;
  font-size:13px;
  font-weight:950;
}
.hp-sharebar a:hover,.hp-sharebar button:hover{background:var(--hp-primary);color:#fff}

.hp-single-content{
  font-size:18px;
  line-height:2.25;
  color:#243746;
}
.hp-single-content>*:first-child{margin-top:0}
.hp-single-content p{color:#243746;margin-bottom:22px}
.hp-single-content h2{font-size:30px;margin-top:42px;padding-top:10px;border-top:1px solid #edf5f5}
.hp-single-content h3{font-size:24px;margin-top:34px}
.hp-single-content a{color:var(--hp-primary-dark);font-weight:900;border-bottom:1px solid rgba(15,159,154,.22)}
.hp-single-content ul,.hp-single-content ol{margin:0 0 24px;padding-right:28px}
.hp-single-content li{margin-bottom:10px}
.hp-single-content blockquote{
  margin:28px 0;
  padding:22px 24px;
  border-right:5px solid var(--hp-primary);
  background:var(--hp-primary-soft);
  border-radius:18px;
  color:#24414b;
  font-weight:800;
}
.hp-single-content table{width:100%;border-collapse:collapse;margin:26px 0;overflow:hidden;border-radius:16px}
.hp-single-content th,.hp-single-content td{border:1px solid var(--hp-border);padding:12px;text-align:right}
.hp-single-content th{background:var(--hp-primary-soft);color:var(--hp-heading)}
.hp-single-content img{border-radius:18px;margin:26px auto}
.hp-single-content iframe{max-width:100%;border-radius:18px}

.hp-tags{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0}
.hp-tags a{display:inline-flex;background:#f1f8f8;color:var(--hp-primary-dark);border-radius:999px;padding:7px 12px;font-size:13px;font-weight:900}
.hp-author-box{
  display:flex;
  gap:16px;
  align-items:center;
  background:linear-gradient(135deg,var(--hp-primary-soft),#fff);
  border:1px solid var(--hp-border);
  border-radius:24px;
  padding:20px;
  margin:30px 0;
}
.hp-author-avatar img{border-radius:50%}
.hp-author-box h3{font-size:20px;margin-bottom:4px}
.hp-author-box p{margin:0;font-size:14px}
.hp-related-posts{margin-top:34px}

.hp-pagination{display:flex;justify-content:center;margin-top:32px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.page-numbers{
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--hp-border);
  color:var(--hp-heading);
  font-weight:900;
}
.page-numbers.current,.page-numbers:hover{background:var(--hp-primary);color:#fff;border-color:var(--hp-primary)}

.hp-empty-state{
  background:#fff;
  border:1px solid var(--hp-border);
  border-radius:30px;
  box-shadow:var(--hp-shadow-sm);
  padding:44px;
  text-align:center;
}
.hp-empty-state h1,.hp-empty-state h2{font-size:30px}
.hp-empty-state .hp-search-form{max-width:560px;margin:20px auto}
.hp-404-box{max-width:760px;margin:20px auto}
.hp-error-code{display:block;font-size:76px;line-height:1;color:var(--hp-primary);font-weight:950;margin-bottom:16px}

.hp-comments-wrap{
  margin-top:36px;
  padding-top:30px;
  border-top:1px solid var(--hp-border);
}
.hp-comments-title,.hp-comment-reply-title{font-size:24px;margin-bottom:18px}
.hp-comment-list{list-style:none;margin:0 0 26px;padding:0}
.hp-comment-item{margin-bottom:16px}
.hp-comment-box{
  display:flex;
  gap:14px;
  background:#fbffff;
  border:1px solid var(--hp-border);
  border-radius:20px;
  padding:16px;
}
.hp-comment-avatar img{border-radius:50%}
.hp-comment-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.hp-comment-meta strong{color:var(--hp-heading)}
.hp-comment-meta span{color:var(--hp-muted);font-size:12px}
.hp-comment-text p{margin-bottom:10px;color:#334957}
.hp-comment-reply a{font-size:13px;font-weight:900;color:var(--hp-primary-dark)}
.hp-awaiting{display:block;color:var(--hp-danger);font-size:13px;margin-bottom:8px}
.hp-field{margin-bottom:14px}
.hp-field label{display:block;margin-bottom:6px;color:var(--hp-heading);font-size:14px;font-weight:900}
.hp-field input,.hp-field textarea,input[type="text"],input[type="email"],input[type="search"],input[type="url"],textarea,select{
  width:100%;
  border:1px solid var(--hp-border);
  border-radius:16px;
  background:#fff;
  outline:0;
  color:var(--hp-text);
  padding:13px 15px;
  transition:.22s ease;
}
.hp-field input:focus,.hp-field textarea:focus,input:focus,textarea:focus,select:focus{
  border-color:var(--hp-primary);
  box-shadow:0 0 0 4px rgba(15,159,154,.10);
}
.form-submit input{width:auto;cursor:pointer}

.hp-site-footer{
  margin-top:40px;
  background:#071923;
  color:#d4e2e7;
}
.hp-footer-main{
  display:grid;
  grid-template-columns:1.35fr .75fr .75fr 1fr;
  gap:34px;
  padding:56px 0;
}
.hp-footer-brand p{color:#b8c9cf;line-height:2.1;margin:16px 0}
.hp-logo-footer .hp-logo-text strong{color:#fff}
.hp-logo-footer .hp-logo-text small{color:#b8c9cf}
.hp-footer-note{
  padding:12px 14px;
  background:rgba(15,159,154,.16);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  color:#eafffd;
  font-size:13px;
  font-weight:800;
}
.hp-footer-col h3{color:#fff;font-size:19px;margin-bottom:15px}
.hp-footer-col p{color:#b8c9cf;font-size:14px}
.hp-footer-menu{list-style:none;margin:0;padding:0}
.hp-footer-menu li{margin-bottom:9px}
.hp-footer-menu a{color:#cde0e5;font-size:14px;font-weight:800}
.hp-footer-menu a:hover{color:#fff}
.hp-site-footer .hp-search-form{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);box-shadow:none}
.hp-site-footer .hp-search-form input{color:#fff}
.hp-site-footer .hp-search-form input::placeholder{color:#b8c9cf}
.hp-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:17px 0;color:#9fb3ba;font-size:13px}
.hp-footer-bottom-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

.aligncenter{margin-left:auto;margin-right:auto}
.alignleft{float:left;margin:0 24px 18px 0}
.alignright{float:right;margin:0 0 18px 24px}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:13px;color:var(--hp-muted);text-align:center;margin-top:8px}
.gallery{display:grid;gap:14px}
.bypostauthor{outline:0}

@media(max-width:1180px){
  .hp-header-main{grid-template-columns:auto 1fr;gap:16px;padding:14px 0}
  .hp-header-search{grid-column:1/-1;justify-self:stretch}
  .hp-topic-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hp-post-grid,.hp-post-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-post-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-layout,.hp-single-layout{grid-template-columns:1fr}
  .hp-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:860px){
  body{font-size:15px}
  .hp-header-top{display:none}
  .hp-header-main{display:flex;flex-wrap:wrap;min-height:unset;padding:12px 0}
  .hp-logo{min-width:0;margin-left:auto}
  .hp-logo-mark{width:50px;height:50px;flex-basis:50px;border-radius:16px}
  .hp-logo-text strong{font-size:18px}
  .hp-menu-toggle{display:flex;order:2}
  .hp-nav{
    display:none;
    order:4;
    flex-basis:100%;
    background:#fff;
    border:1px solid var(--hp-border);
    border-radius:20px;
    padding:10px;
    box-shadow:var(--hp-shadow-sm);
  }
  .hp-nav.is-open{display:block}
  .hp-menu{display:block}
  .hp-menu a{padding:11px 12px}
  .hp-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;margin:0 12px 0 0;padding:0;background:#f8fcfc}
  .hp-header-search{order:3;flex-basis:100%}
  .hp-hero-card{grid-template-columns:1fr;border-radius:24px}
  .hp-hero-content{padding:28px;order:2}
  .hp-hero-image{order:1}
  .hp-hero-image img{min-height:260px;max-height:340px}
  .hp-hero-content h1{font-size:28px}
  .hp-hero-content p{font-size:15px}
  .hp-topic-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-section-header{align-items:flex-start;flex-direction:column}
  .hp-single-main{padding:24px;border-radius:24px}
  .hp-single-content{font-size:16px;line-height:2.2}
  .hp-single-content h2{font-size:24px}
  .hp-footer-main{grid-template-columns:1fr;padding:42px 0}
}

@media(max-width:620px){
  .hp-container{width:min(94%,var(--hp-container))}
  .hp-search-form{border-radius:16px}
  .hp-search-form button{padding:10px 12px}
  .hp-topic-strip,.hp-post-grid,.hp-post-grid-compact,.hp-post-grid-archive,.hp-sidebar{grid-template-columns:1fr}
  .hp-section{padding:30px 0}
  .hp-post-body{padding:17px}
  .hp-post-title{font-size:18px}
  .hp-archive-header,.hp-empty-state{padding:24px;border-radius:22px}
  .hp-sharebar{display:grid;grid-template-columns:1fr 1fr}
  .hp-author-box{align-items:flex-start}
  .hp-comment-box{align-items:flex-start}
  .hp-footer-bottom-inner{flex-direction:column;text-align:center}
}
