/*
Theme Name: Special Tests
Theme URI: https://example.com/special-tests
Author: Copilot
Description: A medical orthopedic special tests website inspired by the provided static design.
Version: 1.0
Text Domain: special-tests
*/

:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container, .section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-brand h1 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.site-brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  position: relative;
}
.menu-toggle-input {
  display: none;
}
.menu-toggle {
/*   display: inline-flex; */
  display: none;
	
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0.6rem;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-dark);
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 35;
  display: none;
}
.menu-toggle-input:checked ~ .menu-backdrop {
  display: block;
}
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100vh;
  z-index: 40;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
  padding: 1.2rem;
  display: none;
}
.menu-toggle-input:checked ~ .site-nav {
  display: block;
}
.menu-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 1.2rem;
}
.site-nav ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 3rem 0 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  transition: background 0.2s ease;
  font-weight: 600;
}
.site-nav a:hover, .site-nav .current-menu-item > a {
  background: var(--primary);
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.2rem 0.2rem 0.8rem;
}
.search-form input[type="search"] {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 180px;
  font: inherit;
  color: var(--text);
}
.search-form button {
  border: 0;
  border-radius: 999px;
  background: var(--surface-alt);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}
.search-form button:hover {
  background:var(--border);
}
.screen-reader-text {
  position: absolute;
  left: -9999px;
}
.hero {
  padding: 4rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
}
.hero-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.hero-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.8rem;
}
.hero-card p { margin: 0; color: rgba(255,255,255,0.92); }
.hero-side {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-side h3 { margin-top: 0; }
.section { padding: 1.25rem 0 2rem; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.section-title h3, .section-title h2 {
  margin: 0;
  font-size: 1.2rem;
}
.section-title a {
  color: var(--primary);
  font-weight: 600;
}
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.test-card, .region-card, .post-card, .content-card, .sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
	margin:10px auto;
}
.test-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.test-card .card-body {
  padding: 1rem;
}
.badge {
  display: inline-block;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-dark);
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.6rem;
}
.test-card h4 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.test-card p { margin: 0; color: var(--muted); }
.region-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.region-card .card-body { padding: 1rem; }
.region-card h4 { margin: 0 0 0.35rem; }
.region-card p { margin: 0; color: var(--muted); }
.post-list {
  display: grid;
  gap: 1rem;
}
.post-card { display: grid; grid-template-columns: 160px 1fr; }
.post-card img { height: 100%; object-fit: cover; }
.post-card .card-body { padding: 1rem; }
.post-card h4 { margin: 0 0 0.4rem; }
.post-card p { margin: 0; color: var(--muted); }
.single-post {
  display: grid;
  gap: 1.2rem;
   
   
}
.content-card, .sidebar-card { padding: 1.25rem; }
.content-card h1, .content-card h2, .content-card h3, .content-card h4 { margin-top: 0; color: var(--primary-dark); }
.post-meta {
  margin: 0.8rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.post-meta .breadcrumbs {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
}
.post-meta .breadcrumbs a {
  color: var(--primary-dark);
  font-weight: 600;
}
.post-meta .breadcrumb-separator {
  color: var(--border);
}
.post-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--muted);
}
.post-meta-item strong {
  font-weight: 700;
  color: var(--text);
}
.sidebar-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar-card-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-card-item a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  padding: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-height: 84px;
}
.sidebar-card-thumb {
  position: relative;
  min-width: 72px;
  min-height: 72px;
  border-radius: 0.9rem;
  overflow: hidden;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-card-thumb-fallback {
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.sidebar-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
	margin: 10px auto;
}
.sidebar-card-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  max-width: fit-content;
	margin:5px 0;
}
.sidebar-card-content h4 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--text);
 
}
@media (max-width: 1024px) {
  .sidebar-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sidebar-card-list {
    grid-template-columns: 1fr;
  }
  .sidebar-card-item a {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .sidebar-card-thumb {
    width: 100%;
    min-height: 140px;
    border-radius: 1rem;
  }
}
@media (max-width: 720px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.content-card p, .content-card li, .content-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.content-card p { margin: 0 0 1rem; }
.content-card ul, .content-card ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.content-card img {
  border-radius: 1rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
  width: 680px;
  height: 385px;
}
.content-card a {
  color: var(--primary);
  text-decoration: underline;
}
.content-card blockquote {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: var(--surface-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0.8rem;
}
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.content-card th, .content-card td {
  border: 1px solid var(--border);
  padding: 0.7rem;
  text-align: left;
}
.content-card th { background: var(--surface-alt); }
.sidebar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.sidebar-list a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--surface-alt);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  background: rgba(255,255,255,0.85);
}
.archive-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 1rem 0 2rem; }
.archive-item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.archive-thumbnail-link { display: block; width: 100%; }
.archive-thumbnail { width: 100%; height: 190px; display: block; border-radius: 0; object-fit: cover; }
.archive-item-content { padding: 1rem 1.2rem 1.2rem; min-width: 0; }
.archive-item h3 { margin-top: 0; margin-bottom: 0.5rem; }
@media (max-width: 1024px) {
  .archive-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .archive-list { grid-template-columns: 1fr; }
}
.pagination {
  margin: 1.5rem 0 0;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem;
	margin: 15px auto;
  box-shadow: var(--shadow);
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2.3rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary);
  color: #fff;
}
.pagination .prev,
.pagination .next {
  padding: 0 0.85rem;
}
@media (max-width: 860px) {
  .hero-grid, .single-post { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .header-controls { width: 100%; justify-content: flex-end; }
  .header-actions { width: 100%; justify-content: flex-end; }
  .search-form { width: 100%; max-width: 280px; }
  .search-form input[type="search"] { min-width: 0; flex: 1; }
  .post-card { grid-template-columns: 1fr; }
}

/* Modern home page */
body {
  background:
    linear-gradient(180deg, #f7fbf9 0%, #f3f6fb 48%, #fff8ed 100%);
}

.search-form button {
  color: var(--primary-dark);
}

.home-hero {
  padding: 4.5rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.11), rgba(245, 158, 11, 0.10)),
    #f8fbfb;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 2rem;
  align-items: center;
}

