/*
Theme Name: Jolyti Blogger
Theme URI: https://jolyti.com
Author: Isaac / Jolyti
Description: A warm, modern, two-column blogging theme inspired by the “Blogger Lite” layout, using the Afternoon Breather palette.
Version: 1.0.0
License: GPLv2 or later
Text Domain: jolyti-blogger
Tags: blog, two-columns, custom-menu, featured-images, responsive-layout
*/

:root{
  /* Afternoon Breather palette */
  --c-header-footer: #808291; /* Blue Gray (same for header + footer) */
  --c-page-bg: #D4D6DF;       /* Misty Blue */
  --c-warm: #B4A988;          /* Lint (warm accent) */
  --c-fresh: #ACE88D;         /* Lime Green (highlight/CTA hover) */

  --c-card: #ffffff;
  --c-text: #1f2430;
  --c-muted: rgba(31,36,48,.72);
  --c-border: rgba(128,130,145,.25);

  --radius: 14px;
  --shadow: 0 10px 26px rgba(31,36,48,.08);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: var(--c-page-bg);
  color: var(--c-text);
  line-height: 1.65;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: var(--c-text); text-decoration:none; }
a:hover{ color: var(--c-warm); }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}
/* Elementor pages: allow true full width (no boxed container) */
body.elementor-page .site-content .container,
body.elementor-page .site-content .grid,
body.elementor-page .site-content .main-col{
  width: 100% !important;
  max-width: none !important;
}


