@charset "utf-8";
/* CSS Document */

 /* Custom styles-first css for Deboldgroup V2.0 */
		
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Crimson+Text:wght@400;600;700&display=swap");

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  overflow-x: hidden;
}

/* Essay Categories dropdown positioning */

/* .essay-category-dropdown {
    position: relative;
    display: inline-block;
}

#EssayCategoriesList {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
} */
	
.navbar-gradient {
    background: linear-gradient(
        180deg,
		 #729E8F 0%,
         #AFEDD9 40%,
		#e8e3d5 90%
       
       
       
    );
}
        .article-container {
            margin-top: 20px;
        }

        .article-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
        }

blockquote p.essay-text {
	font-family:'Times New Roman'; 
	font-size: 18px; 
	line-height: 125%
}

.essay-container ul,
.essay-container ol {
    font-family: "Times New Roman", Times, serif;
    font-size: 19px;
    line-height: 125%;
}

        .image-container {
            width: 100%; /* Container adapts to column width */
            height: 225px; /* Fixed height */
            overflow: hidden; /* Ensures the image stays within bounds */
        }

        .image-container img {
            width: 100%; /* Fill container width */
            height: 100%; /* Fill container height */
            object-fit: cover; /* Maintain aspect ratio and crop if needed */
        }
	 .image-container:hover .img-fluid {
  opacity: 0.3 !important;
} 
    
.opening-reflection::before {
    content: "";
    position: absolute;
    inset: 0;
    
   /*  background:#ffffff; */ /* adjust 0.35–0.55 */ 
	/* top → bottom */
     /*  background: linear-gradient(to bottom, #D9E2EC, #EBD3D3 ); */
	
	 background: linear-gradient(
        180deg,
        #e8e3d5 0%,
		 
        #F7EDDF 50%,
        #D8E2EA 100%
    );

    z-index: 1; /* Ensure the overlay is above the background image */
} 

.opening-reflection h2,
.opening-reflection p,
.opening-reflection button {
    position: relative;
    z-index: 2; /* Ensure the text and button are above the overlay */
}


        .navbar {
            margin-bottom: 0px !important;
        }
		 .reflection-container {
    max-width: 875px;
    margin: 0 auto;
    text-align: center;
  }
  .reflection-container h1 {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 5px;
    font-weight: bolder;
    z-index: 2 !important; /* Ensure the text and button are above the overlay */  
	  position: relative;
  }
  .reflection-container p {
    text-align: justify;
    margin-bottom: 10px;
    font-weight: normal;
    font-family: "Crimson Text", Georgia, serif;
    font-style: normal;
	  z-index: 2 !important; /* Ensure the text and button are above the overlay */
	  font-size: 22px;
    line-height: 22px;
  }

.essay-container {
    font-family: "Times New Roman", Times, serif;
}

.essay-container p  {
	 
	font-size: 21px;
	line-height: 125%;
	margin-left: 15px;
    margin-right: 25px;
		
}
  .reflection-container button {
    display: block;
    margin: 0 auto;
  }

.hero-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-link:hover .opening-reflection {
  filter: brightness(1.05);
}


