/* ============================================
   V Rámečku overlay — sits on top of iseewild's
   bundled stylesheet. Only contains:
   1) Asset-path overrides (point /wp-content/* refs at /assets/*)
   2) Tiny CZ-specific tweaks
   ============================================ */

/* The intro-screen background image is hard-coded to a /wp-content/...
   path inside the iseewild bundle. Point it at our local copy. */
.intro-screen {
  background-image: url('/assets/iseewild/theme-martin.jpg') !important;
}

/* Body min spacing from fixed header (iseewild handles via menu but our
   non-home pages benefit from this baseline). */
body.has-fixed-header main {
  min-height: 100vh;
}

/* Make sure links inside post bodies pick up the iseewild accent. */
.main a {
  color: inherit;
}
.main .post-card a:hover h3,
.main .post-card a:hover .post-title {
  color: #6ab290;
}

/* Hide WordPress-specific admin chrome that may appear */
#wpadminbar,
.admin-bar,
.wpml-ls-statics-shortcode_actions { display: none !important; }

/* ---------------------------------------------
   Home gallery grid (we don't have Meow Gallery's
   JS-driven carousel, so fall back to a simple
   responsive grid styled to match the iseewild vibe)
   --------------------------------------------- */
.vrm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 1.5rem;
}
.vrm-gallery-grid__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
  cursor: zoom-in;
}
.vrm-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}
.vrm-gallery-grid__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
@media (max-width: 768px) {
  .vrm-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

/* ---------------------------------------------
   Galerie page — masonry layout přes CSS columns.
   Každá fotka si zachová natural aspect ratio
   (žádný crop), žádné mezery jako u grid spanů.
   Reading order je column-by-column (top→bottom
   ve sloupci 1, pak sloupec 2 atd.) — pro galerii
   bez narativního pořadí ideální.
   --------------------------------------------- */
.vrm-gallery-grid--full {
  display: block;
  column-count: 4;
  column-gap: 10px;
  margin-top: 1.5rem;
}
.vrm-gallery-grid--full .vrm-gallery-grid__item {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  aspect-ratio: auto;
  background: transparent;
}
.vrm-gallery-grid--full .vrm-gallery-grid__item img {
  height: auto;
  display: block;
}
@media (max-width: 1024px) {
  .vrm-gallery-grid--full {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .vrm-gallery-grid--full {
    column-count: 2;
    column-gap: 6px;
  }
  .vrm-gallery-grid--full .vrm-gallery-grid__item {
    margin-bottom: 6px;
  }
}

/* ---------------------------------------------
   Galerie page — header (velký nadpis + tagline)
   --------------------------------------------- */
.gallery-header {
  text-align: center;
  padding: 0 1.25rem;
  margin: 2rem auto 3rem;
}
.gallery-title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.75rem;
  text-transform: none;
}
.gallery-tagline {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #666;
  margin: 0;
  font-weight: 300;
}

/* ---------------------------------------------
   Galerie page — CTA pod mřížkou
   --------------------------------------------- */
.gallery-cta {
  max-width: 38rem;
  text-align: center;
  padding: 4rem 1.25rem 5rem;
}
.gallery-cta p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}
.gallery-cta a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease;
}
.gallery-cta a:hover {
  color: #6ab290;
}
@media (max-width: 768px) {
  .gallery-cta {
    padding: 2.5rem 1.25rem 3.5rem;
  }
}

/* ---------------------------------------------
   Generic page hero — title + subtitle
   (sdílené pro kdo-jsem, kontakt, kurzy, …)
   --------------------------------------------- */
.page-hero {
  text-align: center;
  padding: 0 1.25rem;
  margin: 1rem auto 3rem;
}
.page-title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.75rem;
  text-transform: none;
}
.page-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: #666;
  margin: 0 auto;
  font-weight: 300;
  font-style: italic;
  max-width: 32rem;
}

/* ---------------------------------------------
   Kdo jsem (.page-about) — editorial dvousloupec
   intro (text + fotka) + světle šedá zoo sekce.
   --------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
.about-intro__text p {
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}
/* Lead — první odstavec má větší typo, vizuálně otvírá stránku */
.about-intro__text p:first-of-type {
  font-size: 1.3rem;
  line-height: 1.55;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1.75rem;
}
.about-intro__photo {
  margin: 0;
  position: relative;
}
.about-intro__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .about-intro__text p:first-of-type {
    font-size: 1.15rem;
  }
}

