
/* ==========================================================================
   Content Page Styles (Accommodation, About, etc.)
   ========================================================================== */

/* Main Content Container */
#content {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

#content.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

#leftNormal {
	background-color: #ffffff;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Page Title (H1) */
#content h1,
#leftNormal h1 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(145deg, #3d4652, #2d343d);
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 1rem 1.5rem;
	margin: 0;
	position: relative;
}

#content h1::before,
#leftNormal h1::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	background: linear-gradient(145deg, #0091d9, #0078b8);
	border-radius: 50%;
	flex-shrink: 0;
}

/* Arrow decoration after title */
#content h1::after,
#leftNormal h1::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 60px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
	background-size: 24px;
}

/* Slide Holder - Hero Image */
#slideholder {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
}

#slideholder img {
	width: 100%;
	height: auto;
	display: block;
}

.slidecaption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
	padding: 2rem 1.5rem 1rem;
}

.slidecaption p {
	color: #ffffff;
	font-size: 0.9rem;
	margin: 0;
	font-weight: 500;
}

/* Content Text Container */
#leftNormal {
	padding-bottom: 2rem;
}

/* Section Headings (H3) */
#leftNormal h3,
#content h3 {
	color: #0091d9;
	font-size: 1.1rem;
	font-weight: 400;
	font-style: italic;
	margin: 1.5rem 1.5rem 0.75rem;
	padding: 0;
}

#leftNormal h3 strong,
#content h3 strong {
	font-weight: 700;
}

/* Sub-headings (H4) */
#leftNormal h4,
#content h4 {
	color: #0091d9;
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
	margin: 1.25rem 1.5rem 0.5rem;
	padding: 0;
}

#leftNormal h4 strong,
#content h4 strong {
	font-weight: 700;
}

/* Paragraphs */
#leftNormal p,
#content > p,
#leftNormal > p {
	color: #374151;
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0.75rem 1.5rem;
}

/* Unordered Lists */
#leftNormal ul,
#content ul:not(#seviceslistview) {
	margin: 0.75rem 1.5rem 0.75rem 2.5rem;
	padding: 0;
	list-style: none;
}

#leftNormal ul li,
#content ul:not(#seviceslistview) li {
	position: relative;
	color: #374151;
	font-size: 0.9rem;
	line-height: 1.65;
	margin-bottom: 0.5rem;
	padding-left: 1.25rem;
}

#leftNormal ul li::before,
#content ul:not(#seviceslistview) li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background-color: #0091d9;
	border-radius: 50%;
}

/* Links in content */
#leftNormal a,
#content a {
	color: #0091d9;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

#leftNormal a:hover,
#content a:hover {
	text-decoration: underline;
	color: #0078b8;
}

/* ==========================================================================
   Pathway Services List View (Grid)
   ========================================================================== */

#listview {
	margin-top: 2rem;
	padding: 1.5rem;
	background-color: #f5f5f5;
}

#listview h3 {
	color: #1e3a5f;
	font-size: 1.25rem;
	font-weight: 400;
	font-style: italic;
	margin: 0 0 1.25rem 0;
	padding: 0;
}

#listview h3::first-letter {
	color: #0091d9;
}

