.main-navigation a[href="https://englishgrammarcorner.com/"]  {
  display: none;
}






/* Make text selection invisible everywhere */
::selection {
	background: transparent;
	color: inherit;
}

/* Allow text selection on GrammarLens page */
.page-id-22639 *::selection {
    background: highlight;
    color: highlighttext;
}

/* GrammarLens page - full width, no sidebar */

.page-id-22639 .widget-area {
    display: none;
}

.page-id-22639 .entry-content {
    width: 100%;
    max-width: 100%;
    float: none;
}

.page-id-22639 .site-content {
    width: 100%;
    max-width: 100%;
}

.page-id-22639 .hentry {
    max-width: 100%;
    width: 100%;
}

.page-id-22639 #primary.content-area {
    width: 100%;
    max-width: 100%;
    float: none;
}

/* =========================
   FeatHidden
   Hide featured images on selected pages
   + hide in search results
   ========================= */

.page-id-20390 .wp-post-image,
.page-id-20459 .wp-post-image,
.page-id-20570 .wp-post-image,
.page-id-21045 .wp-post-image,
.page-id-20643 .wp-post-image,
.page-id-20592 .wp-post-image,
.page-id-20723 .wp-post-image,
.page-id-14867 .wp-post-image,
.page-id-22639 .wp-post-image,
.page-id-14012 .wp-post-image,
.page-id-12237 .wp-post-image,
.page-id-12565 .wp-post-image,
.page-id-101 .wp-post-image,
.search .wp-post-image {
    display: none;
}

/* Hide featured images site-wide, including internal search */
.single .wp-post-image,
.page .wp-post-image,
.search .wp-post-image,
.archive .wp-post-image {
    display: none !important;
}