/* "Pojď se mnou fotit" sekce — světle šedé pozadí
   echo home rytmu (galerie sekce). Padding-x same
   jako container, ať to ladí s body content. */
.about-zoo {
  background: #f4f4f4;
  margin: 4rem -1.25rem 0;
  padding: 4rem 1.25rem;
}
.about-zoo h2 {
  margin-top: 0;
}
.about-zoo a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease;
}
.about-zoo a:hover {
  color: #6ab290;
}
@media (max-width: 768px) {
  .about-zoo {
    padding: 2.5rem 1.25rem;
  }
}

/* ---------------------------------------------
   Kontakt page (.page-contact) — IG kontakt karta.
   Žádný formulář (Cloudflare Pages = static),
   primární cesta je IG DM.
   Obsah je vertikálně vystředěný v rámci viewportu.
   --------------------------------------------- */
.page-contact .page-header {
  display: none;
}
.page-contact .main {
  min-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.contact-card-wrap {
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  border-color: #6ab290;
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  fill: currentColor;
}
.contact-card__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.contact-card__label {
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.contact-card__handle {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-card__cta {
  font-weight: 600;
  color: #6ab290;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.contact-card:hover .contact-card__cta {
  transform: translateX(3px);
}

.contact-note {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-note p {
  margin: 0;
}

@media (max-width: 480px) {
  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }
  .contact-card__cta {
    margin-top: 0.25rem;
  }
}

/* ---------------------------------------------
   Pojď fotit (.page-fotit) — editorial invitation
   page. Hero foto, kam bychom vyrazili, info box.
   --------------------------------------------- */
.fotit-intro {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
}
.fotit-intro__photo {
  margin: 0;
  height: 100%;
}
.fotit-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
/* Lead — první odstavec většího stylu */
.fotit-intro__text p:first-child {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 2rem;
}
/* Ostatní odstavce normální velikost se vzájemnou mezerou */
.fotit-intro__text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
  margin: 0 0 1.25rem;
}
/* Section header "Kam bychom mohli vyrazit" — výraznější oddělení */
.fotit-intro__text h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin: 2.5rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}
.fotit-intro__text h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
@media (max-width: 768px) {
  .fotit-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .fotit-intro__photo {
    height: auto;
  }
  .fotit-intro__photo img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .fotit-intro__text p:first-child {
    font-size: 1.1rem;
  }
}
.page-fotit .page-body h2 {
  margin-top: 3rem;
}

/* Spodek stránek s page layoutem — odsadit od footer vlny */
.page-body {
  padding-bottom: 4rem;
}

/* ---------------------------------------------
   Zásady ochrany osobních údajů (.page-privacy)
   — čitelný prose styl s reasonable line length.
   --------------------------------------------- */
.page-privacy .page-body {
  max-width: 36rem;
  margin: 0 auto;
}
.page-privacy .page-body p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  margin: 0 0 1.25rem;
}
.page-privacy .page-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 2.75rem 0 1rem;
}
.page-privacy .page-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.page-privacy .page-body li {
  margin: 0 0 0.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #333;
}
.page-privacy .page-body strong {
  color: #1a1a1a;
}
.page-privacy .page-body a {
  color: inherit;
  border-bottom: 1px solid #ccc;
  transition: color .2s ease, border-color .2s ease;
}
.page-privacy .page-body a:hover {
  color: #6ab290;
  border-bottom-color: #6ab290;
}

/* ---------------------------------------------
   404 — branded error page (vystředěno na střed
   viewportu, odkazy na hlavní sekce).
   --------------------------------------------- */
.page-404 .main {
  min-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.error-404 {
  text-align: center;
  padding: 4rem 1.25rem;
  max-width: 36rem;
  margin: 0 auto;
}
.error-404__code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  color: #1a1a1a;
}
.error-404__message {
  font-size: 1.15rem;
  color: #666;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.error-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
}
.error-404__links a {
  color: #1a1a1a;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.error-404__links a:hover {
  color: #6ab290;
}
.trip-info {
  background: #f4f4f4;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.75rem 1.5rem;
}
.trip-info dt {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}
.trip-info dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
}
@media (max-width: 600px) {
  .trip-info {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
    padding: 1.25rem 1.5rem;
  }
  .trip-info dt {
    margin-top: 0.75rem;
  }
  .trip-info dt:first-of-type {
    margin-top: 0;
  }
}

