/*
Theme Name: GeneratePress Child
Template: generatepress
*/

body {
  font-size: 17px;
  line-height: 1.7;
  color: #222;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1.2em;
  text-align: justify;
}

.sidebar {
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
}

.footer-widgets {
  background: #272e32;
  padding: 40px 20px;
}

.footer-widgets .widget {
  margin-bottom: 20px;
}

.display-posts-listing .listing-item {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}

.display-posts-listing .listing-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.glossary-term {
  border-bottom: 1px dotted #006699;
  cursor: help;
}
.wp-block-list li a {
	color: #fafafa !important;
}
/* Breadcrumbs Style */
.gh-breadcrumb {
    font-size: 14px;
    color: #666;
    margin: 10px 0 20px 0;
    font-family: Arial, sans-serif;
}

.gh-breadcrumb a {
    color: #1e73be; /* GeologyHub blue */
    text-decoration: none;
    transition: color 0.3s ease;
}

.gh-breadcrumb a:hover {
    color: #003366; /* darker hover */
    text-decoration: underline;
}

.gh-breadcrumb .separator {
    margin: 0 5px;
    color: #999;
}
.wp-block-heading h3 {
    font-weight: 600;
    color: mediumvioletred;
    font-size: 24px;
}

/* Related Articles Section */
.gh-related-articles {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

/* Section Heading */
.gh-related-articles h3 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

/* List Style */
.gh-related-articles ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual Related Post Card */
.gh-related-articles li {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 10px;
}

.gh-related-articles li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

/* Thumbnail */
.gh-related-articles .gh-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
}

.gh-related-articles .gh-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Area */
.gh-related-articles .gh-info {
    flex: 1;
}

/* Title */
.gh-related-articles .gh-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}

.gh-related-articles .gh-title:hover {
    color: #1e73be;
}

/* Meta Info */
.gh-related-articles .gh-meta {
    font-size: 12px;
    color: #777;
}

.gh-related-articles .gh-meta .gh-cat {
    margin-right: 8px;
}

/* ============================
   POST HEADINGS STYLING
   ============================ */

/* Main Post Title (H1) */
.single-post h1.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

/* H2 (Main Sections) */
.single-post h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e73be;  /* highlight blue */
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
}

/* Small Accent Underline */
.single-post h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 3px;
    background: #1e73be;
    border-radius: 2px;
}

/* H3 (Sub-sections) */
.single-post h3 {
   	font-size: 22px;
    font-weight: 600;
    color: mediumvioletred;  /* highlight blue */
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
}
/* Small Accent Underline */
.single-post h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 3px;
    background: mediumvioletred;
    border-radius: 2px;
}
/* H4 (Minor Sub-sections) */
.single-post h4 {
    font-size: 18px;
    font-weight: 600;
    color: mediumvioletred;
    margin: 20px 0 10px;
    letter-spacing: 0.5px;
}

/* H5 */
.single-post h5 {
    font-size: 17px;
    font-weight: 500;
    color: #555;
    margin: 15px 0 8px;
}

/* H6 */
.single-post h6 {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    margin: 12px 0 6px;
    font-style: italic;
}
.single-post h1.entry-title {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 5px solid mediumvioletred;
}
.site-main .post-navigation {
    display: none;
}
/* Sidebar Container */
.sidebar {
    padding: 20px;
}

/* Each Widget Box */
.sidebar .widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar .widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Widget Titles */
.sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 6px;
    border-bottom: 2px solid #1e73be;
    color: #1e73be;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Links */
.sidebar .widget ul li {
    list-style: none;
    margin: 10px 0;
}

.sidebar .widget ul li a {
    text-decoration: none;
    font-size: 15px;
    color: #333;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.sidebar .widget ul li a:hover {
    color: #1e73be;
    padding-left: 6px;
}