span1 {
    float: left;
    width: 0.7em;
    font-size: 350%;
    font-family: algerian, courier;
    line-height: 60%;
}
span2 {
  float: left;
  font-size: 4.3em;      /* tweak this up/down */
  font-family: algerian, courier;
  line-height: 1.0;      /* controls vertical box height */
  margin-right: 0.2em;
  margin-top: 0.05em;
  margin-bottom: 0;      /* start at zero */
}
		
		  .play-btn {
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
   /* background-color: rgba(0, 0, 0, 0.3); */ /* Semi-transparent background */
		background: none; /* Initially no background */	  
    border-radius: 50%; /* Circle shape */
    width: 80px; /* Fixed width for the circle */
    height: 80px; /* Fixed height for the circle */
    display: flex; /* Flexbox to center the arrow */
    align-items: center; /* Center the arrow vertically */
    justify-content: center; /* Center the arrow horizontally */
    border: 2px solid rgba(0, 0, 0, 0.6); /* Optional: Border for better visibility */
    color: black; /* Adjust arrow color */
    cursor: pointer; /* Makes it look clickable */
			  z-index: 1000;
    }
    .reflection-container:hover .play-btn {
    /*  background: none; */  /* Removes any background color */
		background-color: rgba(0, 0, 0, 0.3); /* Adds semi-transparent background on hover */
    }
	  .play-btn:focus, .play-btn:active {
		 background-color: rgba(0, 0, 0, 0.3); /* Adds semi-transparent background on click */ 
        outline: none;      /* Removes outline on focus */
        border: none;       /* Ensures no border on focus */
        box-shadow: none;   /* Removes any shadow applied on focus */
		 
    }
		.dropdown-header h6 {
    margin-bottom: 0; /* Removes default margin below <h6> */
   /* background-color: #3220D5; */
    color: #1216D9;		
    }
		.dropdown-header {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
		.dropdown-item  {
        margin-bottom: 0; /* Removes default margin below <h6> */
		margin-top: 0;
		padding-top: 0;
        padding-bottom: 2px;
    }
		.dropdown-menu {
    max-height: 600px; /* Adjust as needed */
			max-width: 275px;
    overflow-y: auto; /* Enables vertical scrolling */
			margin-top: 0; /* Align dropdown flush with the button */
  padding-top: 0; /* Optional: Adjust padding as needed */
			position: absolute;
			 margin: 0; /* Remove extra spacing */
    padding: 0; /* Remove extra padding */
} 
		a[href^="mailto:"] {
    color:#F8F8F8 /* Green for mailto links */
}

a[href^="mailto:"]:hover {
    color: #1e7e34; /* Darker green on hover */
}
	.author-name {
 	 display: block; /* Ensures it behaves like a block element */
  	margin-left: 5px; /* Adjust the value for precise indentation */
  	font-style: italic; /* Optional: italicize the author's name */
}
.author-support {
 	 display: block; /* Ensures it behaves like a block element */
  	margin-left: 15px; /* Adjust the value for precise indentation */
  	font-style: italic; /* Optional: italicize the author's name */
}
			
	.custom-color {
    color:#1216D9 !important;  /* Desired color */	
}

/* Prevent long URLs from causing horizontal scrolling */
a,
.url-wrap {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Desktop / default pullquote */
.pullquote {
    margin-left: 80px;
    margin-right: 150px;
    text-align: justify;
    color: darkcyan;
    line-height: 28px;
    font-family: serifFont, serifFont Fallback, Times, Georgia, serif;
    font-size: 24px;
	border-left: 3px solid darkcyan;
	padding-left: 6px; /* added spacing between bar and text */
}

.content-pad {
    padding-left: 20px;
    padding-right: 30px;
}	

/* Mobile: make it readable and left-aligned */
@media (max-width: 768px) {
    .pullquote {
        margin-left: 0;
        margin-right: 20px;     /* small offset from main text */
        padding-left: 12px;     /* optional: gives a bit of visual separation */
        border-left: 3px solid darkcyan;
        text-align: left;
        font-size: 20px;        /* slightly smaller so it doesn’t dominate */
        line-height: 28px;
    }
}

/* Essay typography – scoped */
.content-pad h1,
.content-pad h2,
.content-pad h3,
.content-pad h4,
.content-pad h5,
.content-pad h6 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700 !important;
}
	
/* Abstract block: desktop */
.abstract-block {
  margin-left: 40px;
  margin-right: 80px;
	
}
 .abstract-block p {
    font-family: "Times New Roman", Times, serif;
    font-size: 19px;
    line-height: 1.25;
    text-align: justify;
    margin-bottom: 0.8em;
}

.abstract-block div {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

blockquote.abstract-block p.essay-text {
    font-size: 19px;
    line-height: 1.3;
}

/* Mobile: give the text room */
@media (max-width: 768px) {

  .content-pad {
    padding-left: 0px;
    padding-right: 0px;
  }

  .essay-container p {
    margin-left: 0;
    margin-right: 0;
	   /* outline: 2px solid red for debugging; */
  }

  .abstract-block {
    margin-left: 12px;
    margin-right: 12px;
    text-align: left;
  }

}
		.model-fig {
    text-align: center;
    margin: 2rem auto;
   width: 100%;
}

.model-fig img {
    width: 100%;
    height: auto;
}

.model-fig figcaption {
     width: 100%;
	margin-top: 0.5rem;
    text-align: left;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.2;      /* tighter spacing */
	padding-left: 40px;
	padding-right: 30px;
}
	
	.float-image-with-caption {
   display: block;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 1em auto;	
}

.image-description-float {
  max-width: 100%;
  text-align: center;
}	
	
.indented-list {
  	list-style-position: inside;
  	padding-left: 2em;
	margin-right: 4em;   /* Or use padding if you want it inside the border */
}
		
		.indented-list li {
    text-indent: -1.4em;   /* pulls only the first line left */
    padding-left: 1.3em;   /* realigns the remaining lines */
}	
	
	.wrap-text-container {
   overflow: hidden; /* Ensures text does not flow underneath the image */
}

		.wrap-text-container img {
    float: left; /* Allow text to flow around */
    margin-right: 15px; /* Space between image and text */
    max-width: 40%; /* Adjust the size of the image */
    height: auto;
}
	
/* Hero text override */
.opening-reflection .reflection-container h1,
.opening-reflection .reflection-container h3,
.opening-reflection .reflection-container p {
  color: #ffffff;
  font-family: "Times New Roman", Georgia, serif;
  text-align: center !important;
  text-shadow: 0px 2px 6px rgba(0,0,0,0.65);
}

.opening-reflection .reflection-container h1 {
  font-weight: 700;
  font-size: clamp(2.75rem, 2.85vw, 2.95rem);
}

.opening-reflection .reflection-container h3 {
  font-weight: 700;
  font-size: 2rem;
}

.opening-reflection .reflection-container p {
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  font-size: 20px;
}

	.toc-title {
    text-align: center;
}
	.no-list-style {
    list-style: none;
    padding-left: 0;
    margin-left: 60px;
}	
	
  .image-container-main {
            width: 100%; /* Container adapts to column width */
            height: 500px; /* Fixed height */
            overflow: hidden; /* Ensures the image stays within bounds */
        }

        .image-container-main img {
            width: 100%; /* Fill container width */
            height: 100%; /* Fill container height */
            object-fit: cover; /* Maintain aspect ratio and crop if needed */
        }

/* Author bio only */
.author-bio p {
    font-family: Calibri, Arial, sans-serif;
    /* font-style: italic; */
    font-size: 1rem;
    width: 100%;
    margin: 0 0 0.5em;
    line-height: 1.3;
}
	
/* the following is copoed from the main template file as-of 6/29/26 */

.dropup .dropdown-toggle::after {
    transform: rotate(180deg);
}
		
		.dropup .dropdown-menu {
    position: absolute;
    bottom: auto;
    top: auto; /* Allow JS control of 'top' dynamically */
}

       #After1955 {
    top: 100%; /* Align below the button */
    left: 0; /* Align with the button's left edge */
    margin-top: 0; /* Remove extra spacing */
}
		
		#header {
            background-color: lightgreen;
        }
		
	.custom-button {
    display: inline-block;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap; /* Prevent wrapping of text and caret */
		
}