/* Services Grid Container */
#seviceslistview,
ul.serviceslistrd {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Remove galcolumn floats - use grid instead */
.galcolumn {
	display: contents !important;
	width: auto !important;
	padding: 0 !important;
	float: none !important;
}

/* Service Card Item */
#seviceslistview li.item,
ul.serviceslistrd li.item {
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	min-height: 140px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 0 !important;
	opacity: 1 !important;
	zoom: 1 !important;
}

#seviceslistview li.item:hover,
ul.serviceslistrd li.item:hover {
	border-color: #0091d9;
	box-shadow: 0 8px 25px rgba(0, 145, 217, 0.15);
	transform: translateY(-3px);
}

/* Service Logo Container */
.leftservicelist {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 70px;
	margin: 0 0 0.75rem 0 !important;
	float: none !important;
}

.leftservicelist a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.leftservicelist img {
	max-width: 100% !important;
	max-height: 60px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

/* Service Title */
#seviceslistview li.item h3,
ul.serviceslistrd li.item h3 {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	font-style: normal !important;
	color: #1e3a5f;
	margin: 0 !important;
	padding: 0;
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
}

#seviceslistview li.item h3 a,
ul.serviceslistrd li.item h3 a {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
}

#seviceslistview li.item h3 a:hover,
ul.serviceslistrd li.item h3 a:hover {
	color: #0091d9;
	text-decoration: none;
}

/* Clear div for float reset */
#seviceslistview [id^="clear"],
div[id^="clear"] {
	display: none !important;
}

/* Responsive Grid */
@media (max-width: 1200px) {
	#seviceslistview,
	ul.serviceslistrd {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 1024px) {
	#seviceslistview,
	ul.serviceslistrd {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	#content {
		padding: 0 1rem;
	}
	
	#content h1,
	#leftNormal h1 {
		font-size: 1.1rem;
		padding: 0.875rem 1.25rem;
	}
	
	#leftNormal h3,
	#content h3 {
		margin: 1.25rem 1.25rem 0.5rem;
		font-size: 1rem;
	}
	
	#leftNormal h4,
	#content h4 {
		margin: 1rem 1.25rem 0.5rem;
	}
	
	#leftNormal p,
	#content > p {
		margin: 0.5rem 1.25rem;
	}
	
	#leftNormal ul,
	#content ul:not(#seviceslistview) {
		margin: 0.5rem 1.25rem 0.5rem 2rem;
	}
	
	#seviceslistview,
	ul.serviceslistrd {
		grid-template-columns: repeat(3, 1fr);
	}
	
	#listview {
		padding: 1.25rem;
	}
}

@media (max-width: 600px) {
	#seviceslistview,
	ul.serviceslistrd {
		grid-template-columns: repeat(2, 1fr);
	}
	
	#seviceslistview li.item,
	ul.serviceslistrd li.item {
		min-height: 120px;
		padding: 0.875rem;
	}
	
	.leftservicelist {
		height: 55px;
	}
	
	.leftservicelist img {
		max-height: 50px !important;
	}
	
	#seviceslistview li.item h3,
	ul.serviceslistrd li.item h3 {
		font-size: 0.75rem !important;
	}
}

@media (max-width: 400px) {
	#content h1,
	#leftNormal h1 {
		font-size: 1rem;
		padding: 0.75rem 1rem;
		gap: 0.5rem;
	}
	
	#content h1::before,
	#leftNormal h1::before {
		width: 10px;
		height: 10px;
	}
	
	#leftNormal h3,
	#content h3,
	#leftNormal h4,
	#content h4 {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	
	#leftNormal p,
	#content > p {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	
	#leftNormal ul,
	#content ul:not(#seviceslistview) {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}

/* ==========================================================================
   Gutenberg Content Styles (direct content via editor)
   ========================================================================== */

/* Page Content Container for Gutenberg */
.site-main.section {
	padding: 2rem 0;
}