/* ---------------------------------------------
   Lightbox (used for blog post images and the
   home gallery grid)
   --------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color .2s ease;
}
.lightbox__close { top: 24px; right: 24px; font-size: 2.5rem; line-height: 1; }
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 16px 24px;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: #6ab290; }

/* ---------------------------------------------
   Mobile menu open state (iseewild uses
   `top-menu-active` body class as the toggle).
   --------------------------------------------- */
body.top-menu-active { overflow: hidden; }
@media (min-width: 1024px) {
  body.top-menu-active { overflow: auto; }
}

/* ---------------------------------------------
   Page body / post body content readability
   (iseewild's bundle styles wp-block-* well, but
   single posts written as Markdown need a baseline)
   --------------------------------------------- */
.page-body p,
.post-body p,
.post-content p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.post-body h2,
.post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}
.post-body h3,
.post-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.post-body img,
.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  cursor: zoom-in;
}
.post-body ul,
.post-content ul,
.post-body ol,
.post-content ol {
  margin: 0 0 1.25rem 1.5rem;
}
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li,
.post-content li { margin-bottom: 0.5rem; }
.post-body blockquote,
.post-content blockquote {
  border-left: 3px solid #6ab290;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}
.post-body a,
.post-content a {
  color: #6ab290;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumbs a:hover { color: #6ab290; }

/* container utility for sections that don't ship from iseewild */
.mt-container { margin-top: 2rem; }

/* ---------------------------------------------
   Brand mark = wildcat icon + wordmark, inline
   --------------------------------------------- */
.banner .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;       /* override Tailwind w-40/lg:w-48 */
}
.banner .brand svg.logo {
  height: 36px !important;
  max-height: 36px !important;
  width: auto;
  flex: 0 0 auto;
}
.brand-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  text-transform: none;
  line-height: 1;
}
.banner .brand:hover .brand-wordmark { color: #6ab290; }

@media (max-width: 480px) {
  .brand-wordmark { font-size: 0.9rem; letter-spacing: 0.04em; }
  .banner .brand svg.logo { height: 30px !important; max-height: 30px !important; }
}

/* Footer logo — wildcat alone (copyright text supplies the brand name) */
.footer svg.logo {
  height: 28px !important;
  width: auto;
}

/* Brand wordmark — Yesteryear handwritten font (Google Fonts) */
.brand-wordmark {
  font-family: 'Yesteryear', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  transform: translateY(6px);
}

/* Header — vertikálně vystředit logo, wordmark, menu a IG ikonu (desktop) */
@media (min-width: 1024px) {
  .banner > .relative,
  .nav-primary {
    align-items: center !important;
  }
  .banner .brand {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
  }
  /* Strip h-full effects + force flex centering napříč nav children */
  .nav-primary > div {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }
  .nav-primary .menu,
  .nav-primary .menu-menu-container,
  .nav-primary ul {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }
  .nav-primary .socialIcons {
    display: flex !important;
    align-items: center !important;
  }
  .nav-primary .socialIcons a {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
    transform: translateY(-3px);
  }
}

/* H1 inversion — rotating animal on line 1, "v rámečku" on line 2.
   Single text-node swap (see initRotateAnimals in vramecku.js).
   Tight line-height so the two lines sit close together. */
/* Compact hero — smaller H1, tighter spacing, smaller subtitle. */
.intro-screen {
  font-size: 17px !important;     /* was 21px */
}
.intro-screen .container {
  margin-top: 30vh !important;    /* was 40vh — start a bit higher */
}
.intro-screen h1 {
  font-size: 2.4rem !important;   /* was 3.5rem at lg+ */
  line-height: 1.05 !important;
}
.intro-screen #rotateAnimals {
  display: block;
  margin: 0 0 0.15em !important;
  line-height: 1.05;
  color: #6ab290;
  opacity: 1;
  transition: opacity .35s ease;
}
.intro-screen p {
  margin-bottom: 22px !important;  /* was 40px */
}
.intro-screen .photo-button {
  padding: 6px 16px !important;    /* was 8px 20px */
  font-size: 0.95rem;
}