/* Gutenberg full-width + wide alignment support */
.alignfull{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.alignwide{
  width: min(1200px, 96%);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* ===== Top bar (thin bar like screenshot) ===== */
.topbar{
  background: var(--c-header-footer);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.topbar-inner{
  display:flex;
  gap: 16px;
  align-items:center;
  justify-content: space-between;
  padding: 10px 0;
}
.topbar a{ color: rgba(255,255,255,.92); }
.topbar a:hover{ color: var(--c-fresh); }

.topbar-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.topbar-icons{
  display:flex;
  gap: 10px;
  align-items:center;
}
.icon-pill{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}

/* ===== Branding (centered like screenshot) ===== 
.site-header{
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
}
.branding{
  text-align:center;
  padding: 34px 0 18px;
}
.site-title{
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: .3px;
}
.site-title a:hover{ color: var(--c-warm); }
.site-description{
  margin: 8px 0 0;
  color: var(--c-muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.6px;
} 
*/

/* Header uses same color as footer */
.site-header.site-header--solid{
  background: var(--c-header-footer);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-header.site-header--solid .branding{
  padding: 36px 0 18px;
  text-align: center;
}

.site-header.site-header--solid .site-title a{
  color: var(--c-fresh); /* rgba(255,255,255,.95); */
}

.site-header.site-header--solid .site-description{
  color: rgba(255,255,255,.75);
}

.site-header.site-header--solid .main-nav{
  background: #282C35;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
header.site-header .main-nav .current-menu-item > a,
header.site-header .main-nav .current_page_item > a{
  background: rgba(255,255,255,.12) !important;
  color: var(--c-fresh) !important;
}



/* ===== Main nav ===== */
.main-nav{
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.main-nav ul{
  margin: 0;
  padding: 12px 0;
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 18px;
}
.main-nav a{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover{
  background: rgba(180,169,136,.22);
}

/* ===== Layout ===== */
.site-content{
  padding: 34px 0 40px;
}
.grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
}

/* ===== Full-width sections (homepage, hero, hubs) ===== */
.full-width{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-content,
.main-col,
.entry-content{
  overflow: visible;
}



@media (max-width: 920px){
  .grid{ grid-template-columns: 1fr; }
}

/* CLICK FIX: ensure nothing overlays the post card links */
.post-card{
  position: relative;
}

.post-card::before,
.post-card::after{
  content: none !important;
  display: none !important;
}

.post-card a,
.post-card button{
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* If any child layer is intercepting clicks, disable it */
.post-thumb,
.post-body{
  position: relative;
  z-index: 1;
}


/* ===== Post cards (like screenshot) ===== */
.post-card{
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns: 260px 1fr;
  margin-bottom: 22px;
}
@media (max-width: 720px){
  .post-card{ grid-template-columns: 1fr; }
}
.post-thumb{
  background: rgba(212,214,223,.6);
  min-height: 190px;
  overflow: hidden;
}
/* Ensure post images fully cover the thumbnail area */
.post-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-body{
  padding: 18px 18px 20px;
}
.post-title{
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.post-excerpt{
  margin: 0 0 14px;
  color: var(--c-muted);
}
.post-meta{
  font-size: 12px;
  color: var(--c-muted);
  margin: 0 0 10px;
}

/* Single post/page content typography */
.post-content h1, .post-content h2, .post-content h3{
  line-height: 1.25;
  margin: 18px 0 10px;
}

.post-content p{
  margin: 0 0 14px;
  color: var(--c-text);
}

.post-content a{
  color: #E27D3D; /* CHANGE THE HYPERLINK FONT COLOR */
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover{
  color: var(--c-fresh);
}


.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #61CE70;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.05);
}
.btn:hover{
  color: var(--c-fresh);
}

/* ===== Sidebar widgets ===== */
.widget{
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 18px;
}
.widget-title{
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-muted);
}
input[type="search"], input[type="text"], input[type="email"]{
  width:100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: rgba(212,214,223,.35);
}
button, input[type="submit"]{
  cursor:pointer;
}
.search-submit{
  margin-top: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--c-warm);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.05);
}
.search-submit:hover{
  background: var(--c-fresh);
  color: #172611;
}

/* Footer menu: horizontal like main menu */
.site-footer .footer-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end; /* menu on the right like your screenshot */
  align-items: center;
}

.site-footer .footer-menu li{
  margin: 0;
  padding: 0;
}

.site-footer .footer-menu a{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px; /* pill style like main menu */
  color: rgba(255,255,255,.92);
}

/* Footer menu – text color only on hover */
.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus{
  background: transparent;
  color: var(--c-fresh);
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}


/* ===== Footer (same bg as header topbar) ===== */
.site-footer{
  background: var(--c-header-footer);
  color: rgba(255,255,255,.92);
  padding: 26px 0;
}
.site-footer a{ color: rgba(255,255,255,.92); }
.site-footer a:hover{ color: var(--c-fresh); }
.footer-inner{
  display:flex;
  justify-content: space-between;
  flex-wrap:wrap;
  gap: 10px;
}

/* Optional height tweak */
@media (min-width: 1024px){
  .post-thumb{
    min-height: 220px;
  }
}


/* TESTING PART AFTER THIS LINE*/
/* === FORCE footer menu to be horizontal === */
footer.site-footer .footer-menu nav.footer-nav ul.footer-menu-list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 18px !important;

  justify-content: flex-end !important;
  align-items: center !important;
}

footer.site-footer .footer-menu nav.footer-nav ul.footer-menu-list > li{
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  width: auto !important;
  float: none !important;
}

footer.site-footer .footer-menu nav.footer-nav ul.footer-menu-list > li > a{
  display: inline-block !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.92) !important;
  text-decoration: none !important;
}

footer.site-footer .footer-menu nav.footer-nav ul.footer-menu-list > li > a:hover{
  background: transparent !important;
  color: var(--c-fresh) !important;
}

/* Mobile: center it */
@media (max-width: 720px){
  footer.site-footer .footer-menu nav.footer-nav ul.footer-menu-list{
    justify-content: center !important;
  }
}


/* Header-specific overrides (paste AFTER existing .main-nav styles) */
.site-header.site-header--solid .main-nav{
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-header.site-header--solid .main-nav a{
  color: rgba(255,255,255,.92);
}

.site-header.site-header--solid .main-nav a:hover{
  background: rgba(255,255,255,.12);
  color: var(--c-fresh);
}


/* === FORCE header to use footer background color === */
header.site-header{
  background: var(--c-header-footer) !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

header.site-header .site-title a{
  color: rgba(255,255,255,.95) !important;
}

header.site-header .site-description{
  color: rgba(255,255,255,.75) !important;
}

/* Main nav inside header: same hover as footer */
header.site-header .main-nav{
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

header.site-header .main-nav a{
  color: rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
}

header.site-header .main-nav a:hover{
  background: rgba(255,255,255,.12) !important;
  color: var(--c-fresh) !important;
}


/* This is where I edit my CSS */

/* =========================================
   HEADER TYPOGRAPHY (final override)
   ========================================= */

/* Website title size */
.site-header .site-title{
  margin: 0;
  font-size: clamp(40px, 4.2vw, 56px); /* adjust if you want smaller */
  line-height: 1.05;
  letter-spacing: .3px;
}

/* Tagline size */
.site-header .site-description{
  margin: 10px 0 0;
  font-size: 12px;          /* make 11px if you want tighter */
  letter-spacing: 1.6px;
  text-transform: uppercase;
}


/* =========================================
   HEADER MAIN NAV — TEXT ONLY STATES
   ========================================= */

/* Kill ANY button / pill / background behaviour */
.site-header .main-nav a{
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Default color */
.site-header .main-nav a{
  color: rgba(255,255,255,.92) !important;
}

/* Hover = text color only */
.site-header .main-nav a:hover{
  background: none !important;
  color: var(--c-fresh) !important;
}

/* Active / current page = text color only */
.site-header .main-nav .current-menu-item > a,
.site-header .main-nav .current_page_item > a{
  background: none !important;
  color: var(--c-fresh) !important;
}



/* =========================================
   Header main menu: NO pill/background ever
   (active + hover = green text only)
   ========================================= */

/* 1) Remove any pill/background coming from LI */
.site-header.site-header--solid .main-nav li,
.site-header.site-header--solid .main-nav li:hover,
.site-header.site-header--solid .main-nav li.current-menu-item,
.site-header.site-header--solid .main-nav li.current_page_item{
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* 2) Remove any pill/background coming from A */
.site-header.site-header--solid .main-nav a,
.site-header.site-header--solid .main-nav a:hover,
.site-header.site-header--solid .main-nav .current-menu-item > a,
.site-header.site-header--solid .main-nav .current_page_item > a{
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* 3) Kill pseudo-elements that can draw a pill */
.site-header.site-header--solid .main-nav li::before,
.site-header.site-header--solid .main-nav li::after,
.site-header.site-header--solid .main-nav a::before,
.site-header.site-header--solid .main-nav a::after{
  content: none !important;
}

/* 4) Text-only states */
.site-header.site-header--solid .main-nav a{
  color: rgba(255,255,255,.92) !important;
}

.site-header.site-header--solid .main-nav a:hover{
  color: var(--c-fresh) !important;
}

.site-header.site-header--solid .main-nav .current-menu-item > a,
.site-header.site-header--solid .main-nav .current_page_item > a{
  color: var(--c-fresh) !important;
}



/* GUARANTEED split: branding (top) lighter, nav (bottom) darker */
.site-header.site-header--solid{
  background: linear-gradient(
    to bottom,
    #000000 0%, /* Branding Header Background Color */
    #000000 68%,
    var(--c-header-footer) 68%,
    var(--c-header-footer) 100%
  ) !important;
}

/* Keep main-nav dark (so only branding looks lighter) */
.site-header.site-header--solid .main-nav{
  background: var(--c-header-footer) !important;
}



/* Sidebar Recent Posts (mini thumbnails + titles) */
.recent-posts-mini{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.recent-posts-mini__link{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.recent-posts-mini__thumb img{
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.recent-posts-mini__thumb--fallback{
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(212,214,223,.55);
  display: block;
}

.recent-posts-mini__title{
  font-size: 14px;
  line-height: 1.25;
  color: var(--c-text);
}

.recent-posts-mini__link:hover .recent-posts-mini__title{
  color: var(--c-warm);
}



/* Main-nav: menu left, search icon right */
.main-nav .nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Make sure UL stays flex and doesn't wrap weirdly */
.main-nav .menu,
.main-nav ul{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

/* Search button */
.nav-search{
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-btn{
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-search-btn:hover{
  color: var(--c-fresh);
}

/* Dropdown panel */
.nav-search-panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, 80vw);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 9999;
}

/* Search form styling inside dropdown */
.nav-search-panel input[type="search"]{
  width: 100%;
  margin: 0;
}

.nav-search-panel .search-submit{
  margin-top: 10px;
}


/* SEARCH MAGNIFIER ICON */
.nav-search-btn{
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.nav-search-btn img{
  width: 18px;
  height: 18px;
  display: block;
}


/* BUTTONS STYLE */
.btn,
.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: 10px;

  background: #E27D3D; /* Button Background Color */
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;

  border: none;
  text-decoration: none;
  cursor: pointer;

  transition: color .2s ease;
}

/* Hover / focus — text color ONLY */
.btn:hover,
.btn:focus,
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--c-fresh); /* #ACE88D */
}

/* Secondary */
.btn--secondary {
  background: rgba(180,169,136,.18);
  color: var(--c-text);
}

.btn--secondary:hover,
.btn--secondary:focus {
  color: var(--c-fresh);
}

/* Text button */
.btn--text {
  background: transparent;
  padding: 0;
  color: var(--c-warm);
  font-weight: 600;
}

.btn--text:hover,
.btn--text:focus {
  color: var(--c-fresh);
  text-decoration: underline;
}

/* Gutenberg override */
.wp-block-button__link {
  box-shadow: none !important;
}

/* CONTACT FORM 7 BUTTON */
/* Contact Form 7 button */
.wpcf7 input.wpcf7-submit,
.wpcf7 button.wpcf7-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: 10px;

  background: #E27D3D; /* Background Color for Contact Form 7 Button */
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;

  border: none !important;
  box-shadow: none !important;
  cursor: pointer;

  transition: color .2s ease;
}

/* Hover = text color only (no background change) */
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 button.wpcf7-submit:hover,
.wpcf7 button.wpcf7-submit:focus{
  color: var(--c-fresh);
  background: #E27D3D !important; /* force no bg change */
}
