/*!
Theme Name: Directory WP
Theme URI: https://www.facebook.com/tanvirfazley
Author: Tanvir Fazley
Author URI: https://www.facebook.com/tanvirfazley
Description: Directory Theme is a Simple Landing Page.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: directory-wp
*/


.comment-author.vcard span.says {
    display: none;
}

.comment-author.vcard b.fn {
    text-transform: capitalize;
}



.pages-image-section { width: 100%; }
.page-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (min-width: 992px) {
  .page-hero-img {
    max-height: 520px; /* adjust to taste */
  }
}
@media (max-width: 575px) {
  .page-hero-img {
    max-height: 260px; /* adjust to taste */
  }
}


/* === Patch: hero image sizing (v2, taller on mobile) === */
.pages-image-section { width: 100%; }
.page-hero-img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  height: 38vw;         /* scale with viewport for roomy hero */
  max-height: 520px;    /* don't get too tall on big screens */
}

/* Tablets */
@media (max-width: 991px) {
  .page-hero-img {
    height: 52vw;
    max-height: 480px;
  }
}

/* Mobiles */
@media (max-width: 575px) {
  .page-hero-img {
    height: 70vw;       /* nice, taller crop on phones */
    max-height: none;   /* remove cap so it can be taller */
    min-height: 300px;  /* ensure it's not too short on small phones */
  }
}


/* === Patch v3: scope taller hero to PAGES only === */
@media (max-width: 575px) {
  body.page .page-hero-img {
    height: 78vw;        /* a touch taller than v2 */
    min-height: 340px;   /* ensure presence on small phones */
    max-height: none;    /* allow full height on phones */
  }
}

