/*
 * Guidos Travel Planner and Diary Pro – display style "Diary".
 * Warmer and more personal: serif headings, framed cover photo,
 * route as a line of stations, quiet cards.
 */

.gtpdp-style-diary {
	--gtpdp-heading-font: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--gtpdp-card-bg: rgba(128, 128, 128, 0.09);
	--gtpdp-radius: 6px;
}

/* Trip header: text left, framed photo right. */

.gtpdp-style-diary .gtpdp-header__hero {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 40px;
	align-items: center;
}

.gtpdp-style-diary .gtpdp-header__body {
	flex: 1 1 340px;
	min-width: 0;
}

.gtpdp-style-diary .gtpdp-header__badges {
	gap: 4px 14px;
}

.gtpdp-style-diary .gtpdp-header__badge {
	padding: 0;
	border: 0;
	color: var(--gtpdp-accent);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gtpdp-style-diary .gtpdp-header__title {
	font-family: var(--gtpdp-heading-font);
	font-size: clamp(2.1rem, 5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.08;
}

.gtpdp-style-diary .gtpdp-header__meta {
	font-size: 1.1em;
	opacity: 0.8;
}

.gtpdp-style-diary .gtpdp-header__text {
	font-family: var(--gtpdp-heading-font);
	font-size: 1.2em;
	line-height: 1.5;
}

.gtpdp-style-diary .gtpdp-header__frame {
	flex: 1 1 280px;
	max-width: 420px;
	margin: 0;
	padding: 10px;
	border-radius: 6px;
	background: var(--gtpdp-frame-bg, #fff);
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
}

.gtpdp-style-diary .gtpdp-header__image {
	width: 100%;
	height: auto;
	aspect-ratio: var(--gtpdp-frame-ratio, 4 / 5);
	border-radius: 2px;
	object-fit: cover;
}

.gtpdp-style-diary .gtpdp-header__facts {
	margin-top: 28px;
	border-top: 1px solid var(--gtpdp-border);
}

/* Destinations: stations on a line. */

.gtpdp-style-diary .gtpdp-stops {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	row-gap: 28px;
}

.gtpdp-style-diary .gtpdp-stops__item {
	position: relative;
	padding: 24px 14px 0 0;
	border-top: 2px solid var(--gtpdp-accent);
}

.gtpdp-style-diary .gtpdp-stops__number {
	position: absolute;
	top: -10px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--gtpdp-accent);
	color: var(--gtpdp-on-accent);
	font-size: 0;
}

.gtpdp-style-diary .gtpdp-stops--numbered .gtpdp-stops__number {
	top: -13px;
	width: 24px;
	height: 24px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
}

.gtpdp-style-diary .gtpdp-stops__title {
	font-family: var(--gtpdp-heading-font);
	font-size: 1.35em;
	font-weight: 500;
}

/* Timeline. */

.gtpdp-style-diary .gtpdp-timeline__daylabel {
	font-family: var(--gtpdp-heading-font);
	font-size: 1em;
	font-weight: 400;
	line-height: 1.3;
}

.gtpdp-style-diary .gtpdp-timeline__daynumber {
	font-size: 1.6em;
	font-weight: 600;
}

.gtpdp-style-diary .gtpdp-timeline__daydate-short {
	display: none;
}

.gtpdp-style-diary .gtpdp-timeline__daydate-long {
	display: inline;
}

.gtpdp-style-diary .gtpdp-timeline__daydate,
.gtpdp-style-diary .gtpdp-timeline__dayplaces {
	font-family: inherit;
	opacity: 0.8;
}

.gtpdp-style-diary .gtpdp-timeline__stage-label {
	color: var(--gtpdp-stage-color, var(--gtpdp-accent));
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gtpdp-style-diary .gtpdp-timeline__title {
	font-family: var(--gtpdp-heading-font);
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-timeline__more {
	text-decoration: underline;
}

.gtpdp-style-diary .gtpdp-timeline__button {
	border-radius: 6px;
}

/* Diary entry. */

.gtpdp-style-diary .gtpdp-entryhead__day {
	padding: 0;
	background: none;
	color: var(--gtpdp-day-color, var(--gtpdp-accent));
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gtpdp-style-diary .gtpdp-entryhead__title,
.gtpdp-style-diary .gtpdp-block-heading,
.gtpdp-style-diary .gtpdp-entrynav__title,
.gtpdp-style-diary .gtpdp-trips__title {
	font-family: var(--gtpdp-heading-font);
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-info {
	gap: 8px 22px;
}

.gtpdp-style-diary .gtpdp-info__item {
	opacity: 0.85;
}

.gtpdp-style-diary .gtpdp-entrytext {
	font-family: var(--gtpdp-heading-font);
	font-size: 1.1em;
	line-height: 1.6;
}

.gtpdp-style-diary .gtpdp-audio__item,
.gtpdp-style-diary .gtpdp-entrynav__link,
.gtpdp-style-diary .gtpdp-trips__card {
	border-color: transparent;
}

.gtpdp-style-diary .gtpdp-trips__badge {
	padding: 0;
	border: 0;
	color: var(--gtpdp-accent);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Destination slider (since 1.31.0): serif names, framed photos. */

.gtpdp-style-diary .gtpdp-dslider__title,
.gtpdp-style-diary .gtpdp-dslider__thumbtitle {
	font-family: var(--gtpdp-heading-font);
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-dslider__slide .gtpdp-dslider__title {
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-dslider__kicker {
	color: var(--gtpdp-accent);
	letter-spacing: 0.08em;
	opacity: 1;
}

.gtpdp-style-diary .gtpdp-dslider__arrow {
	border: 2px solid var(--gtpdp-accent);
	color: var(--gtpdp-accent);
}

.gtpdp-style-diary .gtpdp-dslider__arrow--next {
	color: var(--gtpdp-on-accent);
}

.gtpdp-style-diary .gtpdp-dslider--cards .gtpdp-dslider__card,
.gtpdp-style-diary .gtpdp-dslider--strip-cards .gtpdp-dslider__thumb {
	padding: 12px 12px 4px;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.gtpdp-style-diary .gtpdp-dslider--cards .gtpdp-dslider__item--current,
.gtpdp-style-diary .gtpdp-dslider--strip-cards .gtpdp-dslider__thumb.is-active {
	border: 0;
	box-shadow: 0 0 0 2px var(--gtpdp-ds-active-border, var(--gtpdp-accent)), 0 2px 14px rgba(0, 0, 0, 0.12);
}

.gtpdp-style-diary .gtpdp-dslider__cardmedia {
	border-radius: 2px;
}

.gtpdp-style-diary .gtpdp-dslider__cardbody {
	padding: 14px 8px 16px;
}

.gtpdp-style-diary .gtpdp-dslider__cardbody .gtpdp-dslider__title {
	font-size: 1.6rem;
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-dslider__cardbody .gtpdp-dslider__text {
	font-family: var(--gtpdp-heading-font);
	font-size: 1.05rem;
}

.gtpdp-style-diary .gtpdp-dslider__cardfoot {
	border-top: 0;
}

.gtpdp-style-diary .gtpdp-dslider__cardmedia .gtpdp-dslider__badge {
	background: #fff;
	color: var(--gtpdp-ink);
}

.gtpdp-style-diary .gtpdp-dslider__cardmedia .gtpdp-dslider__badge--current {
	background: var(--gtpdp-accent);
	color: var(--gtpdp-on-accent);
}

/* Next destination (since 1.31.0): a sentence instead of the label, serif names. */

.gtpdp-style-diary .gtpdp-next__sentence {
	display: block;
	font-family: var(--gtpdp-heading-font);
	font-size: 1.25rem;
	opacity: 0.8;
}

.gtpdp-style-diary .gtpdp-next__kicker--has-sentence {
	display: none;
}

.gtpdp-style-diary .gtpdp-next__title,
.gtpdp-style-diary .gtpdp-next__uptitle,
.gtpdp-style-diary .gtpdp-next__name {
	font-family: var(--gtpdp-heading-font);
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-next--card,
.gtpdp-style-diary .gtpdp-next--compact {
	--gtpdp-next-bg: var(--gtpdp-frame-bg, #fff);
	border: 0;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gtpdp-style-diary .gtpdp-next--compact .gtpdp-next__media {
	margin: 18px 18px 0;
	border: 8px solid #fff;
	border-radius: 3px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.gtpdp-style-diary .gtpdp-next--compact .gtpdp-next__title {
	font-size: 2.6rem;
	line-height: 1;
}

.gtpdp-style-diary .gtpdp-next__button {
	border-radius: 6px;
}

/* Room for the shadow of the framed previews inside the scrolling row. */

.gtpdp-style-diary .gtpdp-dslider__strip {
	padding: 4px 4px 14px;
}

/* Destination page (since 1.32.0). */

.gtpdp-style-diary .gtpdp-header__back {
	padding: 0;
	background: none;
	color: var(--gtpdp-accent);
}

.gtpdp-style-diary .gtpdp-header__back:hover,
.gtpdp-style-diary .gtpdp-header__back:focus {
	color: var(--gtpdp-accent);
}

.gtpdp-style-diary .gtpdp-header__badge--current,
.gtpdp-style-diary .gtpdp-header__badge--when {
	padding: 0;
	background: none;
	color: var(--gtpdp-accent);
}

.gtpdp-style-diary .gtpdp-dentries__card {
	border: 0;
	background: var(--gtpdp-dentries-bg, var(--gtpdp-frame-bg, #fff));
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gtpdp-style-diary .gtpdp-dentries__title,
.gtpdp-style-diary .gtpdp-destnav__title {
	font-family: var(--gtpdp-heading-font);
	font-weight: 500;
}

.gtpdp-style-diary .gtpdp-dentries__title {
	font-size: 1.5rem;
}