/* Search Box */
.sidebar .widget_search input[type="search"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}
/* Improve spacing after headings inside single posts */
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6 {
    margin-bottom: 20px;   /* space after heading */
    line-height: 1.8;
}
/* Recap box styling */
.recap-box {
    border: 2px solid #2ba84a;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: relative;
}

/* Recap title */
.recap-header {
    display: inline-block;
    background: #2ba84a;
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: -14px;
    left: 15px;
    font-size: 16px;
}

/* Recap content */
.recap-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top: 10px;
	text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recap-box {
        padding: 15px;
    }
    .recap-header {
        font-size: 14px;
        padding: 5px 10px;
    }
    .recap-content {
        font-size: 14px;
    }
}
/* Recap content list styling */
.recap-content ul {
    list-style: none; /* remove default bullets */
    margin: 15px 0 0 0;
    padding: 0;
}

.recap-content li {
    position: relative;
    padding-left: 28px;  /* space for icon */
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Custom green check icon */
.recap-content li::before {
    content: "✔";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #2ba84a;
    font-weight: bold;
}

/* Related Topics box */
.related-topics-box {
    border: 2px solid mediumvioletred;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
    background: #fff0f8; /* light pinkish background */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: relative;
}

/* Header */
.related-header {
    display: inline-block;
    background: mediumvioletred;
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: -14px;
    left: 15px;
    font-size: 16px;
}

/* Related content list */
.related-content ul {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
}

.related-content li {
  margin: 8px 0;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.related-topics li:last-child {
  border-bottom: none;
}

.related-topics a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

.related-topics a:hover {
  color: mediumvioletred;
}
/* Sleek recommended box */
.recommended-sleek {
    background: #fafafa;
    border-left: 4px solid mediumvioletred;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
    transition: all 0.3s ease;
	box-shadow: 1px 2px 3px rgb(223 0 255);
	border-top: 1px solid mediumvioletred;
}

/* Header */
.recommended-sleek-header {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: mediumvioletred;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Title */
.recommended-sleek-title {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Button */
.recommended-sleek-btn {
    display: inline-block;
    background: mediumvioletred;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effects */
.recommended-sleek:hover {
    background: #fdf2f8; /* very light violet background */
}

.recommended-sleek-btn:hover {
    background: #fff53c;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .recommended-sleek {
        padding: 15px;
    }
    .recommended-sleek-title {
        font-size: 16px;
    }
    .recommended-sleek-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
.remember-box {
  background: #2ba84a4a;
  border-left: 6px solid green;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 25px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
}

.remember-header {
  font-size: 18px;
  font-weight: bold;
  color: green;
  margin-bottom: 8px;
  position: relative;
}

.remember-header::before {
  content: "📌 ";
  font-size: 18px;
}

.remember-content {
  font-size: 16px;
  line-height: 1.6;
  color: midnightblue;
  font-weight: 500;
  font-style: italic;
}

.whatsapp-banner {
  background: #009b3a;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.whatsapp-banner:hover {
  transform: translateY(-4px);
}

.wa-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.wa-icon img {
  width: 60px;
  height: 60px;
}

.wa-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
	color: #fff;
  margin: 0;
  line-height: 1.4;
}

.wa-text .highlight {
  font-size: 1.8rem;
  font-weight: 1200;
  color: yellow;
}

.wa-text .whatsapp {
  color: #fff;
  font-weight: 700;
}

.wa-btn {
  display: inline-block;
  background: #fff;
  color: #25d366;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.3s ease;
}
.wa-btn:hover {
  background: #f1f1f1;
  color: #128c7e;
}

/* Responsive */
@media (min-width: 768px) {
  .wa-content {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
  .wa-text {
    margin-left: 20px;
  }
}
.whatsapp-sidebar {
  background: #25d366;
  border-radius: 10px;
  padding: 12px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-sidebar:hover {
  transform: translateY(-3px);
  background: #20b955;
}

.wa-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.wa-sidebar-link img {
  width: 28px;
  height: 28px;
}

.wp-block-list {
	text-align: justify;
}

.wp-block-list li {
	margin: 8px 0;
}