/* Hero subtitle — exactly 2 lines. Each sentence is its own `.intro-line`
   span set to display:block + nowrap so neither sentence wraps internally.
   iseewild's `margin-right: 30%` on the paragraph is dropped so the long
   second line has room. (Mobile <=768px allows wrap to avoid overflow.) */
.intro-screen p.intro {
  margin-right: 0 !important;
  max-width: none !important;
}
.intro-screen p.intro .intro-line {
  display: block;
  white-space: nowrap;
}
/* First line (philosophy) bold; second line (scope) regular weight. */
.intro-screen p.intro .intro-line:first-child {
  font-weight: 700;
  margin-bottom: 0.25em;
}
@media (max-width: 768px) {
  .intro-screen p.intro .intro-line { white-space: normal; }
}

/* Secondary hero button — borderless, lower visual weight than the
   primary "Sleduj mou cestu" outlined button. */
.intro-screen .photo-button.photo-button--ghost {
  border: none;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.7);
  background-color: transparent !important;
  transition: color .3s ease;
}
.intro-screen .photo-button.photo-button--ghost:hover {
  color: #6ab290;
  background-color: transparent !important;
}

/* ---------------------------------------------
   About row section (badge + intro text under hero).
   Třída není v iseewild bundle, definujeme ji tady,
   aby blok nenarážel na intro-screen.
   --------------------------------------------- */
.about-row-section {
  padding: 6rem 1.25rem;
  background: #fff;
}
.about-row-section .wp-block-columns {
  align-items: center;
  gap: 2.5rem;
}
.about-row-section h2 {
  margin-top: 0;
}
@media (max-width: 768px) {
  .about-row-section {
    padding: 3.5rem 1.25rem;
  }
}

/* ---------------------------------------------
   Photo divider — landscape full-bleed strip mezi
   about a galerií. Žádný text, jen vizuální předěl.
   --------------------------------------------- */
.photo-divider {
  display: block;
  width: 100%;
  height: 35vh;
  min-height: 240px;
  max-height: 480px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.photo-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------------------------------------------
   Gallery section — světle šedá, breathing room,
   navazuje na photo-divider nahoře.
   Asymetrický padding: víc nahoře (oddělit od fotky),
   míň dole (CTA text se přiblíží k další sekci).
   --------------------------------------------- */
.gallery-section {
  background: #f4f4f4;
  padding: 6rem 1.25rem 2.5rem;
}
.gallery-section .has-text-align-center.mt-8 {
  margin-top: 4rem;
}
@media (max-width: 768px) {
  .gallery-section {
    padding: 3.5rem 1.25rem 2rem;
  }
  .gallery-section .has-text-align-center.mt-8 {
    margin-top: 2.5rem;
  }
}

/* ---------------------------------------------
   YouTube section — bílé pozadí, vycentrováno,
   úzký sloupec pro optimální čitelnost prózy.
   Vlna ve footeru pak funguje jako zamýšlený přechod
   bílá → černá.
   --------------------------------------------- */
.youtube-section {
  padding: 6rem 1.25rem;
  text-align: center;
}
.youtube-section .wp-block-column {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  flex-basis: auto;
}
@media (max-width: 768px) {
  .youtube-section {
    padding: 3.5rem 1.25rem;
  }
}

/* ---------------------------------------------
   Blog listing card grid (Tailwind utilities for
   widths/flex aren't fully in the iseewild bundle)
   --------------------------------------------- */
.posts-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}
.posts-list .post-card {
  width: 100%;
  padding: 0 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .posts-list .post-card { width: 50%; }
}
@media (min-width: 1024px) {
  .posts-list .post-card { width: 33.333%; }
}
.posts-list .post-card img {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.posts-list .post-card a:hover img { transform: scale(1.03); }
.posts-list .post-card h3 a { text-decoration: none; }
.posts-list .post-card h3 a:hover { color: #6ab290; }

/* category tags */
.custom-category-list { list-style: none; padding: 0; }
.custom-category-list a {
  text-decoration: none;
  transition: all .2s ease;
}
.custom-category-list a:hover {
  background: #6ab290;
  border-color: #6ab290;
  color: #fff;
}