.site-logo {
    max-width: 75px !important;
}
.site-title {
    display: none !important;
}
.site-branding {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.site-header-main {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.site-header-main .inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
@media (min-width: 768px) {
    .site-header-main .inner {
        align-items: center !important;
        display: flex !important;
        justify-content: space-between !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .main-navigation {
        margin-left: auto !important;
    }
}










.widget_archive {
	display: none;
}

/* Hide featured image on homepage only */
.page-id-32 .post-thumbnail,
.page-id-32 .wp-post-image,
.page-id-32 .entry-thumbnail {
	display: none !important;
}

::-moz-selection {
	background: transparent;
	color: inherit;
}

/* Mobile only - bump body text to 19px */
@media (max-width: 768px) {
	body:not(.page-id-32):not(.page-id-7):not(.page-id-19070):not(.page-id-101) p,
													    body:not(.page-id-32):not(.page-id-7):not(.page-id-19070):not(.page-id-101) li {
		font-size: 19px;
	}
}

body {
}

.site-footer a {
	color: #ffffff;
}

/* Consolidated CSS for page 2581 to remove extra margins, padding, borders, and box-shadows */
.page-id-2581 .reduced-gap.wp-block-columns,
.page-id-2581 .reduced-gap.wp-block-columns > .wp-block-column,
.page-id-2581 .reduced-gap.wp-block-columns figure.wp-block-table,
.page-id-2581 .reduced-gap.wp-block-columns table {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	overflow: hidden !important;
/* Helps manage margin collapse */
}

/* Hide the block appender globally */
.block-list-appender {
	display: none !important;
}

/* Apply the reduced-gap-2 styles globally */
.reduced-gap-2 {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	overflow: hidden;
}

/* Target the container with your custom class (if you use one globally) */
.reduced-gap-2 .wp-block-columns {
	display: flex;
	flex-wrap: nowrap;
}

/* Desktop: Preserve three-column layout with a fixed-width left column */
@media (min-width: 769px) {
	.reduced-gap-2.wp-block-columns {
		display: flex;
		max-width: 1200px;
	/* Constrain the overall container */
		margin: 0 auto;
	}
	
	/* The first column (table of contents) gets a fixed width, e.g., 400px */
	.reduced-gap-2.wp-block-columns > .wp-block-column:first-child {
		flex: 0 0 400px;
		max-width: 400px;
	}
	
	/* The other (empty) columns get the remaining space */
	.reduced-gap-2.wp-block-columns > .wp-block-column:not(:first-child) {
		flex: 0 0 calc((100% - 400px) / 2);
		max-width: calc((100% - 400px) / 2);
	}
}

/* Mobile: Hide empty columns so the content column expands fully */
@media (max-width: 768px) {
	/* Hide any columns that are empty */
	.reduced-gap-2.wp-block-columns > .wp-block-column:empty {
		display: none !important;
	}
	
	/* Make the first column fill the available width on mobile */
	.reduced-gap-2.wp-block-columns > .wp-block-column:first-child {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* --- General: Uniform padding for all cells in column 3 --- */
.page-id-2542 .make-images-same td:nth-child(3) {
	padding: 5px;
	box-sizing: border-box;
/* Ensures the padding is included in the cell dimensions */
}

/* --- Desktop: Uniform image height in column 3 --- */
.page-id-2542 .make-images-same td:nth-child(3) img {
	display: block;
/* Remove extra inline spacing */
	width: 100%;
/* Make the image fill the cell’s width */
	height: 200px;
/* Fixed image height for desktop */
	object-fit: cover;
/* Fills the container uniformly (use `contain` if you prefer no cropping) */
}

/* --- Mobile Adjustments: Change image height for smaller screens --- */
@media (max-width: 768px) {
	.page-id-2542 .make-images-same td:nth-child(3) img {
		height: 150px;
	/* Reduced height for mobile devices */
	}
}

/* Let the paragraph block with table-gap keep its natural typography */
.wp-block-paragraph.table-gap {
/* No changes—its spacing remains as set by your theme or block controls */
}

/* Pull up the table block’s figure wrapper with table-gap */
figure.wp-block-table.table-gap {
	margin-top: -18px !important;
/* Continue to pull up with spacing adjustment */
	transform: translateY(-2px);
/* Further nudge it upward */
}

/* In case the table immediately follows the paragraph, apply the same adjustments */
.wp-block-paragraph.table-gap + figure.wp-block-table.table-gap {
	margin-top: -18px !important;
	transform: translateY(-2px);
}

/* Ensure the table’s borders collapse into one continuous line */
.wp-block-table.table-lines table {
	border-collapse: collapse;
/* Optional: Uncomment the line below if you want strict column width controls */
/* table-layout: fixed; */
}

/* Add a thicker bottom border (2px solid black) to every cell in the 3rd and 7th rows */
.wp-block-table.table-lines table tbody tr:nth-child(3) td,
.wp-block-table.table-lines table tbody tr:nth-child(7) td {
	border-bottom: 2px solid #000 !important;
}

/* Increase the width of the first column in both thead and tbody */
.wp-block-table.table-lines table thead th:first-child,
.wp-block-table.table-lines table tbody td:first-child {
	width: 150px !important;
}

@media (max-width: 1023px) {
	/* Mobile-only: Scrollable table container */
	.wp-block-table.table-sticky {
		max-height: 500px;
	/* Adjust this height as needed */
		overflow-y: auto;
	}
	
	/* Collapse table borders for a unified look */
	.wp-block-table.table-sticky table {
		border-collapse: collapse;
		width: 100%;
	}
	
	/* Mobile-only: Make the table header sticky */
	.wp-block-table.table-sticky table thead {
		position: sticky;
		top: 0;
		z-index: 1000;
	/* Keeps the header above the table rows */
	}
	
	/* Mobile-only: Style header cells (heading boxes) with borders:
																																																				     - Top, left, and right: 1px solid black
																																																				     - Bottom: 2px solid black */
	.wp-block-table.table-sticky table thead th {
		padding: 10px;
		border-top: 1px solid #000;
		border-left: 1px solid #000;
		border-right: 1px solid #000;
		border-bottom: 2px solid #000;
	}
}

article.page .posted-on,
article.page .posted-on::before,
article.page .posted-on::after {
	display: none !important;
}

.table-lines-2 {
	border-collapse: collapse;
	width: 100%;
}

.table-lines-2 tr:nth-child(7) td {
	border-top: 2px solid #000;
/* Adjust thickness and color as needed */
}

.table-lines-3 table {
	border-collapse: collapse;
}

.table-lines-3 table {
	border-collapse: collapse;
	width: 100%;
}

.table-lines-3 table tbody tr:nth-child(3) td,
.table-lines-3 table tbody tr:nth-child(7) td {
	border-bottom: 2px solid #000 !important;
}

/* Remove any bottom spacing from the columns block */
.reduced-gap-3.wp-block-columns {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Hide the default block appender (if present) that may be adding space */
.reduced-gap-3 .block-editor-default-block-appender {
	display: none !important;
}

/* Remove any top spacing from the element immediately following the columns block */
.reduced-gap-3.wp-block-columns + * {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/*--------------------------------------------------------------
1. Columns Container: Remove extra bottom spacing,
   use flex, and center remaining columns (desktop settings)
--------------------------------------------------------------*/
.reduced-gap-4.wp-block-columns {
	display: flex !important;
	justify-content: center;
	gap: 0;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/*--------------------------------------------------------------
2. Hide Empty Columns in reduced-gap-4
--------------------------------------------------------------*/
.reduced-gap-4.wp-block-columns > .wp-block-column:empty,
.reduced-gap-4.wp-block-columns > .wp-block-column > .block-list-appender:only-child {
	display: none !important;
}

/*--------------------------------------------------------------
3. For desktop: Force the surviving column to be exactly 50%
--------------------------------------------------------------*/
.reduced-gap-4.wp-block-columns > .wp-block-column {
	flex: 0 0 50% !important;
	max-width: 50% !important;
}

/*--------------------------------------------------------------
4. Remove spacing from the element immediately following the columns block
--------------------------------------------------------------*/
.reduced-gap-4.wp-block-columns + * {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/*--------------------------------------------------------------
5. Responsive Adjustment for Mobile: Expand the content column to 100%
--------------------------------------------------------------*/
@media (max-width: 768px) {
	.reduced-gap-4.wp-block-columns > .wp-block-column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

.reduced-gap-4.wp-block-columns > .wp-block-column > :first-child {
	margin-top: 0 !important;
}

/* Remove any extra bottom margin for table blocks with the 'reduced-gap-5' class */
.wp-block-table.reduced-gap-5 {
	margin-bottom: 0;
}

/* If you also need to target the table element inside the block, include this rule: */
.wp-block-table.reduced-gap-5 table {
	margin-bottom: 0;
}

/* Mobile view: full width container */
.reduced-gap-6 {
	width: 100%;
}

/* Desktop view: container limited to 50% and centered */
@media screen and (min-width: 992px) {
	.reduced-gap-6 {
		max-width: 50%;
		margin: 0 auto;
	}
	
	/* Add margin above the table to separate it from any preceding paragraph */
	.reduced-gap-6 table {
		width: 100%;
		border-collapse: collapse;
	/* Optional: tidies up borders if needed */
		margin-top: 20px;
	/* Increase this value if you need more space */
	}
	
	/* Ensure table cells remain unaffected while being nicely padded */
	.reduced-gap-6 th,
																																															  .reduced-gap-6 td {
		padding: 8px;
		vertical-align: top;
	}
	
	/* Optional: if the paragraph block is within the same container,
																																															     you might also add some margin-bottom for extra spacing */
	.reduced-gap-6 p {
		margin-bottom: 20px;
	/* Adjust as desired to increase distance */
	}
}

figure.wp-block-table.reduced-gap-7 {
/* Reset all top spacing */
	margin-top: 0 !important;
	padding-top: 0 !important;
	margin-block-start: 0 !important;
/* Establish a new block formatting context */
	display: flow-root !important;
	overflow: hidden !important;
/* Add a transparent border to prevent margin collapse */
	border-top: 1px solid transparent !important;
/* If needed, shift up slightly to cancel any remaining offset */
	position: relative !important;
	top: -5px !important;
}

/* Remove any generated pseudo-elements that might be adding space */
figure.wp-block-table.reduced-gap-7::before,
figure.wp-block-table.reduced-gap-7::after {
	content: "" !important;
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (min-width: 768px) {
	/* Adjust this value for your breakpoints */
	figure.wp-block-table.reduced-gap-7 {
		margin-top: 0 !important;
	}
}

/* Initially hide the submenu by restricting its height */
.widget_nav_menu ul ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height .5s ease;
/* Adjust duration and easing as needed */
}

/* When the parent is hovered, allow the submenu to expand */
.widget_nav_menu li:hover > ul {
	max-height: 500px;
/* Set this to a value greater than the submenu's natural height */
}

/* Style parent (container) menu items in the widget */
.widget_nav_menu li.menu-item-has-children > a {
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	display: block;
/* ensures the entire area is centered */
	padding: 10px;
/* adjust padding as needed */
}

/* Target the sidebar container and any widgets within it */
.sidebar, 
.widget {
	color: #000 !important;
}

/* Also target links inside the sidebar for consistency */
.sidebar a,
.widget a {
	color: #000 !important;
}

/* Make container heading boxes in the sidebar navigation widget have black text */
.widget_nav_menu li.menu-item-has-children > a {
	color: #000 !important;
}

.site-header-top {
	display: none !important;
}

/* Mobile view: full width container */
.reduced-gap-8 {
	width: 100%;
}

/* Desktop view: container limited to 60% and centered */
@media screen and (min-width: 992px) {
	.reduced-gap-8 {
		max-width: 60%;
		margin: 0 auto;
	}
	
	/* Add margin above the table to separate it from any preceding paragraph */
	.reduced-gap-8 table {
		width: 100%;
		border-collapse: collapse;
		margin-top: 20px;
	/* Increase this value if you need more space */
	}
	
	/* Ensure table cells remain unaffected while being nicely padded */
	.reduced-gap-8 th,
																																								  .reduced-gap-8 td {
		padding: 8px;
		vertical-align: top;
	}
	
	/* Optional: add margin-bottom to paragraph blocks within the container */
	.reduced-gap-8 p {
		margin-bottom: 20px;
	/* Adjust as desired for extra spacing */
	}
}

/* Mobile view: full width container */
.reduced-gap-9 {
	width: 100%;
}

/* Desktop view: container limited to 70% and centered */
@media screen and (min-width: 992px) {
	.reduced-gap-9 {
		max-width: 70%;
		margin: 0 auto;
	}
	
	/* Add margin above the table to separate it from any preceding paragraph */
	.reduced-gap-9 table {
		width: 100%;
		border-collapse: collapse;
		margin-top: 20px;
	/* Increase this value if you need more space */
	}
	
	/* Ensure table cells remain unaffected while being nicely padded */
	.reduced-gap-9 th,
																																								  .reduced-gap-9 td {
		padding: 8px;
		vertical-align: top;
	}
	
	/* Optional: add margin below paragraphs within the container */
	.reduced-gap-9 p {
		margin-bottom: 20px;
	/* Adjust as desired for extra spacing */
	}
}

/* Base styling for table inside the container with handle table-bigger-1 */
.table-bigger-1 table {
	width: 100%;
	border-collapse: collapse;
/* Optional: ensures borders collapse, if applicable */
}

/* Mobile devices styling: adjust breakpoint as desired */
@media only screen and (max-width: 767px) {
	/* Targeting the first column in both header and body */
	.table-bigger-1 table th:first-child,
																																							  .table-bigger-1 table td:first-child {
		width: 40%;
	/* Increase as needed; this percentage makes the first column wider relative to others */
		min-width: 120px;
	/* Optional: ensures the column doesn't shrink too much on smaller devices */
	}
}

@media only screen and (max-width: 767px) {
	.table-bigger-2 table {
		width: 100%;
		border-collapse: collapse;
		table-layout: fixed;
	}
	
	/* First column: slightly reduced to allow more room for columns 2 and 3 */
	.table-bigger-2 table th:nth-child(1),
																																						  .table-bigger-2 table td:nth-child(1) {
		width: 28%;
		min-width: 120px;
	/* Adjust if necessary */
	}
	
	/* Second column: widened a touch */
	.table-bigger-2 table th:nth-child(2),
																																						  .table-bigger-2 table td:nth-child(2) {
		width: 36%;
		min-width: 130px;
	}
	
	/* Third column: widened a touch */
	.table-bigger-2 table th:nth-child(3),
																																						  .table-bigger-2 table td:nth-child(3) {
		width: 36%;
		min-width: 130px;
	}
}

@media only screen and (max-width: 767px) {
	/* Adjust these selectors based on your actual sidebar markup */
	.sidebar,
																																						  .widget-area,
																																						  #sidebar {
		display: none !important;
	}
}

.table-lines-5 table tbody tr:last-child td:nth-child(2),
.table-lines-5 table tbody tr:last-child td:nth-child(3) {
	vertical-align: top;
}

@media only screen and (max-width: 768px) {
	/* Force the table to fit its container */
	.table-lines-5 table {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	
	/* Make sure the last row’s columns 2 and 3 share the width evenly */
	.table-lines-5 table tbody tr:last-child td:nth-child(2),
																																					  .table-lines-5 table tbody tr:last-child td:nth-child(3) {
		width: 50%;
		vertical-align: top;
		padding: 10px;
	/* Adjust if you need less or more padding */
		box-sizing: border-box;
	/* Ensures padding is included in the width */
	}
}

p,
.wp-block-paragraph {
	color: #000;
/* Sets the default text color to black */
}

ul,
ol,
li {
	color: #000;
/* Sets list items to black by default */
}

blockquote,
.wp-block-quote {
	color: #000;
/* Sets quote text to black by default */
}

blockquote,
.wp-block-quote {
	color: #000;
/* Sets quote text to black by default */
}

.table-bigger-3 table {
	width: 100%;
	table-layout: fixed;
/* Ensures that the set widths are respected */
	border-collapse: collapse;
/* Optional: for a cleaner, unified look */
}

.table-bigger-3 table th,
.table-bigger-3 table td {
	padding: 8px;
/* Adjust this value based on your design needs */
}

/* First column: 25% width */
.table-bigger-3 table th:nth-child(1),
.table-bigger-3 table td:nth-child(1) {
	width: 25%;
}

/* Second column: 25% width */
.table-bigger-3 table th:nth-child(2),
.table-bigger-3 table td:nth-child(2) {
	width: 25%;
}

/* Third column: 50% width */
.table-bigger-3 table th:nth-child(3),
.table-bigger-3 table td:nth-child(3) {
	width: 50%;
}

/* Desktop styling remains unchanged */
.table-bigger-4 {
	width: 100%;
	overflow-x: auto;
}

.table-bigger-4 table {
	width: 100%;
	border-collapse: collapse;
}

.table-bigger-4 th,
.table-bigger-4 td {
	padding: 8px;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

/* Mobile view: Reduce font size slightly */
@media (max-width: 600px) {
	.table-bigger-4 th,
																																		  .table-bigger-4 td {
		font-size: 95%;
	/* Reducing the font size to 95% on mobile devices */
	}
}

.table-headings-1 th {
	text-align: center;
}

/* Hide entire search result entries for private pages */
.search-results .private-page {
	display: none !important;
}

/* Unified Sidebar Menu Styling */
.widget_nav_menu li > a,
.new-sidebar-menu li > a {
	font-weight: bold;
	text-transform: uppercase;
/* Converts all text to uppercase */
	text-align: center;
	display: block;
	padding: 10px;
/* Adjust padding as needed */
}

/* Unified Dropdown Functionality */
/* This hides dropdown submenus initially */
.widget_nav_menu ul ul,
.new-sidebar-menu ul ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height .5s ease;
/* Smooth transition for dropdown effect */
}

/* Expand dropdown submenus on hover */
.widget_nav_menu li:hover > ul,
.new-sidebar-menu li:hover > ul {
	max-height: 500px;
/* Ensure this value exceeds the submenu’s natural height */
}

/* Ensure each dropdown item is dead centre */
.widget_nav_menu ul ul li a,
.new-sidebar-menu ul ul li a {
	text-align: center;
	display: block;
	width: 100%;
}

/* Darken and thicken the natural borders on dropdown menu items */
.widget_nav_menu ul ul li a,
.new-sidebar-menu ul ul li a {
	border-width: 2px !important;
/* Increase the thickness */
	border-style: solid !important;
/* Ensure the border is solid */
	border-color: #000 !important;
/* Set the border color to black */
}

/* Initially hide dropdown submenus in all sidebar menus */
.widget_nav_menu ul ul,
.new-sidebar-menu ul ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height .5s ease;
}

/* Expand dropdown submenus on hover fully without scrollbars */
.widget_nav_menu li:hover > ul,
.new-sidebar-menu li:hover > ul {
	max-height: 1000px;
/* Adjust this value if needed for very long lists */
	overflow: visible;
}

/* Extra code to slow down the dropdown open transition */
.widget_nav_menu ul ul,
.new-sidebar-menu ul ul {
	transition: max-height 1s ease;
/* Increase to 1s (or adjust as desired) for a slower effect */
}

/* Mobile view: full width container */
.reduced-gap-10 {
	width: 100%;
}

/* Desktop view: container limited to 90% and centered */
@media screen and (min-width: 992px) {
	.reduced-gap-10 {
		max-width: 90%;
		margin: 0 auto;
	}
	
	/* Add margin above the table to separate it from any preceding paragraph */
	.reduced-gap-10 table {
		width: 100%;
		border-collapse: collapse;
		margin-top: 20px;
	}
	
	/* Ensure table cells remain unaffected while being nicely padded */
	.reduced-gap-10 th,
																												.reduced-gap-10 td {
		padding: 8px;
		vertical-align: top;
	}
	
	/* Optional: add margin below paragraphs within the container */
	.reduced-gap-10 p {
		margin-bottom: 20px;
	}
}

/* Mobile view: full width container */
.reduced-gap-11 {
	width: 100%;
}

/* Desktop view: container limited to 80% and centered */
@media screen and (min-width: 992px) {
	.reduced-gap-11 {
		max-width: 80%;
		margin: 0 auto;
	}
	
	/* Add margin above the table to separate it from any preceding paragraph */
	.reduced-gap-11 table {
		width: 100%;
		border-collapse: collapse;
		margin-top: 20px;
	}
	
	/* Ensure table cells remain unaffected while being nicely padded */
	.reduced-gap-11 th,
																												.reduced-gap-11 td {
		padding: 8px;
		vertical-align: top;
	}
	
	/* Optional: add margin below paragraphs within the container */
	.reduced-gap-11 p {
		margin-bottom: 20px;
	}
}

.table-lines-6 tbody tr:first-child td {
	border-bottom: 2px solid black;
}

.table-lines-6 tbody tr:nth-last-child(2) td {
	border-bottom: 2px solid black;
}

.table-lines-6 tbody tr td:nth-child(2),
.table-lines-6 tbody tr td:nth-child(3),
.table-lines-6 tbody tr td:nth-child(4) {
	padding-left: 4px;
/* reduce left padding */
	padding-right: 4px;
/* reduce right padding */
/* tighten the whole table */
}

.table-lines-6 tbody tr td {
	padding: 6px 12px;
/* default padding for all cells */
}

/* Reduce horizontal padding for columns 2, 3, 4, and 6 */
/* Force links in page/post CONTENT to be black */
.entry-content a,
.page-content a,
article a {
	color: #000000 !important;
}

/* Grammar Guide Card Styling - Page 101 */
/* Card container */
.gg-card {
	background: #f5f8fa;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* H2 header - light blue-gray, teal text */
.gg-card h2 {
	background: #e8eff4;
	color: #2d5f4f;
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 1.5rem;
	border-radius: 8px 8px 0 0;
	border-bottom: 1px solid #d0d5dd;
}

/* H3 subheadings - ice white blue */
.gg-card h3 {
	background: #f5f8fa;
	padding: .5rem 1.25rem;
	margin: 0;
	font-size: 1rem;
	border-bottom: 1px solid #e8eff4;
}

/* Content area padding */
.gg-card p,
.gg-card ul,
.gg-card ol {
	padding: .5rem 1.25rem 1rem;
	margin: 0;
}

.gg-card h3 {
	font-weight: 600;
	margin-top: .75rem;
}

/* Grammar Guide Card 2 - Soft Teal - Page 101 */
/* Card container */
.gg-card-2 {
	background: #f5faf8;
	border: 1px solid #c8d9d3;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* H2 header - soft teal, teal text */
.gg-card-2 h2 {
	background: #e8f4ef;
	color: #2d5f4f;
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 1.5rem;
	border-radius: 8px 8px 0 0;
	border-bottom: 1px solid #c8d9d3;
}

/* H3 subheadings - ice white teal */
.gg-card-2 h3 {
	background: #f5faf8;
	padding: .5rem 1.25rem;
	margin: 0;
	font-size: 1rem;
	border-bottom: 1px solid #e8f4ef;
	font-weight: 600;
	margin-top: .75rem;
}

/* Content area padding */
.gg-card-2 p,
.gg-card-2 ul,
.gg-card-2 ol {
	padding: .5rem 1.25rem 1rem;
	margin: 0;
}

/* Grammar Guide Card 3 - Soft Lavender - Page 101 */
/* Card container */
.gg-card-3 {
	background: #faf8fc;
	border: 1px solid #d3c8d9;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* H2 header - soft lilac, teal text */
.gg-card-3 h2 {
	background: #edeaf2;
	color: #2d5f4f;
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 1.5rem;
	border-radius: 8px 8px 0 0;
	border-bottom: 1px solid #d3c8d9;
}

/* H3 subheadings - ice white lavender */.gg-card-3 h3 {
	background: #faf8fc;
	padding: .5rem 1.25rem;
	margin: 0;
	font-size: 1rem;
	border-bottom: 1px solid #f2edf7;
	font-weight: 600;
	margin-top: .75rem;
}

/* Content area padding */
.gg-card-3 p,
.gg-card-3 ul,
.gg-card-3 ol {
	padding: .5rem 1.25rem 1rem;
	margin: 0;
}

/* Grammar Guide Card - Coming Soon - Page 101 */
.gg-card-soon {
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	opacity: .75;
}

.gg-card-soon h2 {
	background: #ebebeb;
	color: #2d5f4f;
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 1.5rem;
	border-radius: 8px 8px 0 0;
	border-bottom: 1px solid #e0e0e0;
}

.gg-card-soon h3 {
	background: #f5f5f5;
	padding: .5rem 1.25rem;
	margin: 0;
	font-size: 1rem;
	border-bottom: 1px solid #ebebeb;
	font-weight: 600;
	margin-top: .75rem;
}

/* Section 1: Search */
.page-id-32 .homepage-search {
	background: #f0f4f6;
	padding: 2rem 1.25rem 2.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.page-id-32 .homepage-search .wp-block-search__label {
	font-size: 22px;
}
.page-id-32 .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
}
.page-id-32 .wp-block-search__label {
	text-align: center;
	color: #333;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: .75rem;
	display: block;
	width: 100%;
}
.page-id-32 .wp-block-search__inside-wrapper {
	border-radius: 8px;
	overflow: hidden;
}
.page-id-32 .wp-block-search__input {
	border-radius: 8px 0 0 8px;
}
.page-id-32 .wp-block-search__button {
	border-radius: 0 8px 8px 0;
}

/* Section 2: Intro */
.page-id-32 .homepage-intro {
	padding: 1.5rem 1.25rem 2rem;
}

.page-id-32 .homepage-intro h2,
.page-id-32 .homepage-intro .wp-block-heading {
	color: #3eb9a1 !important;
}

/* Logo */
.page-id-32 .homepage-intro img {
	display: block;
	margin: 20px auto;
	max-width: 650px;
	width: 100%;
	height: auto;
}

/* Tagline */
.page-id-32 .homepage-intro p {
	font-size: 20px;
	text-align: center;
}

@media (max-width: 768px) {
	.page-id-32 .homepage-intro h2,
	.page-id-32 .homepage-intro .wp-block-heading {
		font-size: 22px !important;
	}

	.page-id-32 .homepage-intro p {
		font-size: 20px !important;
	}
}







/* Section 3: Questions */
.page-id-32 .homepage-questions {
	background: #f0f4f6;
	padding: 1.5rem 1.25rem 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.page-id-32 .homepage-questions h2 {
	text-align: center;
	color: #333;
	margin-top: 0;
	margin-bottom: 1.5rem;
}
.page-id-32 .homepage-questions p {
	background: #ffffff;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: .75rem;
	position: relative;
	font-size: 1.05rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}








/* Section 4: Grammar Guide Promo */
.page-id-32 .homepage-guide-promo {
	background: #ffffff;
	padding: 1.5rem 1.25rem 2rem;
	text-align: center;
}

.page-id-32 .homepage-guide-promo img {
	margin-bottom: -1rem;
}

.page-id-32 .homepage-guide-promo h2 {
	color: #333;
	margin-top: 0;
	margin-bottom: .75rem;
}

.page-id-32 .homepage-guide-promo .wp-block-button__link {
	background: #3eb9a1;
	color: #ffffff;
	font-weight: 600;
	border-radius: 6px;
	padding: .75rem 1.5rem;
}

.page-id-32 .homepage-guide-promo .wp-block-button__link:hover {
	background: #35a08a;
}

/* ========================================
   SHOP PAGE - CSS
   ======================================== */
/* Support Message */
.shop-support-message {
	background: #f0f4f6;
	border-left: 4px solid #3eb9a1;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	text-align: center;
	margin-bottom: 2rem;
}

/* Shop Card */
.shop-card {
	background: #f5f0fa;
	border-radius: 8px;
	padding: 1.25rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	max-width: 400px;
}

.shop-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.shop-card h3 {
	color: #333;
	margin-top: 1rem;
	margin-bottom: .5rem;
}

.shop-card p {
	color: #666;
	margin-bottom: .5rem;
}

.shop-card img {
	border-radius: 6px;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.shop-card .wp-block-button__link {
	background: #5bbfaa !important;
	color: white;
	border-radius: 6px;
	font-weight: 600;
}

.shop-card .wp-block-button__link:hover {
	background: #4aae99 !important;
}

/* ========================================
   PRINTABLES CARDS (A4 Posters)
   ======================================== */
.shop-card-2 {
	background: #f5f0fa;
	border-radius: 8px;
	padding: 1.25rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.shop-card-2:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.shop-card-2 h3 {
	color: #333;
	margin-top: 1rem;
	margin-bottom: .5rem;
}

.shop-card-2 p {
	color: #666;
	margin-bottom: .5rem;
}

.shop-card-2 img {
	border-radius: 6px;
	width: 100%;
	height: auto;
}

.shop-card-2 .wp-block-button__link {
	background: #5bbfaa !important;
	color: white;