
/* ==========================================================================
   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 (Modern UI)
   ========================================================================== */

/* Typography for post content */
.entry-content {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0;
	color: var(--color-text);
	line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: #0f172a;
	font-weight: 700;
	line-height: 1.3;
	margin: 2.5rem 0 1.25rem;
}

.entry-content h1 {
	font-size: 2.5rem;
}

.entry-content h2 {
	font-size: 2rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #f1f5f9;
}

.entry-content h3 {
	font-size: 1.625rem;
}

.entry-content h4 {
	font-size: 1.25rem;
}

.entry-content p {
	margin: 1.5rem 0;
	color: #334155;
	font-size: 1.0625rem;
	line-height: 1.8;
}

.entry-content a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.entry-content a:hover {
	border-bottom-color: var(--color-primary);
	color: #1d4ed8;
}

.entry-content ul,
.entry-content ol {
	margin: 1.5rem 0;
	padding: 0 0 0 1.5rem;
	color: #334155;
	font-size: 1.0625rem;
}

.entry-content li {
	margin: 0.75rem 0;
	line-height: 1.8;
}

.entry-content li + li {
	margin-top: 0.75rem;
}

.entry-content blockquote {
	margin: 2.5rem 0;
	padding: 2rem 2.5rem;
	border-left: 4px solid var(--color-primary);
	background: linear-gradient(to right, #f8fafc, #ffffff);
	border-radius: 0.75rem;
	color: #475569;
	font-size: 1.125rem;
	font-style: italic;
	position: relative;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
	margin: 2.5rem 0;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.entry-content th,
.entry-content td {
	padding: 1rem 1.5rem;
	border: 1px solid #f1f5f9;
	text-align: left;
}

.entry-content th {
	background: #f8fafc;
	font-weight: 700;
	color: #0f172a;
	text-transform: uppercase;
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
}

.entry-content tbody tr:hover {
	background: #fcfdfe;
}

.entry-content code {
	background: #f1f5f9;
	color: #0f172a;
	border-radius: 0.375rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.9375rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.entry-content pre {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 1rem;
	padding: 2rem;
	overflow: auto;
	margin: 2.5rem 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.entry-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
	margin: 2.5rem 0;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.entry-content figure {
	margin: 2.5rem 0;
}

.entry-content figure img {
	margin: 0;
}

.entry-content figcaption {
	margin-top: 1rem;
	font-size: 0.9375rem;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* Gutenberg Blocks Styles */
/* Buttons */
.entry-content .wp-block-button {
	margin: 2rem 0;
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: 0.75rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: none !important;
	font-size: 1.0625rem;
	cursor: pointer;
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--color-primary);
	color: #ffffff !important;
	box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--color-primary) !important;
	border: 2px solid var(--color-primary) !important;
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--color-primary);
	color: #ffffff !important;
}

.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 2rem 0;
}

/* Columns */
.entry-content .wp-block-columns {
	margin: 3rem 0;
	gap: 2.5rem;
}

.entry-content .wp-block-column {
	flex: 1;
}

/* Group */
.entry-content .wp-block-group {
	margin: 3rem 0;
}

.entry-content .wp-block-group.has-background {
	padding: 2.5rem;
	border-radius: 1rem;
}

/* Separator */
.entry-content .wp-block-separator,
.entry-content hr {
	border: none;
	height: 1px;
	background: #e2e8f0;
	margin: 4rem auto;
	width: 50%;
}

.entry-content .wp-block-separator.is-style-wide {
	width: 100%;
}

/* Gallery */
.entry-content .wp-block-gallery {
	margin: 3rem 0;
	gap: 1.25rem;
}

/* Quote */
.entry-content .wp-block-quote {
	/* Reuses blockquote styles defined above */
}

/* Pullquote */
.entry-content .wp-block-pullquote {
	margin: 4rem 0;
	padding: 3rem;
	border-top: 2px solid #f1f5f9;
	border-bottom: 2px solid #f1f5f9;
	text-align: center;
}

.entry-content .wp-block-pullquote p {
	font-size: 1.5rem;
	line-height: 1.4;
	font-weight: 700;
	color: #0f172a;
}

/* Media & Text */
.entry-content .wp-block-media-text {
	margin: 3rem 0;
	gap: 3rem;
}

.entry-content .wp-block-media-text__media img {
	border-radius: 1rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Gutenberg Alignment Support */
.entry-content .alignwide {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignfull {
	max-width: 100vw;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .alignleft {
	float: left;
	margin-right: 2.5rem;
	margin-bottom: 1.5rem;
	max-width: 50%;
}

.entry-content .alignright {
	float: right;
	margin-left: 2.5rem;
	margin-bottom: 1.5rem;
	max-width: 50%;
}

/* Page links (pagination) */
.page-links {
	margin: 3rem 0;
	padding-top: 2rem;
	border-top: 1px solid #f1f5f9;
	font-size: 0.9375rem;
	color: #64748b;
}

/* Responsive Gutenberg */
@media (max-width: 768px) {
	.entry-content {
		padding: 0;
	}

	.entry-content h1 { font-size: 2rem; }
	.entry-content h2 { font-size: 1.75rem; }
	.entry-content h3 { font-size: 1.5rem; }
	
	.entry-content .wp-block-columns {
		flex-direction: column;
		gap: 1.5rem;
	}
	
	.entry-content .wp-block-media-text {
		flex-direction: column;
		gap: 1.5rem;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}
