/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.8.6.1732221992
Updated: 2024-11-21 20:46:32

*/

/* ============================================================
   GALLERY GRID (Photos page)
   Square Instagram-style tiles. Applies only to a Post Template
   block that has the Additional CSS class  instagram-grid
   - Photos: image only, nothing written on or under them
   - Articles: title fades in on hover (always shown on touch screens)
   To undo: delete everything from this comment to the END marker.
   ============================================================ */

ul.instagram-grid.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tablet and phone: same three columns, tighter gaps (like Instagram) */
@media (max-width: 781px) {
  ul.instagram-grid.wp-block-post-template { gap: 3px; }
}
@media (max-width: 480px) {
  ul.instagram-grid.wp-block-post-template { gap: 2px; }
}

/* One square tile */
ul.instagram-grid > li.wp-block-post {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
}

ul.instagram-grid > li .wp-block-post-featured-image,
ul.instagram-grid > li .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

ul.instagram-grid > li .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

/* Dates are not shown in the grid */
ul.instagram-grid > li .wp-block-post-date {
  display: none;
}

/* Photos (Grid Shots): no title on the tile (kept for screen readers) */
ul.instagram-grid > li.type-grid_shot .wp-block-post-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Articles: title appears on hover / keyboard focus */
ul.instagram-grid > li.type-post .wp-block-post-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none; /* the click goes through to the image link */
}

ul.instagram-grid > li.type-post .wp-block-post-title a {
  color: #fff;
  text-decoration: none;
}

ul.instagram-grid > li.type-post:hover .wp-block-post-title,
ul.instagram-grid > li.type-post:focus-within .wp-block-post-title {
  opacity: 1;
}

/* Touch screens have no hover, so articles show their title all the time */
@media (hover: none) {
  ul.instagram-grid > li.type-post .wp-block-post-title {
    opacity: 1;
    font-size: 12px;
    padding: 8px;
  }
}

/* Small phones: smaller title text */
@media (max-width: 480px) {
  ul.instagram-grid > li.type-post .wp-block-post-title {
    font-size: 11px;
    padding: 6px;
  }
}

/* ============================================================
   END OF GALLERY GRID
   ============================================================ */

/* ============================================================
   GALLERY TABS + TAG CLOUD (Photos page)
   Tabs above the grid (All / My Boys / Bodies / Sex) and the tag
   cloud below it. Markup comes from functions.php section 10.
   To undo: delete everything from this comment to the END marker.
   ============================================================ */

.hb-grid-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.hb-grid-nav a,
.hb-grid-tags a {
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.hb-grid-nav a {
  padding: 8px 0 6px;
  border-bottom: 1px solid transparent;
}

.hb-grid-nav a:hover,
.hb-grid-nav a:focus-visible,
.hb-grid-tags a:hover,
.hb-grid-tags a:focus-visible,
.hb-grid-nav a[aria-current="page"],
.hb-grid-tags a[aria-current="page"] {
  opacity: 1;
}

.hb-grid-nav a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.hb-grid-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 36px 0 8px;
  line-height: 1.6;
}

.hb-grid-tags a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   END OF GALLERY TABS + TAG CLOUD
   ============================================================ */