.custom-button span {
    display: block; /* Each line of text is its own block */
    line-height: 1.2; /* Fine-tune spacing between lines */
	}

.custom-button .btn-text-second-line {
    display: inline; /* Ensure the second line flows inline with the caret */
    vertical-align: middle; /* Align caret with text */
}

.custom-button .dropdown-toggle::after {
    content: '';
    margin-left: 5px; /* Adjust spacing between the text and caret */
    vertical-align: middle; /* Align caret with text */
}
			
	.dropdown-menu {
    position: absolute;
   top: 100%; /* Align directly below button */
    left: 0; /* Align with button's left edge */
    margin-top: 0;
    display: none;
}

.dropdown:hover > .dropdown-menu {
    display: block;
} 

.dropdown-menu .dropdown-menu {
    left: 100%; /* Adjusts position for submenus */
    top: 0; /* Aligns with parent menu */
}

			
#Pages-EssaysContent {
    margin: -4px 0 0 0; /* Adjust as needed */
    display: inline-block;
}
		
.reading-guide {
    margin: 25px 50px;
    padding: 20px 55px 20px 35px;
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    font-size: 8px;
}

.reading-guide h4 {
    text-align: center;
    margin-bottom: 0.1rem;
}	
	
 .reading-guide h5 {
    text-align: center;
    margin-bottom: 0.5rem;
}	

