/* Kill Astra header */
.site-header, 
.ast-site-header-wrap, 
.ast-main-header-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Kill Astra footer */
.site-footer, 
.ast-footer-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Remove Astra page spacing so your HTML sits flush */
.site-content, 
.ast-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Astra title and breadcrumbs */
.entry-header,
.page-title,
.ast-breadcrumbs {
    display: none !important;
}

/* Ensure your HTML pages always override Astra layout */
body,
html,
.ast-container,
.site-content > .ast-container {
    max-width: 100% !important;
    width: 100% !important;
}
/* OFFICIAL MRWF MENU BUTTON */
.nav-toggle-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--deep);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.nav-toggle-btn:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
/* OFFICIAL MRWF DROPDOWN STYLE */
.nav-menu {
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 12px 0;
  min-width: 240px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

/* MENU LINKS STYLE */
.nav-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep);
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s;
}

/* REMOVE LAST BORDER */
.nav-menu a:last-child {
  border-bottom: none;
}

/* HOVER EFFECT */
.nav-menu a:hover {
  background: var(--royal);
  color: #ffffff;
  padding-left: 26px;
}
.nav-menu {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-toggle:checked + .nav-toggle-btn + .nav-menu {
  opacity: 1;
  transform: translateY(0);
}
/* Fix Blog Page Spacing Below MRWF Header */
.page-id-XXXX .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Fix Blog Page Spacing Below MRWF Header – Page ID 4963 */
.page-id-4963 .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Remove theme overlays and restore clean blog layout – Page ID 4963 */
.page-id-4963 .entry-header:before,
.page-id-4963 .entry-thumbnail:before,
.page-id-4963 .post-thumbnail:before {
    background: none !important;
    display: none !important;
    content: none !important;
}

.page-id-4963 .entry-header,
.page-id-4963 .entry-thumbnail,
.page-id-4963 .post-thumbnail,
.page-id-4963 article {
    background: none !important;
    box-shadow: none !important;
}
/* Remove Astra/Dara extra padding wrappers – Page ID 4963 */
.page-id-4963 .entry-content,
.page-id-4963 .ast-container,
.page-id-4963 .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* ==================================
   OFFICIAL PROFESSIONAL MRWF BLOG HERO
   Page ID 4963
   ================================== */

.page-id-4963 .mrwf-pro-blog-hero {
    background: linear-gradient(90deg, #0a2e5c, #0b3c8d);
    padding: 60px 20px 70px;
    border-bottom: 3px solid #d4af37;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(0,0,0,0.30);
}

.page-id-4963 .mrwf-pro-blog-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-id-4963 .mrwf-pro-blog-title {
    font-size: 2.9rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.page-id-4963 .mrwf-pro-blog-subtitle {
    font-size: 1.2rem;
    color: #e6ebff;
    margin: 0 auto;
    max-width: 780px;
    line-height: 1.6;
}

/* ==== MRWF BLOG PAGE – TRUE INSTAGRAM SQUARE TILES ==== */
.page-id-4963 .entry-content {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
}

/* Grid layout (Instagram feed style) */
.page-id-4963 .wp-block-latest-posts__list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 22px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Tile container */
.page-id-4963 .wp-block-latest-posts__list li {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* PERFECT square */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: transform .15s ease, box-shadow .15s ease;
    background: #000; /* fallback */
}

/* Hover lift */
.page-id-4963 .wp-block-latest-posts__list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.20);
}

/* FEATURED IMAGE fills the square */
.page-id-4963 .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GRADIENT OVERLAY for readability */
.page-id-4963 .wp-block-latest-posts__list li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

/* TITLE placed inside the square, bottom area */
.page-id-4963 .wp-block-latest-posts__list a {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

/* Hover title color */
.page-id-4963 .wp-block-latest-posts__list a:hover {
    color: #d4af37 !important;
}

/* Hide default excerpt/date */
.page-id-4963 .wp-block-latest-posts__post-excerpt,
.page-id-4963 .wp-block-latest-posts__post-date {
    display: none !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .page-id-4963 .wp-block-latest-posts__list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
/* Apply light gray background to entire blog posts section */
.page-id-4963 .entry-content,
.page-id-4963 .wp-block-latest-posts,
.page-id-4963 .wp-block-latest-posts__featured-image,
.page-id-4963 .wp-block-query,
.page-id-4963 .wp-block-post-template,
.page-id-4963 .wp-block-group {
    background: #f3f4f6 !important;
    padding: 30px !important;
    border-radius: 12px !important;
}

/* Ensure spacing between the hero and grid */
.page-id-4963 .mrwf-blog-hero {
    margin-bottom: 40px !important;
}

/* Prevent tiles from inheriting background */
.page-id-4963 .wp-block-latest-posts li {
    background: transparent !important;
}
/* MRWF Blog Grid — Exact Instagram Post Size */
.page-id-4963 .mrwf-blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
    background:#f3f4f6;
    border-radius: 14px;
}

/* ==== MRWF BLOG PAGE – TRUE INSTAGRAM SQUARE TILES ==== */
.page-id-4963 .entry-content {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
}

/* Grid layout (Instagram feed style) */
.page-id-4963 .wp-block-latest-posts__list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 22px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Tile container */
.page-id-4963 .wp-block-latest-posts__list li {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* PERFECT square */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: transform .15s ease, box-shadow .15s ease;
    background: #000; /* fallback */
}

/* Hover lift */
.page-id-4963 .wp-block-latest-posts__list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.20);
}

/* FEATURED IMAGE fills the square */
.page-id-4963 .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GRADIENT OVERLAY for readability */
.page-id-4963 .wp-block-latest-posts__list li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

/* TITLE placed inside the square, bottom area */
.page-id-4963 .wp-block-latest-posts__list a {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

/* Hover title color */
.page-id-4963 .wp-block-latest-posts__list a:hover {
    color: #d4af37 !important;
}

/* Hide default excerpt/date */
.page-id-4963 .wp-block-latest-posts__post-excerpt,
.page-id-4963 .wp-block-latest-posts__post-date {
    display: none !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .page-id-4963 .wp-block-latest-posts__list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
/* Apply light gray background to entire blog posts section */
.page-id-4963 .entry-content,
.page-id-4963 .wp-block-latest-posts,
.page-id-4963 .wp-block-latest-posts__featured-image,
.page-id-4963 .wp-block-query,
.page-id-4963 .wp-block-post-template,
.page-id-4963 .wp-block-group {
    background: #f3f4f6 !important;
    padding: 30px !important;
    border-radius: 12px !important;
}

/* Ensure spacing between the hero and grid */
.page-id-4963 .mrwf-blog-hero {
    margin-bottom: 40px !important;
}

/* Prevent tiles from inheriting background */
.page-id-4963 .wp-block-latest-posts li {
    background: transparent !important;
}
/* MRWF Blog Grid — Exact Instagram Post Size */
.page-id-4963 .mrwf-blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
    background:#f3f4f6;
    border-radius: 14px;
}