.site-main.section > .wp-block-group,
.site-main.section > .entry-content,
.site-main.section > article,
.site-main.section > div,
.site-main.section > p,
.site-main.section > h1,
.site-main.section > h2,
.site-main.section > h3,
.site-main.section > h4,
.site-main.section > h5,
.site-main.section > h6,
.site-main.section > ul,
.site-main.section > ol,
.site-main.section > blockquote,
.site-main.section > figure,
.site-main.section > table {
	max-width: var(--container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* Main content wrapper (white background card) */
.site-main.section {
	background-color: transparent;
}

/* Gutenberg Heading Styles */
.site-main h1:not(#content h1):not(#leftNormal h1),
.wp-block-heading:where(h1) {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(145deg, #3d4652, #2d343d);
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 1rem 1.5rem;
	margin: 0 0 1.5rem 0;
	border-radius: 0;
	position: relative;
}

.site-main h1:not(#content h1):not(#leftNormal h1)::before,
.wp-block-heading:where(h1)::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	background: linear-gradient(145deg, #0091d9, #0078b8);
	border-radius: 50%;
	flex-shrink: 0;
}

/* H2 */
.site-main h2,
.wp-block-heading:where(h2) {
	color: #1e3a5f;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 2rem 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #0091d9;
	display: inline-block;
	width: 100%;
}

/* H3 */
.site-main h3:not(#listview h3):not(#seviceslistview li h3),
.wp-block-heading:where(h3) {
	color: #0091d9;
	font-size: 1.15rem;
	font-weight: 600;
	font-style: italic;
}

/* H4 */
.site-main h4,
.wp-block-heading:where(h4) {
	color: #0091d9;
	font-size: 1rem;
	font-weight: 600;
	font-style: italic;
	margin: 1.5rem 0 0.5rem 0;
}

/* H5 & H6 */
.site-main h5,
.wp-block-heading:where(h5) {
	color: #374151;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 1.25rem 0 0.5rem 0;
}

.site-main h6,
.wp-block-heading:where(h6) {
	color: #6b7280;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 1rem 0 0.5rem 0;
}

/* Paragraphs */
.site-main p:not(.slidecaption p):not(.news-card__excerpt):not(.news-section__desc):not(.hero-slide__description p) {
	color: #374151;
	font-size: 0.95rem;
	line-height: 1.75;
	margin: 0.875rem 0;
}

/* Links */
.site-main p a,
.site-main li a:not(#seviceslistview li a) {
	color: #0091d9;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-main p a:hover,
.site-main li a:not(#seviceslistview li a):hover {
	color: #0078b8;
	text-decoration: underline;
}

/* Strong / Bold */
.site-main strong,
.site-main b {
	font-weight: 700;
	color: #1e3a5f;
}

/* Italic / Emphasis */
.site-main em,
.site-main i:not(.wp-block-button__link i) {
	font-style: italic;
	color: #475569;
}

/* Strikethrough */
.site-main s,
.site-main del {
	text-decoration: line-through;
	color: #9ca3af;
}

/* Inline Code */
.site-main code:not(pre code) {
	background-color: #f1f5f9;
	color: #0091d9;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.875em;
	font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
	border: 1px solid #e2e8f0;
}

/* Code Block (pre) */
.site-main pre,
.wp-block-code {
	background: linear-gradient(145deg, #1e293b, #0f172a);
	color: #e2e8f0;
	padding: 1.25rem 1.5rem;
	border-radius: 10px;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1.5rem 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.site-main pre code,
.wp-block-code code {
	background: transparent;
	color: inherit;
	padding: 0;
	border: none;
	font-size: inherit;
}

/* Unordered Lists */
.site-main ul:not(.header__primary-menu):not(.header__areas-menu):not(.header__mobile-menu):not(.header__mobile-areas-menu):not(#seviceslistview):not(.serviceslistrd):not(.hero-pagination):not(.footer__links):not(.news-section__grid ul) {
	list-style: none;
	margin: 1rem 0;
	padding: 0 0 0 1.5rem;
}

.site-main ul:not(.header__primary-menu):not(.header__areas-menu):not(.header__mobile-menu):not(.header__mobile-areas-menu):not(#seviceslistview):not(.serviceslistrd):not(.hero-pagination):not(.footer__links):not(.news-section__grid ul) > li {
	position: relative;
	color: #374151;
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 0.6rem;
	padding-left: 1.25rem;
}

.site-main ul:not(.header__primary-menu):not(.header__areas-menu):not(.header__mobile-menu):not(.header__mobile-areas-menu):not(#seviceslistview):not(.serviceslistrd):not(.hero-pagination):not(.footer__links):not(.news-section__grid ul) > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	background: linear-gradient(145deg, #0091d9, #0078b8);
	border-radius: 50%;
}

/* Ordered Lists */
.site-main ol:not(.wp-block-latest-posts) {
	list-style: none;
	margin: 1rem 0;
	padding: 0 0 0 0.5rem;
	counter-reset: custom-counter;
}

.site-main ol:not(.wp-block-latest-posts) > li {
	position: relative;
	color: #374151;
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 0.6rem;
	padding-left: 2.5rem;
	counter-increment: custom-counter;
}

.site-main ol:not(.wp-block-latest-posts) > li::before {
	content: counter(custom-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.75rem;
	height: 1.75rem;
	background: linear-gradient(145deg, #0091d9, #0078b8);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Blockquote */
.site-main blockquote,
.wp-block-quote {
	margin: 1.5rem 0;
	padding: 1.5rem 1.5rem 1.5rem 2rem;
	background: linear-gradient(145deg, #eff6ff, #e0f2fe);
	border-left: 5px solid #0091d9;
	border-radius: 0 12px 12px 0;
	position: relative;
	box-shadow: 0 3px 15px rgba(0, 145, 217, 0.08);
}

.site-main blockquote::before,
.wp-block-quote::before {
	content: '"';
	position: absolute;
	top: 0.5rem;
	left: 0.75rem;
	font-size: 3rem;
	color: rgba(0, 145, 217, 0.2);
	font-family: Georgia, serif;
	line-height: 1;
}

.site-main blockquote p,
.wp-block-quote p {
	color: #1e3a5f;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.7;
	margin: 0;
}

.site-main blockquote cite,
.wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	color: #64748b;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
}

/* Tables */
.site-main table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.9rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-main table thead,
.wp-block-table thead {
	background: linear-gradient(145deg, #1e3a5f, #2d5a87);
}

.site-main table th,
.wp-block-table th {
	color: #ffffff;
	font-weight: 700;
	text-align: left;
	padding: 1rem 1.25rem;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
}

.site-main table td,
.wp-block-table td {
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid #e5e7eb;
	color: #374151;
}

.site-main table tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background-color: #f8fafc;
}

.site-main table tbody tr:hover,
.wp-block-table tbody tr:hover {
	background-color: #eff6ff;
}

/* Buttons - WP Block Buttons */
.wp-block-button {
	margin: 0.5rem 0;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: none;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Primary Button (filled) */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(145deg, #0091d9, #0078b8);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(0, 145, 217, 0.3);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: linear-gradient(145deg, #0078b8, #005f94);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 145, 217, 0.4);
}

/* Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: #0091d9;
	border: 2px solid #0091d9;
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #0091d9;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 145, 217, 0.3);
}

/* Buttons Container */
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.5rem 0;
}

/* Images */
.site-main figure,
.wp-block-image {
	margin: 1.5rem 0;
}

.site-main figure img,
.wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-main figcaption,
.wp-block-image figcaption {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* Separator / HR */
.site-main hr,
.wp-block-separator {
	border: none;
	height: 3px;
	background: linear-gradient(90deg, transparent, #0091d9, transparent);
	margin: 2rem 0;
	opacity: 0.5;
}

/* Cover Block (if used) */
.wp-block-cover {
	margin: 1.5rem 0;
	border-radius: 12px;
	overflow: hidden;
}

/* Columns */
.wp-block-columns {
	margin: 1.5rem 0;
}

.wp-block-column {
	padding: 1rem;
}

/* Group Block with background */
.wp-block-group.has-background {
	padding: 1.5rem;
	border-radius: 12px;
	margin: 1.5rem 0;
}

/* Gutenberg Responsive Styles */
@media (max-width: 768px) {
	.site-main.section > .wp-block-group,
	.site-main.section > .entry-content,
	.site-main.section > article,
	.site-main.section > div,
	.site-main.section > p,
	.site-main.section > h1,
	.site-main.section > h2,
	.site-main.section > h3,
	.site-main.section > h4,
	.site-main.section > h5,
	.site-main.section > h6,
	.site-main.section > ul,
	.site-main.section > ol,
	.site-main.section > blockquote,
	.site-main.section > figure,
	.site-main.section > table {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.site-main h1:not(#content h1):not(#leftNormal h1),
	.wp-block-heading:where(h1) {
		font-size: 1.15rem;
		padding: 0.875rem 1.25rem;
	}
	
	.site-main h2,
	.wp-block-heading:where(h2) {
		font-size: 1.25rem;
	}
	
	.site-main h3:not(#listview h3):not(#seviceslistview li h3),
	.wp-block-heading:where(h3) {
		font-size: 1.05rem;
	}
	
	.wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}
	
	.wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	
	.site-main table,
	.wp-block-table table {
		font-size: 0.85rem;
	}
	
	.site-main table th,
	.wp-block-table th,
	.site-main table td,
	.wp-block-table td {
		padding: 0.75rem 0.875rem;
	}
}

@media (max-width: 480px) {
	.site-main h1:not(#content h1):not(#leftNormal h1),
	.wp-block-heading:where(h1) {
		font-size: 1rem;
		padding: 0.75rem 1rem;
		gap: 0.5rem;
	}
	
	.site-main h1:not(#content h1):not(#leftNormal h1)::before,
	.wp-block-heading:where(h1)::before {
		width: 10px;
		height: 10px;
	}
	
	.site-main blockquote,
	.wp-block-quote {
		padding: 1.25rem 1.25rem 1.25rem 1.5rem;
	}
	
	.site-main blockquote::before,
	.wp-block-quote::before {
		font-size: 2rem;
		left: 0.5rem;
	}
	
	/* Table horizontal scroll on mobile */
	.wp-block-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