.home-hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h2 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.96;
  color: #10231f;
}

.home-hero-copy > p {
  margin: 0;
  max-width: 620px;
  color: #42534f;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: #0f766e;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.button-secondary {
  color: #10231f;
  background: #fff;
  border-color: rgba(15, 118, 110, 0.22);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hero-stats div {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  margin: 0;
  color: #9a3412;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0.45rem 0 0;
  color: #53615e;
  font-size: 0.9rem;
}

.home-hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: #10231f;
  box-shadow: 0 24px 60px rgba(15, 35, 31, 0.22);
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.9;
}

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 31, 0.05), rgba(16, 35, 31, 0.68));
}

.hero-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #10231f;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

.hero-note span {
  color: #53615e;
}

.home-section {
  padding: 3.2rem 0;
}

.detail-band {
  background: #fff;
  border-block: 1px solid rgba(15, 118, 110, 0.10);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: start;
  margin-top: 0.6rem;
}

.detail-layout h3,
.workflow-grid h3 {
  margin: 0 0 0.7rem;
  color: #10231f;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.detail-layout p,
.workflow-grid p {
  margin: 0;
  color: #53615e;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.detail-card {
  min-height: 12rem;
  padding: 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 118, 110, 0.13);
  background: #fbfdfc;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-card h4 {
  margin: 0.85rem 0 0.35rem;
  color: #10231f;
}

.detail-card p {
  color: #53615e;
  font-size: 0.95rem;
}

.enhanced-title {
  align-items: end;
  margin-bottom: 1.2rem;
}

.enhanced-title h3 {
  margin-top: 0.25rem;
  color: #10231f;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.modern-test-card,
.modern-region-card,
.detail-card {
  box-shadow: 0 10px 30px rgba(15, 35, 31, 0.08);
}

.modern-test-card,
.modern-region-card {
  border-radius: 8px;
}

.modern-test-card .post-thumbnail {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7f4f0;
}

.modern-test-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.modern-test-card:hover .post-thumbnail img {
  transform: scale(1.04);
}

.placeholder-thumbnail {
  display: grid;
  place-items: center;
  color: #0f766e;
  font-size: 3rem;
  font-weight: 900;
}

.workflow-band {
  background: #10231f;
  color: #fff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.workflow-band .section-kicker,
.workflow-grid h3 {
  color: #fbbf24;
}

.workflow-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.workflow-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-height: 5.4rem;
  padding: 1rem 1rem 1rem 4.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: workflow;
}

.workflow-list li::before {
  content: counter(workflow);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fbbf24;
  color: #10231f;
  font-weight: 900;
}

.workflow-list strong,
.workflow-list span {
  display: block;
}

.workflow-list span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.72);
}

.modern-region-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.modern-region-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.modern-region-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #0f766e, #f59e0b, #dc2626);
}

.modern-region-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.32);
}

.modern-region-card .card-body {
  padding: 1.15rem;
}

.modern-region-card span {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
}

.modern-region-card h4 {
  margin-top: 0.35rem;
  color: #10231f;
}

@media (max-width: 900px) {
  .home-hero-grid,
  .detail-layout,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 3rem;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .home-section {
    padding: 2.3rem 0;
  }

  .hero-stats,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h2 {
    font-size: 2.55rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 280px;
  }
}


/* Search Page */

.search-page{
    padding:40px 0 60px;
}

.search-header{
    margin-bottom:35px;
}

.search-header h1{
    margin-bottom:10px;
}

.search-header p{
    color:#666;
}

.search-results-grid{
    display:grid;
    gap:30px;
}

.search-card{
    display:flex;
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:14px;
    overflow:hidden;
    transition:.25s;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.search-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.search-thumb{
    width:280px;
    flex-shrink:0;
    overflow:hidden;
}

.search-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.search-content{
    padding:25px;
    flex:1;
}

.search-category{
    margin-bottom:12px;
}

.search-category a{
    display:inline-block;
    background:#0073aa;
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:13px;
    text-decoration:none;
    font-weight:600;
}

.search-title{
    margin:0 0 15px;
    font-size:1.6rem;
    line-height:1.3;
}

.search-title a{
    color:#222;
    text-decoration:none;
}

.search-title a:hover{
    color:#0073aa;
}

.search-excerpt{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.search-readmore{
    display:inline-block;
    color:#0073aa;
    font-weight:600;
    text-decoration:none;
}

.search-readmore:hover{
    text-decoration:underline;
}

@media (max-width:768px){

    .search-card{
        flex-direction:column;
    }

    .search-thumb{
        width:100%;
        height:220px;
    }

    .search-thumb img{
        height:220px;
    }

}