/* albinfo-v2 bundle: site-front.css — generated; do not edit */

/* --- feature-bleed.css --- */
/*
  Component: full-bleed feature hero.
  Figma: 297:2399 — 1440×580 image, gradient bottom→black, label pill + 48pt
  Hero Headline pinned to bottom-left inside the container gutter.

  Markup:
    a.c-feature-bleed
      .c-feature-bleed__media  > img.c-feature-bleed__img
      .c-feature-bleed__inner.l-container
        .c-feature-bleed__label
        h2.c-feature-bleed__title
*/

.c-feature-bleed {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 580;
	overflow: hidden;
	color: var(--c-light);
	text-decoration: none;
	background: var(--c-dark);
	isolation: isolate;
}

.c-feature-bleed__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.c-feature-bleed__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Bottom-up gradient — Figma is opaque at ~47% upward. */
.c-feature-bleed__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0) 53%,
		rgba(0,0,0,1) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.c-feature-bleed__inner {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--space-8);
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-feature-bleed__label {
	display: inline-flex;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--c-light);
	border-radius: var(--radius-md);
	color: var(--c-light);
	font-size: var(--fs-heading-14);
	line-height: var(--lh-heading-14);
	font-weight: var(--fw-semibold);
	letter-spacing: -0.42px;
	text-transform: uppercase;
	width: max-content;
}

.c-feature-bleed__title {
	margin: 0;
	font-size: var(--fs-hero);          /* 48 */
	line-height: var(--lh-hero);        /* 60 */
	font-weight: var(--fw-bold);
	letter-spacing: -1.92px;            /* Figma -4 → -1.92px @ 48pt */
	color: var(--c-light);
	max-width: 1200px;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.c-feature-bleed:hover .c-feature-bleed__title,
.c-feature-bleed:focus-visible .c-feature-bleed__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (max-width: 768px) {
	.c-feature-bleed { aspect-ratio: 16 / 11; }
	.c-feature-bleed__title { font-size: 28px; line-height: 34px; letter-spacing: -1px; }
	.c-feature-bleed__inner { bottom: var(--space-4); }
}

/* --- calendar-slider.css --- */
/*
  Component: Kalendari i Ngjarjeve slider.
  Figma 106:1880 — 1440×506 light-grey background, section header on top,
  horizontally-scrolling row of vertical cards, prev/next arrows centred at
  the bottom.

  Markup:
    section.c-calendar-slider
      .l-container
        (section header)
        .c-calendar-slider__viewport
          ul.c-calendar-slider__track
            li.c-calendar-slider__item > a.c-card-vertical (re-using card)
        .c-calendar-slider__nav
          button.c-calendar-slider__btn [data-dir=prev|next]
*/

.c-calendar-slider {
	background: var(--c-grey-light);
	padding-block: var(--space-6) var(--space-8);
	overflow: hidden;
}

.c-calendar-slider .l-container {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

/* Viewport masks the overflow; the track is translated, not scrolled. */
.c-calendar-slider__viewport {
	position: relative;
	overflow: hidden;
	margin-inline: calc(-1 * var(--space-4));
	padding-inline: var(--space-4);
	width: 100vw;
}

.c-calendar-slider__track {
	display: flex;
	gap: var(--space-16);
	padding: 0;
	margin: 0;
	list-style: none;
	width: max-content;            /* fit all (incl. cloned) items in a single row */
	will-change: transform;
	transform: translate3d(0, 0, 0);
	touch-action: pan-y;           /* allow vertical page scroll while dragging horizontally */
}

/* Each card is 307.5px wide at desktop (Figma). On small screens cards shrink. */
.c-calendar-slider__item {
	flex: 0 0 307.5px;
	max-width: 307.5px;
}
@media (max-width: 768px) {
	.c-calendar-slider__item { flex-basis: 240px; max-width: 240px; }
}
@media (max-width: 480px) {
	.c-calendar-slider__item { flex-basis: 200px; max-width: 200px; }
}

/* Respect users who prefer reduced motion: stop the marquee. */
@media (prefers-reduced-motion: reduce) {
	.c-calendar-slider__track.is-marquee { transform: none !important; }
}

/* Cards rendered inside the track use the existing .c-card-vertical look. */
.c-calendar-slider__item .c-card-vertical {
	height: 100%;
}

/* Cursor affordance when JS attaches drag (class added by JS). */
.c-calendar-slider__track.is-grabbing { cursor: grabbing; }
.c-calendar-slider__track.is-draggable { cursor: grab; }

/* Suppress native image-drag + text selection so pointerdown on an <img>
   or label inside a card actually drives the slider drag, not a ghost
   image preview / text highlight. */
.c-calendar-slider__track,
.c-calendar-slider__track * {
	-webkit-user-drag: none;
	user-select: none;
}
.c-calendar-slider__track img,
.c-calendar-slider__track a {
	-webkit-user-drag: none;
}

/* Nav row centred under the cards — above viewport hit area. */
.c-calendar-slider__nav {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	pointer-events: auto;
}

.c-calendar-slider__btn {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--c-fg);
	cursor: pointer;
	pointer-events: auto;
	transition: transform 150ms ease, opacity 150ms ease;
}
.c-calendar-slider__btn:hover { transform: scale(1.06); }
.c-calendar-slider__btn:focus-visible {
	outline: 2px solid var(--c-fg);
	outline-offset: 2px;
}
.c-calendar-slider__btn[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
}

/* --- promo-section.css --- */
/*
  Home: Promo row (Figma 308:4854).
  Light pink band, featured red section header, 4× vertical article small (307×350).
*/

.c-promo-section {
	width: 100%;
	background: #fbf3f3;
	padding-block: var(--space-6);
}

.c-promo-section .l-container {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

/* --- albusiness-section.css --- */
/*
  Home: Albusiness / firmat row (Figma 312:5793).
  Light blue band, 4× image + company name (21px semibold, no date).
*/

.c-albusiness-section {
	width: 100%;
	background: #e3e8ff;
	padding-block: var(--space-6);
}

.c-albusiness-section .l-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.c-albusiness-section .c-card-vertical__body {
	background: transparent !important;
}

.c-albusiness-section .c-card-vertical__title {
	font-size: var(--fs-h3);
	line-height: var(--lh-h3);
	font-weight: var(--fw-semibold);
}

/* --- home-tagline.css --- */

/* Home tagline under hero */
.c-home-tagline {
	margin: var(--space-4) 0 0;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-fg-muted, #666);
	font-weight: var(--fw-semibold);
}