.reading-guide p {
   font-size: 16px;
}

.reading-guide ul {
   font-size: 16px;
	padding-left: 45px;
}

/* ============================================================
   CATEGORY / INDEX PAGE TEMPLATE  (added 8/3/26)
   Aeon-style category landing page (e.g. Cosmology, Mind & 
   Personality, Religion & Spirituality, Science & Evolution,
   Society & Systems). Reuses .opening-reflection / 
   .reflection-container for the hero so it matches the dark-
   overlay treatment already used elsewhere on the site.
   ============================================================ */

/* --- Hero banner --- */
.category-hero {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-hero .reflection-container {
    padding: 12px 20px 14px;
}

.category-hero .eyebrow {
    position: relative;
    z-index: 2;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-family: "Inter", sans-serif;
    color:#180FE0;
    opacity: 0.85;
    margin-bottom: 6px;
    text-shadow: 0px 2px 6px rgba(0,0,0,0.65);
}

@media (max-width: 768px) {
    .category-hero {
        min-height: 0;
    }

    .category-hero .reflection-container {
        padding: 10px 16px 12px;
    }
}

/* --- Category pill navigation --- */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 18px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.category-pills a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-pills a:hover {
    border-color: #1216D9;
    color: #1216D9;
}

.category-pills a.active {
    background-color: #1216D9;
    border-color: #1216D9;
    color: #ffffff;
}

/* --- Latest / Popular content tabs --- */
.content-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 28px 0 10px;
    font-family: "Inter", sans-serif;
}

.content-tabs button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 4px 2px 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
}

.content-tabs button.active {
    color: #1216D9;
    border-bottom-color: #1216D9;
}

/* --- Card grid ---
   Mobile-first: single column (matches Aeon at ~639px).
   >=960px: two columns (matches Aeon's two-up breakpoint).
   This uses a hard-coded 960px media query rather than a
   Bootstrap col-*, since Bootstrap's own breakpoints (768 / 992)
   don't land on 960 and would throw the columns off from Aeon's. */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2.5rem;
    row-gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

@media (min-width: 960px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large desktop: three across. 1200px roughly matches a typical
   laptop window and is where two columns start looking sparse;
   raise/lower this number if your audience skews to bigger or
   smaller monitors. */
@media (min-width: 1200px) {
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover .card-thumb img {
    opacity: 0.85;
}

/* Card thumbnail: a 3:2 landscape ratio (close to Aeon's shorter,
   wider crop) rather than a full square. aspect-ratio holds this
   ratio at any column width without a fixed pixel height, so it
   stays correct across the 1/2/3-column breakpoints.
   Your source images don't need to be exactly 3:2 -- object-fit:
   cover will crop wider or taller photos to fit. If you'd rather
   go back to a true square, change 3/2 to 1/1 below. */
.card-thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #eeeeee;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.category-card .card-body {
    padding-top: 14px;
}

.category-card .card-tag {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1216D9;
    margin-bottom: 6px;
}

.category-card h3 {
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.category-card .card-excerpt {
    font-family: "Crimson Text", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #333333;
    margin: 0 0 10px;
}

.category-card .card-byline {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #6c757d;
}

@media (max-width: 639px) {
    .category-card h3 {
        font-size: 1.25rem;
    }
    .category-card .card-excerpt {
        font-size: 1rem;
    }
}
