/* ==========================================================================
   Castle Connections Travel: site-wide layout and heading styles
   Loaded on every page after accessibility.css.
   ========================================================================== */

/* Page titles: one visible H1 per page, centered between thin lines
   (the same look the Offers and Our Agents titles already had). */
.cct-page-title h1 {
	font-size: 24px;
	line-height: 1.5;
	font-weight: 600;
}
@media (max-width: 767px) {
	.cct-page-title h1 { font-size: 20px; }
}

/* Home page H1, above the intro text in the grey band */
#page-title .cct-home-h1 {
	font-size: 24px;
	line-height: 1.5;
	font-weight: 600;
	margin-bottom: 15px;
}
@media (max-width: 767px) {
	#page-title .cct-home-h1 { font-size: 20px; }
}

/* Intro text that used to be marked up as a heading (home page, thank-you pages).
   Keeps the same look as before. */
.cct-lead {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: #444;
	margin-bottom: 30px;
}
@media (max-width: 767px) {
	.cct-lead { font-size: 16px; }
}

/* Images with width/height attributes still scale with the layout */
#content img[height], #page-title img[height] { height: auto; max-width: 100%; }

/* About: testimonials at the same size as the rest of the body text */
.cct-testimonials p { font-size: 16px; }

/* About: destination photos all the same size so captions line up */
#content .fbox-outline > a > img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	object-position: center top;
}

/* Contact Us: contact details that fit any screen width */
.cct-contact-list { list-style: none; padding-left: 20px; margin-bottom: 15px; }
.cct-contact-list li { margin-bottom: 4px; overflow-wrap: anywhere; }
.cct-contact-address { padding-left: 35px; }

/* Terms of Service: body text inside the numbered sections reads like normal paragraphs */
#content ol.h5 div,
#content ol.h5 ol { line-height: 1.6; font-weight: 400; letter-spacing: normal; text-transform: none; }

/* Newsletter button in the brand teal, like the other buttons */
.cct-subscribe, .cct-subscribe:hover { background-color: #0b6b58 !important; margin: 0; }
