/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
Version: 2.1.20.1762631308
Updated: 2025-11-08 19:48:28
*/

/* === FOOTER BASE === */
.site-footer {
  background-color: #2C3F79;
  color: #fff;
  font-family: 'Inter', 'Lato', sans-serif;
  padding-top: 60px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer a {
  color: #DDB638;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* === FOOTER GRID LAYOUT === */
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* === SECTION TITLES === */
.footer-grid h3 {
  color: #DDB638;
  font-size: 1.15rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === ABOUT SECTION === */
.footer-about p {
  margin: 0;
  color: #f2f2f2;
}

/* === QUICK LINKS === */
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

/* === NEWSLETTER SECTION === */
.footer-newsletter p {
  margin-bottom: 15px;
  color: #f2f2f2;
}

.footer-newsletter input[type="text"],
.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: whitesmoke;
}

.footer-newsletter input[type="submit"],
.footer-newsletter button {
  background-color: #DDB638;
  color: #2C3F79;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-newsletter input[type="submit"]:hover,
.footer-newsletter button:hover {
  background-color: #fff;
  color: #2C3F79;
}

/* === MAILPOET FORM in footer — reset MailPoet default box styles === */
.footer-newsletter .mailpoet_form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-newsletter .mailpoet_paragraph {
    margin-bottom: 10px !important;
}

.footer-newsletter .mailpoet_validate_label,
.footer-newsletter .mailpoet_form label {
    color: #f2f2f2 !important;
    font-size: 0.9rem;
}

/* === BOTTOM BAR === */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #ccc;
}

/* === Sticky footer === */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-container {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .footer-grid {
    gap: 30px;
  }

  .footer-newsletter input[type="text"],
  .footer-newsletter input[type="email"] {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 0 15px 30px;
  }

  .footer-grid h3 {
    font-size: 1.05rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* === GLOBAL UTILITIES === */
.section-padding {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2C3F79;
  text-align: center;
  margin-bottom: 40px;
}

.btn-yellow {
  background-color: #DDB638;
  color: #2C3F79 !important;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-block;
}

.btn-yellow:hover {
  background-color: #fce07b;
}

.btn-outline-white {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-block;
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 40px;
}

/* Card grid (non-carousel) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e4e4e4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.card:hover {
  background: #FDF7DF;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.bg-light {
  background-color: #F7F7F9;
}

/* === PATCH: Protect Blocksy header & submenus === */
.site-header, 
.header-wrapper, 
.main-navigation {
  position: relative; /* ensure submenu positions are relative to header */
  z-index: 10000;     /* above other content */
}

/* Submenus */
.main-navigation ul.sub-menu {
  position: absolute !important;
  display: block !important;   /* Blocksy handles show/hide with JS, this ensures it can appear */
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10001;
}

/* Prevent parent containers from clipping submenus */
.site-header,
.header-wrapper {
  overflow: visible;
}

/* Optional: ensure pointer events work */
.main-navigation li {
  pointer-events: auto !important;
}

.ct-container-full {
  padding-top: 0 !important;
}

/* ==========================================================================
   PAGE TITLE  (.page-title — Blocksy's built-in page/post title element)
   Kept distinct from content H1: larger size, full-width gold border instead
   of the short 52 px accent used on headings inside .entry-content.
   ========================================================================== */

.page-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2C3F79;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  padding-top: 2rem;
  padding-bottom: 0.875rem;
  border-bottom: 3px solid #DDB638;
}

@media (max-width: 768px) {
  .page-title { font-size: 2.1rem; }
}

@media (max-width: 480px) {
  .page-title { font-size: 1.75rem; }
}

/* ==========================================================================
   CONTENT PAGE TYPOGRAPHY
   Applied to all standard WordPress pages / posts via .entry-content.
   The member directory and carousel have their own scoped CSS files.
   ========================================================================== */


/* --- Headings --- */

/* H1 and H2 get the gold accent underline the site had before */
.entry-content h1,
.entry-content h2 {
  color: #2C3F79;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.75rem;
  line-height: 1.25;
}

/* First heading on the page should not have extra top margin */
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > .wp-block-heading:first-child {
  margin-top: 0;
}

.entry-content h1::after,
.entry-content h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: #DDB638;
  border-radius: 2px;
}

.entry-content h1 { font-size: 2.25rem; }
.entry-content h2 { font-size: 1.75rem; }

.entry-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e2d57;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: 600;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* --- Body text --- */

.entry-content p {
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* --- Links --- */

.entry-content a:not([class]) {
  color: #2C3F79;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.entry-content a:not([class]):hover {
  color: #DDB638;
}

/* --- Lists --- */

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.entry-content li {
  margin-bottom: 0.4rem;
}

.entry-content ul li::marker {
  color: #DDB638;
}

/* --- Blockquote --- */

.entry-content blockquote,
.entry-content .wp-block-quote {
  border-left: 4px solid #DDB638;
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  background: #f8f9fa;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #555;
}

.entry-content blockquote p,
.entry-content .wp-block-quote p {
  margin-bottom: 0;
}

/* --- Separator / HR --- */

.entry-content hr,
.entry-content .wp-block-separator:not(.is-style-dots) {
  border: none;
  height: 2px;
  background: #DDB638;
  opacity: 0.35;
  margin: 2.5rem 0;
}

/* --- Tables --- */

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.entry-content th {
  background: #2C3F79;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.entry-content td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #e9ecef;
  color: #444;
  vertical-align: top;
}

.entry-content tr:nth-child(even) td {
  background: #f8f9fa;
}

/* --- Images --- */

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content figure {
  margin: 1.5rem 0;
}

.entry-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.5rem;
  font-style: italic;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .entry-content h1 { font-size: 1.85rem; }
  .entry-content h2 { font-size: 1.45rem; }
  .entry-content h3 { font-size: 1.15rem; }

  .entry-content p,
  .entry-content ul,
  .entry-content ol {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .entry-content h1 { font-size: 1.6rem; }
  .entry-content h2 { font-size: 1.3rem; }
  .entry-content { padding-bottom: 2.5rem; }
}
