/* Featured images — consistent size on blog listing */
.blog .post-image img,
.archive .post-image img {
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Featured image on single posts — moderate size */
.single .post-image img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Also handle images inside post content on listing */
.blog .entry-content img,
.archive .entry-content img {
  max-height: 320px;
  object-fit: cover;
}/* GeneratePress Site CSS */ /* Top Menu */
.menu-bar-items {
	flex-direction: row-reverse;
}
/* Header alignment */
@media(min-width: 669px) {
	.inside-navigation .navigation-branding {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
	.nav-align-right .inside-navigation {
		justify-content: space-between;
	}
}
/* Search results page header style */
.search-results .page-header .page-title {
	font-size: 36px;
	text-transform: uppercase;
	border-bottom: 2px solid var(--contrast);
}
/* Default theme button */
button,
.form-submit .submit {
	padding-top: 16px;
	padding-bottom: 16px;
}
/* Sidebar */
.sidebar {
	margin-top: 40px;
	margin-left: 0;
}
@media(min-width: 768px) {
	.sidebar {
		margin-left: 40px;
		margin-top: 0;
	}
}
/* Single post - Sticky Related Posts sidebar */
@media(min-width: 769px) {
	.is-sticky {
			position: sticky;
			top: 112px;
	}
}
/* Search modal */
.gp-modal__container {
	overflow-y: auto;
}
.gp-search-modal .gp-modal__overlay {
    padding-top: 15vh;
}
/* Tag cloud */
.wp-block-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	row-gap: 10px;
}
.wp-block-tag-cloud a {
	border-radius: 3px;
	padding: 4px 10px;
}
.site-footer .wp-block-tag-cloud a {
	background-color: var(--contrast);
	color: var(--base);
}
.sidebar .wp-block-tag-cloud a {
	background-color: var(--base);
	color: var(--contrast);
	border: 1px solid var(--contrast);
}
.wp-block-tag-cloud a:hover {
	background-color: var(--base);
	color: var(--contrast);
}
.sidebar a:hover {
	background-color: var(--contrast);
	color: var(--base);
} /* End GeneratePress Site CSS */

/* ===== Gay Thoughts Brand Customization ===== */

/* Pink header background */
.site-header {
  background-color: #FFAAC1 !important;
}

/* Pink site title on blue header */
.main-title a,
.main-title {
  color: #FFAAC1 !important;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  font-weight: 700 !important;
}

/* Pink divider line above featured content */
.generate-columns-container > div:nth-child(2)::before,
.gb-grid-wrapper > div:nth-child(2)::before {
  background-color: #FFAAC1 !important;
}

/* Also target any red/accent borders or lines */
.entry-meta .cat-links a,
.gb-post-date {
  color: #FFAAC1 !important;
}

/* Pink accent links sitewide */
a {
  color: #FFAAC1;
}
a:hover,
.entry-content a:hover,
.site a:hover,
.inside-article a:hover {
  color: #FFAAC1 !important;
}

/* Navigation icons in header — white on pink bg */
.menu-bar-items a,
.menu-bar-items svg,
.navigation-branding .main-title a {
  color: #FFAAC1 !important;
  fill: #ffffff !important;
}

/* Hamburger menu and search icons — white on pink */
.menu-toggle .mobile-menu,
.menu-bar-item a {
  color: #ffffff !important;
}


/* Override Voice template accent color to brand pink */
:root {
  --accent: #87CEFA !important;
  --accent-2: #fce4ef !important;
}

/* Pink line above featured image */
.gb-media-a1a831c7,
[class*="gb-media"] {
  border-top-color: #87CEFA !important;
}




/* Prevent grid columns from stretching to equal height */
.gb-element-9c97681f {
  align-items: start !important;
}



/* Space between content and footer */
.site-footer {
  margin-top: 40px !important;
}



/* Remove dotted column divider lines */
.gb-grid-wrapper > .gb-grid-column,
.gb-element-9c97681f > section {
  border: none !important;
}

/* ===== Logo as Decorative Separator (Option B) ===== */

/* Make the navigation taller to fit the logo */
.main-navigation .inside-navigation {
  min-height: 120px !important;
}

/* Logo sizing — transparent bg */
.site-logo .header-image.is-logo-image,
.custom-logo-link .custom-logo {
  max-height: 150px !important;
  width: auto !important;
  vertical-align: middle;
  filter: drop-shadow(-1px -1px 0 #fff) drop-shadow(1px -1px 0 #fff) drop-shadow(-1px 1px 0 #fff) drop-shadow(1px 1px 0 #fff);
}

/* Position logo in the navigation branding area */
.navigation-branding {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
}

/* On desktop, logo before title */
@media (min-width: 669px) {
  .navigation-branding .site-logo {
    order: -1;
  }
}

/* On mobile, keep logo smaller */
@media (max-width: 668px) {
  .site-logo .header-image.is-logo-image {
    max-height: 80px !important;
  }
  .main-navigation .inside-navigation {
    min-height: 80px !important;
  }
}


/* ===== Menu & Nav Tweaks ===== */
/* Swap hamburger to left, search to right */
.menu-toggle {
  order: -2 !important;
}
.menu-bar-items {
  order: 10 !important;
  margin-left: auto !important;
}
.navigation-branding {
  order: 0 !important;
  flex: 1 !important;
  justify-content: center !important;
}

/* Smaller menu text in off-canvas / slideout panel */
.main-navigation .main-nav a,
.main-navigation .menu-item a,
.main-navigation.toggled .main-nav a,
.main-navigation.toggled .menu-item a,
.slideout-navigation a,
.slideout-navigation .menu-item a {
  font-size: 15px !important;
  text-transform: none !important;
}

/* ===== Substack Widget Styling ===== */
/* Style the Substack embed to match site branding */
.entry-content iframe[src*="substack"] {
  border-radius: 8px !important;
}
/* Style the "Subscribe to Gay Thoughts" heading above Substack */
.entry-content h2:last-of-type,
.entry-content h3:last-of-type {
  color: #FFAAC1 !important;
  font-family: "Barlow Semi Condensed", sans-serif !important;
}

/* Hide Voice template social icons from header nav */
.inside-navigation .gb-element-646d679e,
.inside-navigation .hide-on-mobile {
  display: none !important;
}

/* Remove border lines from featured post description/tags area */
.gb-loop-item .gb-element-0939e818,
.gb-loop-item .gb-text-727a7341 {
  border: none !important;
}
/* Keep the sky blue divider line at top */
.gb-media-a1a831c7 {
  border-top: 10px solid #87CEFA !important;
}




/* Pull hamburger and search away from edges */
.menu-toggle {
  margin-left: 15px !important;
}
.menu-bar-items {
  margin-right: 15px !important;
}
/* Hide logo on tablet and phone, show only on desktop */
@media (max-width: 1024px) {
  .navigation-branding .site-logo {
    display: none !important;
  }
  .main-navigation .inside-navigation {
    min-height: auto !important;
  }
  .navigation-branding .main-title {
    line-height: 1.1 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .navigation-branding {
    flex-wrap: wrap !important;
  }
}

/* Style the Substack embed wrapper */
.entry-content > div:last-child {
  background: #87CEFA !important;
  border-radius: 12px !important;
  padding: 20px !important;
  max-width: 660px !important;
  margin: 30px auto !important;
  text-align: center !important;
}
.entry-content > div:last-child iframe {
  border: none !important;
  border-radius: 8px !important;
  background: white !important;
}

/* Contact page form styling */
.jetpack-contact-form-container,
.contact-form.jetpack-contact-form__form {
  max-width: 600px !important;
  margin: 0 auto !important;
}
.page-id-7 .inside-article {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 20px 40px !important;
}
.page-id-7 .entry-header {
  text-align: center !important;
}
.page-id-7 .entry-content {
  text-align: center !important;
}
.page-id-7 .entry-content p {
  text-align: center !important;
}
.jetpack-contact-form__form .grunion-field {
  border: 1px solid #87CEFA !important;
  border-radius: 8px !important;
  padding: 10px !important;
}
.jetpack-contact-form__form .grunion-field:focus {
  border-color: #FFAAC1 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 170, 193, 0.3) !important;
}
.jetpack-contact-form__form button[type="submit"] {
  background: #87CEFA !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 40px !important;
  font-family: "Barlow Semi Condensed", sans-serif !important;
  font-size: 16px !important;
  cursor: pointer !important;
}
.jetpack-contact-form__form button[type="submit"]:hover {
  background: #FFAAC1 !important;
}

/* Slideout menu hover - pink */
.slideout-navigation a:hover,
.slideout-navigation .menu-item a:hover,
.main-navigation.toggled .menu-item a:hover,
.main-navigation .main-nav a:hover {
  color: #FFAAC1 !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Ensure About (first item) is visible in slideout - add top padding */
.slideout-navigation .inside-navigation .main-nav > ul {
  padding-top: 10px !important;
}



/* Footer heading cleanup */
.site-footer h2,
footer.gb-element h2,
.site-footer .gb-headline-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  letter-spacing: 3px !important;
  font-size: 32px !important;
}

/* Footer logo - show only on mobile/tablet */
.footer-logo-mobile {
  display: none !important;
}
@media (max-width: 1024px) {
  .footer-logo-mobile {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 15px !important;
  }
  .footer-logo-mobile img {
    width: 100px !important;
    height: auto !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)) !important;
  }
}