/*
 * OneClick News Ticker – Public Stylesheet
 * Plugin by OneClick Solutions | https://www.oneclick.co.in
 * Version: 1.0.0
 */

/* ====================================================================
   CSS Custom Property defaults (overridden by inline style per instance)
   ==================================================================== */
.oc-nt-wrapper {
	--oc-nt-bg:             #ffffff;
	--oc-nt-text:           #1a1a1a;
	--oc-nt-accent:         #d32f2f;
	--oc-nt-badge-bg:       #d32f2f;
	--oc-nt-badge-text:     #ffffff;
	--oc-nt-height:         44px;
	--oc-nt-font-size:      14px;
	--oc-nt-font-weight:    normal;
	--oc-nt-text-transform: none;
	--oc-nt-radius:         0px;
	--oc-nt-px:             16px;
	--oc-nt-border-width:   0px;
	--oc-nt-border-color:   #dddddd;
	--oc-nt-font-family:    inherit;
}

/* ====================================================================
   Base wrapper
   ==================================================================== */
.oc-nt-wrapper {
	position:        relative;
	display:         flex;
	align-items:     center;
	width:           100%;
	height:          var(--oc-nt-height);
	background:      var(--oc-nt-bg);
	color:           var(--oc-nt-text);
	font-size:       var(--oc-nt-font-size);
	font-weight:     var(--oc-nt-font-weight);
	font-family:     var(--oc-nt-font-family);
	text-transform:  var(--oc-nt-text-transform);
	border-radius:   var(--oc-nt-radius);
	border:          var(--oc-nt-border-width) solid var(--oc-nt-border-color);
	overflow:        hidden;
	box-sizing:      border-box;
	line-height:     1.4;
	user-select:     none;
}

/* ====================================================================
   Badge / label
   ==================================================================== */
.oc-nt-badge {
	display:         flex;
	align-items:     center;
	gap:             5px;
	flex-shrink:     0;
	height:          100%;
	padding:         0 var(--oc-nt-px);
	background:      var(--oc-nt-badge-bg);
	color:           var(--oc-nt-badge-text);
	font-weight:     700;
	font-size:       calc(var(--oc-nt-font-size) * 0.9);
	white-space:     nowrap;
	z-index:         2;
}

.oc-nt-badge svg {
	width:  14px;
	height: 14px;
	flex-shrink: 0;
}

/* ====================================================================
   Track shared rules
   ==================================================================== */
.oc-nt-track {
	flex:         1 1 0;
	min-width:    0;
	height:       100%;
	overflow:     hidden;
	position:     relative;
}

/* ====================================================================
   Marquee (left / right) track
   ==================================================================== */
.oc-nt-track--marquee {
	display: flex;
	align-items: center;
}

.oc-nt-track-inner {
	display:             flex;
	align-items:         center;
	white-space:         nowrap;
	will-change:         transform;
	animation-name:      oc-nt-marquee;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-play-state: running;
}

.oc-nt-dir--right .oc-nt-track-inner {
	animation-name:      oc-nt-marquee-reverse;
}

@keyframes oc-nt-marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes oc-nt-marquee-reverse {
	0%   { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

.oc-nt-pause-on-hover:hover .oc-nt-track-inner {
	animation-play-state: paused;
}

/* JS-driven marquee uses a class instead of keyframes. */
.oc-nt-track-inner.js-driven {
	animation: none;
	transition: none;
}

/* ====================================================================
   Items (shared)
   ==================================================================== */
.oc-nt-item {
	display:         inline-flex;
	align-items:     center;
	gap:             6px;
	padding:         0 var(--oc-nt-px);
	color:           var(--oc-nt-text);
	text-decoration: none;
	white-space:     nowrap;
	cursor:          pointer;
	transition:      color 0.15s ease;
}

.oc-nt-item:hover,
.oc-nt-item:focus {
	color:           var(--oc-nt-accent);
	text-decoration: none;
	outline:         none;
}

.oc-nt-item:focus-visible {
	outline: 2px solid var(--oc-nt-accent);
	outline-offset: 2px;
}

.oc-nt-thumb {
	width:         28px;
	height:        28px;
	object-fit:    cover;
	border-radius: 3px;
	flex-shrink:   0;
}

/* ── Thumbnail SHAPE modifiers ───────────────────────────────────────
   "rounded" (3px) is the original default, unchanged for backward
   compat. "circle" produces avatar-style round thumbnails as seen on
   capsule/devotional ticker bars. "square" removes rounding entirely. */
.oc-nt-thumb--rounded {
	border-radius: 3px;
}

.oc-nt-thumb--circle {
	border-radius: 50%;
}

.oc-nt-thumb--square {
	border-radius: 0;
}

.oc-nt-title {
	font-weight: inherit;
}

.oc-nt-date {
	font-size:   0.8em;
	opacity:     0.7;
	margin-left: 4px;
}

.oc-nt-excerpt {
	font-size:   0.85em;
	opacity:     0.85;
	margin-left: 6px;
}

.oc-nt-price {
	font-size:   0.85em;
	font-weight: 700;
	color:       var(--oc-nt-accent);
	margin-left: 6px;
}

.oc-nt-sale-badge {
	display:          inline-block;
	background:       var(--oc-nt-accent);
	color:            var(--oc-nt-badge-text);
	font-size:        0.7em;
	font-weight:      700;
	padding:          1px 5px;
	border-radius:    3px;
	text-transform:   uppercase;
	margin-left:      4px;
	vertical-align:   middle;
}

.oc-nt-sep {
	color:    var(--oc-nt-accent);
	padding:  0 4px;
	opacity:  0.6;
}

/* ── Separator STYLE modifiers ───────────────────────────────────────
   "dot" (•) is the original default, unchanged for backward compat.
   The decorative glyphs below render slightly larger and at full
   opacity since they're thinner / lighter-weight than a solid dot. */
.oc-nt-sep--flower,
.oc-nt-sep--star {
	font-size: 0.95em;
	opacity:   0.85;
}

.oc-nt-sep--pipe,
.oc-nt-sep--slash {
	opacity: 0.45;
}

/* ====================================================================
   Fade track
   ==================================================================== */
.oc-nt-track--fade {
	position: relative;
}

.oc-nt-track--fade .oc-nt-slide {
	position:   absolute;
	top:        0;
	left:       0;
	width:      100%;
	height:     100%;
	display:    flex;
	align-items: center;
	opacity:    0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.oc-nt-track--fade .oc-nt-slide--active {
	opacity:        1;
	pointer-events: auto;
}

.oc-nt-track--fade .oc-nt-item {
	width: 100%;
	white-space: normal;
}

/* ====================================================================
   Vertical track
   ==================================================================== */
.oc-nt-track--vertical {
	position: relative;
}

.oc-nt-track--vertical .oc-nt-slide {
	position:   absolute;
	top:        0;
	left:       0;
	width:      100%;
	height:     100%;
	display:    flex;
	align-items: center;
	opacity:    0;
	transform:  translateY(100%);
	transition: transform 0.4s ease, opacity 0.4s ease;
	pointer-events: none;
}

.oc-nt-track--vertical .oc-nt-slide--active {
	opacity:        1;
	transform:      translateY(0);
	pointer-events: auto;
}

.oc-nt-track--vertical .oc-nt-slide--exit {
	opacity:   0;
	transform: translateY(-100%);
}

.oc-nt-dir--slide-up .oc-nt-track--vertical .oc-nt-slide {
	transform: translateY(50%);
}

.oc-nt-dir--slide-up .oc-nt-track--vertical .oc-nt-slide--exit {
	transform: translateY(-50%);
	opacity:   0;
}

.oc-nt-track--vertical .oc-nt-item,
.oc-nt-track--fade .oc-nt-item {
	padding-left: var(--oc-nt-px);
}

/* ====================================================================
   Static track
   ==================================================================== */
.oc-nt-track--static {
	display:         flex;
	align-items:     center;
	flex-wrap:       nowrap;
	overflow-x:      auto;
	scrollbar-width: none;
}

.oc-nt-track--static::-webkit-scrollbar {
	display: none;
}

/* ====================================================================
   Controls
   ==================================================================== */
.oc-nt-controls {
	display:     flex;
	align-items: center;
	gap:         2px;
	flex-shrink: 0;
	padding:     0 6px;
}

.oc-nt-btn {
	display:          flex;
	align-items:      center;
	justify-content:  center;
	cursor:           pointer;
	padding:          0;
	line-height:      1;
	opacity:          0.7;
	transition:       opacity 0.15s ease, transform 0.1s ease;
	flex-shrink:      0;
}

.oc-nt-btn:hover {
	opacity: 1;
}

.oc-nt-btn:active {
	transform: scale(0.92);
}

/* ── Nav button SHAPE modifiers ──────────────────────────────────────
   "rectangle" reproduces the plugin's original 26px rounded-square
   button exactly (pre-1.1.0 default, unchanged for backward compat).
   "circle" produces a perfect circle, matching capsule-style tickers. */
.oc-nt-btn--rectangle {
	width:         26px;
	height:        26px;
	border-radius: 3px;
}

.oc-nt-btn--circle {
	width:         28px;
	height:        28px;
	border-radius: 50%;
}

/* ── Nav button STYLE modifiers ───────────────────────────────────────
   "outline" reproduces the plugin's original transparent/bordered look
   exactly (pre-1.1.0 default, unchanged for backward compat).
   "filled" uses the ticker's accent color as a solid background.
   "light" is a fixed white circle with a dark icon, matching the
   white nav buttons seen on capsule-style devotional/news bars. */
.oc-nt-btn--style-outline {
	background: transparent;
	border:     1px solid currentColor;
	color:      var(--oc-nt-text);
}

.oc-nt-btn--style-filled {
	background: var(--oc-nt-accent);
	border:     1px solid var(--oc-nt-accent);
	color:      var(--oc-nt-badge-text);
}

.oc-nt-btn--style-light {
	background: #ffffff;
	border:     1px solid #ffffff;
	color:      #333333;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ====================================================================
   Counter
   ==================================================================== */
.oc-nt-counter {
	font-size:   0.8em;
	opacity:     0.6;
	flex-shrink: 0;
	padding:     0 var(--oc-nt-px) 0 0;
	white-space: nowrap;
}

/* ====================================================================
   Model 1 – Classic Breaking News
   ==================================================================== */
.oc-nt-model-1 {
	border-bottom: 2px solid var(--oc-nt-accent);
}

.oc-nt-model-1 .oc-nt-badge {
	font-style: italic;
	letter-spacing: 0.03em;
}

/* ====================================================================
   Model 2 – Modern Gradient
   ==================================================================== */
.oc-nt-model-2 {
	background: linear-gradient(90deg, #5b2bd9 0%, #2979ff 100%);
}

.oc-nt-model-2 .oc-nt-badge {
	background: rgba(0,0,0,0.25);
	border-right: 1px solid rgba(255,255,255,0.2);
}

/* ====================================================================
   Model 3 – Minimal Light
   ==================================================================== */
.oc-nt-model-3 {
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.oc-nt-model-3 .oc-nt-badge {
	border-radius: 4px;
	margin: 0 8px 0 4px;
	height: calc(100% - 12px);
	font-size: 0.75em;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ====================================================================
   Model 4 – Dark Mode
   ==================================================================== */
.oc-nt-model-4 {
	border-top:    2px solid var(--oc-nt-accent);
	border-bottom: 2px solid var(--oc-nt-accent);
}

.oc-nt-model-4 .oc-nt-item:hover {
	text-shadow: 0 0 8px var(--oc-nt-accent);
}

/* ====================================================================
   Model 5 – Newspaper Classic
   ==================================================================== */
.oc-nt-model-5 {
	font-family:   Georgia, 'Times New Roman', Times, serif;
	border-top:    3px double var(--oc-nt-text);
	border-bottom: 3px double var(--oc-nt-text);
}

.oc-nt-model-5 .oc-nt-badge {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size:      0.7em;
}

/* ====================================================================
   Model 6 – Sports Score Bar
   ==================================================================== */
.oc-nt-model-6 {
	font-family: 'Arial Narrow', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.oc-nt-model-6 .oc-nt-badge {
	font-size:      0.7em;
	letter-spacing: 0.1em;
	animation:      oc-nt-live-pulse 1.5s infinite;
}

@keyframes oc-nt-live-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.7; }
}

/* ====================================================================
   Model 7 – Corporate Blue
   ==================================================================== */
.oc-nt-model-7 {
	border-left: 4px solid var(--oc-nt-accent);
}

.oc-nt-model-7 .oc-nt-badge {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size:      0.75em;
}

/* ====================================================================
   Model 8 – Neon Cyberpunk
   ==================================================================== */
.oc-nt-model-8 {
	border-top:    1px solid #11e0e0;
	border-bottom: 1px solid #ff2bd6;
}

.oc-nt-model-8 .oc-nt-item {
	text-shadow: 0 0 6px var(--oc-nt-text);
}

.oc-nt-model-8 .oc-nt-item:hover {
	text-shadow: 0 0 12px var(--oc-nt-accent);
}

.oc-nt-model-8 .oc-nt-badge {
	background:  transparent;
	color:       var(--oc-nt-accent);
	text-shadow: 0 0 8px var(--oc-nt-accent);
	border-right: 1px solid var(--oc-nt-accent);
}

/* ====================================================================
   Model 9 – Vertical News Feed
   ==================================================================== */
.oc-nt-model-9 {
	border-radius: 8px;
	box-shadow:    0 2px 8px rgba(0,0,0,0.10);
}

.oc-nt-model-9 .oc-nt-badge {
	border-radius: 8px 0 0 8px;
}

/* ====================================================================
   Model 10 – Card Slider Fade
   ==================================================================== */
.oc-nt-model-10 {
	border-radius: 12px;
	box-shadow:    0 4px 16px rgba(0,0,0,0.12);
	padding:       0;
}

.oc-nt-model-10 .oc-nt-badge {
	border-radius: 12px 0 0 12px;
}

.oc-nt-model-10 .oc-nt-item {
	font-size: 1em;
	font-weight: 600;
}

/* ====================================================================
   Model 11 – E-commerce Deal Strip
   ==================================================================== */
.oc-nt-model-11 {
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.oc-nt-model-11 .oc-nt-badge {
	background: rgba(255,255,255,0.2);
	border-right: 2px solid rgba(255,255,255,0.4);
}

.oc-nt-model-11 .oc-nt-sep {
	opacity: 0.6;
}

.oc-nt-model-11 .oc-nt-price {
	color:           var(--oc-nt-badge-text);
	background:      rgba(0,0,0,0.2);
	padding:         2px 6px;
	border-radius:   3px;
	font-size:       0.85em;
}

/* ====================================================================
   Model 12 – Official Notice
   ==================================================================== */
.oc-nt-model-12 {
	font-family:  Georgia, 'Times New Roman', Times, serif;
	border-top:   3px solid var(--oc-nt-accent);
}

.oc-nt-model-12 .oc-nt-badge {
	text-transform: uppercase;
	font-size:      0.72em;
	letter-spacing: 0.1em;
	border-right:   2px solid var(--oc-nt-accent);
}

/* ====================================================================
   Shape system (NEW in 1.1.0) — orthogonal to "model", applies on top
   ==================================================================== */

/* Pill / capsule wrapper — fully rounded "stadium" shape regardless of
   the configured border_radius value. Scales automatically with the
   ticker's own height via calc(), so it always stays a true capsule
   no matter what height the admin sets. */
.oc-nt-shape-pill {
	border-radius: calc(var(--oc-nt-height) / 2) !important;
}

/* Badge merged into the pill's rounded "start" edge ("pill-start"): the
   badge's start-side corners match the wrapper's curve exactly, while
   its end-side edge stays flush/square against the scrolling content —
   this is what makes the badge look "built into" the capsule rather
   than floating as a separate chip. Uses CSS Logical Properties
   (border-start-start-radius etc.) instead of physical left/right, so
   it automatically mirrors correctly for RTL languages (Arabic, Urdu,
   Hebrew) when the wrapper has dir="rtl" — no PHP branching needed.
   Works independently of wrapper_shape, so it can also round just the
   badge on an otherwise square ticker. */
.oc-nt-badge-shape-pill-start {
	border-start-start-radius: calc(var(--oc-nt-height) / 2);
	border-end-start-radius:   calc(var(--oc-nt-height) / 2);
	border-start-end-radius:   0;
	border-end-end-radius:     0;
	padding-inline-start:      calc(var(--oc-nt-px) * 0.85);
}

/* Ribbon / pointed-flag badge shape (NEW in 1.4.0):
   A chevron notch on the end side creates a pennant-style pointing tip.
   clip-path has no CSS logical-property equivalent so we provide an
   explicit [dir="rtl"] mirror rule below — the only place in the plugin
   that falls back to a physical override rather than logical properties. */
.oc-nt-badge-shape-ribbon {
	clip-path:          polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
	padding-inline-end: 20px;
	border-radius:      0;
}

.oc-nt-wrapper[dir="rtl"] .oc-nt-badge-shape-ribbon {
	clip-path:           polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
	padding-inline-end:  0;
	padding-inline-start: 20px;
}

/* ====================================================================
   Background System (NEW in 1.2.0) — base rule so the per-instance
   inline background-image override (gradient / image / transparent)
   always paints cleanly; values are overridden per-ticker via inline
   style in OC_NT_Renderer::build_background_override_css().
   ==================================================================== */
.oc-nt-wrapper {
	background-repeat:   no-repeat;
	background-size:     cover;
	background-position: center;
}

/* ====================================================================
   RTL / Language support (NEW in 1.2.0)
   The wrapper only carries dir="ltr"/"rtl" when explicitly set by the
   admin (text_direction setting) — by default it carries no dir
   attribute at all and simply inherits the page's direction, so this
   block is fully opt-in and changes nothing for existing tickers.
   ==================================================================== */
.oc-nt-wrapper[dir="rtl"] {
	direction: rtl;
}

.oc-nt-wrapper[dir="rtl"] .oc-nt-item,
.oc-nt-wrapper[dir="rtl"] .oc-nt-badge-text {
	text-align: right;
}

.oc-nt-wrapper[dir="rtl"] .oc-nt-track--fade .oc-nt-item,
.oc-nt-wrapper[dir="rtl"] .oc-nt-track--vertical .oc-nt-item {
	padding-inline-start: var(--oc-nt-px);
	padding-inline-end:   0;
}

/* Marquee motion (left/right) is a deliberate, separate setting from
   text direction — an RTL-language ticker can still scroll either way,
   so we intentionally do not reverse the animation based on dir. */

/* ====================================================================
   Model 13 – Capsule Light
   White pill bar, red merged badge, underlined links — matches a
   classic clean regional-news capsule ticker.
   ==================================================================== */
.oc-nt-model-13 {
	box-shadow: 0 1px 4px rgba(0,0,0,0.10);
	border:     1px solid #eceff1;
}

.oc-nt-model-13 .oc-nt-item {
	text-decoration:     underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(0,0,0,0.25);
}

.oc-nt-model-13 .oc-nt-item:hover {
	text-decoration-color: var(--oc-nt-accent);
}

/* ====================================================================
   Model 14 – Capsule Devotional Navy
   Navy pill bar with circular avatar thumbnails — matches devotional
   / spiritual content portal ticker bars.
   ==================================================================== */
.oc-nt-model-14 {
	box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}

.oc-nt-model-14 .oc-nt-item {
	text-decoration:       underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(255,255,255,0.35);
}

.oc-nt-model-14 .oc-nt-item:hover {
	text-decoration-color: var(--oc-nt-accent);
}

.oc-nt-model-14 .oc-nt-thumb {
	border: 2px solid rgba(255,255,255,0.5);
}

/* ====================================================================
   Model 15 – Capsule Gradient Sunset
   Warm orange-to-pink gradient pill bar with an inverse white badge.
   ==================================================================== */
.oc-nt-model-15 {
	background:  linear-gradient(90deg, #ff7e5f 0%, #feb47b 100%);
	box-shadow:  0 3px 10px rgba(255,126,95,0.35);
}

.oc-nt-model-15 .oc-nt-item:hover {
	text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* ====================================================================
   Model 16 – Capsule Outline Glass
   Frosted-glass translucent pill bar with a dark navy merged badge.
   ==================================================================== */
.oc-nt-model-16 {
	background:               rgba(255,255,255,0.65);
	-webkit-backdrop-filter:  blur(8px);
	backdrop-filter:          blur(8px);
	border:                   1px solid rgba(255,255,255,0.8);
	box-shadow:               0 4px 16px rgba(0,0,0,0.08);
}

@supports not ( backdrop-filter: blur(1px) ) {
	.oc-nt-model-16 {
		background: rgba(255,255,255,0.92);
	}
}

/* ====================================================================
   Model 17 – Finance / Stock Ticker
   Monospace font, green on black, thin vertical pipe separators.
   ==================================================================== */
.oc-nt-model-17 {
	font-family: 'Courier New', Courier, monospace;
	letter-spacing: 0.04em;
}

.oc-nt-model-17 .oc-nt-item {
	font-family: inherit;
}

.oc-nt-model-17 .oc-nt-sep {
	color:    var(--oc-nt-accent);
	opacity:  1;
	font-size: 0.8em;
}

/* ====================================================================
   Model 18 – Weather / Emergency Alert
   Diagonal hazard-stripe header stripe + pulsing badge keyframe.
   ==================================================================== */
.oc-nt-model-18 {
	background-image:    repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 8px,
		rgba(0,0,0,0.18) 8px,
		rgba(0,0,0,0.18) 16px
	);
	background-color:    #c1440e;
	border-top:          3px solid #ffe066;
	border-bottom:       3px solid #ffe066;
}

.oc-nt-model-18 .oc-nt-badge {
	animation: oc-nt-pulse-alert 1.4s ease-in-out infinite;
}

@keyframes oc-nt-pulse-alert {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
	.oc-nt-model-18 .oc-nt-badge {
		animation: none;
	}
}

/* ====================================================================
   Model 19 – Festival Gold
   Maroon/gold ornamental dotted border pattern.
   ==================================================================== */
.oc-nt-model-19 {
	border-top:    3px dotted #d4af37;
	border-bottom: 3px dotted #d4af37;
	box-shadow:    inset 0 1px 0 rgba(212,175,55,0.25),
	               inset 0 -1px 0 rgba(212,175,55,0.25);
}

.oc-nt-model-19 .oc-nt-sep {
	color:    #d4af37;
	opacity:  1;
	font-size: 1em;
}

/* ====================================================================
   Model 20 – Magazine Editorial
   Italic serif headlines, thin gold rule above and below.
   ==================================================================== */
.oc-nt-model-20 {
	border-top:    1.5px solid #b08d57;
	border-bottom: 1.5px solid #b08d57;
	font-style:    italic;
}

.oc-nt-model-20 .oc-nt-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-style:  italic;
}

.oc-nt-model-20 .oc-nt-badge {
	font-style:   normal;
	font-family:  Georgia, 'Times New Roman', serif;
	letter-spacing: 0.06em;
	font-variant:   small-caps;
}

/* ====================================================================
   Model 21 – Academic / University Notice
   Maroon/cream with strict square corners and subtle serif badge.
   ==================================================================== */
.oc-nt-model-21 {
	border-radius: 0 !important;
	border-inline-start: 5px solid #7a1f2b;
}

.oc-nt-model-21 .oc-nt-badge {
	border-radius:  0;
	font-family:    Georgia, serif;
	letter-spacing: 0.03em;
}

.oc-nt-model-21 .oc-nt-item {
	font-family: Georgia, 'Times New Roman', serif;
}

/* ====================================================================
   Model 22 – Real Estate Luxury
   Thin gold border, uppercase letter-spacing, ribbon badge.
   ==================================================================== */
.oc-nt-model-22 {
	border: 1px solid #c9a24b;
	box-shadow: inset 0 0 0 2px rgba(201,162,75,0.12);
}

.oc-nt-model-22 .oc-nt-title {
	text-transform:  uppercase;
	letter-spacing:  0.12em;
	font-size:       0.88em;
}

.oc-nt-model-22 .oc-nt-badge {
	text-transform:  uppercase;
	letter-spacing:  0.1em;
	font-size:       0.8em;
}

/* ====================================================================
   Model 23 – Retro Ticker Tape
   Cream paper, dashed border, rubber-stamp rotated badge.
   ==================================================================== */
.oc-nt-model-23 {
	border-top:    2px dashed #8a1f11;
	border-bottom: 2px dashed #8a1f11;
}

.oc-nt-model-23 .oc-nt-badge {
	font-family:    'Courier New', Courier, monospace;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size:      0.82em;
	transform:      rotate(-1.5deg);
	transform-origin: center;
}

.oc-nt-model-23 .oc-nt-item {
	font-family: 'Courier New', Courier, monospace;
}

/* ====================================================================
   Model 24 – Holographic Gradient
   Animated shifting multi-stop hue gradient, pill wrapper.
   Respects prefers-reduced-motion — falls back to a static gradient.
   ==================================================================== */
.oc-nt-model-24 {
	background-size:      300% 300%;
	background-image:     linear-gradient(
		270deg,
		#7b2ff7, #f107a3, #ff6b35, #ffcc02, #20e0a0, #0ea5e9, #7b2ff7
	);
	animation:            oc-nt-holo-shift 8s ease infinite;
}

@keyframes oc-nt-holo-shift {
	0%   { background-position: 0%   50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0%   50%; }
}

@media (prefers-reduced-motion: reduce) {
	.oc-nt-model-24 {
		animation:            none;
		background-position:  0% 50%;
		background-size:      100% 100%;
	}
}

.oc-nt-model-24 .oc-nt-badge {
	box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ====================================================================
   Sticky positioning (NEW in 1.3.0)
   ==================================================================== */
.oc-nt-sticky-top,
.oc-nt-sticky-bottom {
	position: sticky;
	z-index:  var(--oc-nt-z-index, 9999);
}

.oc-nt-sticky-top {
	top: 0;
}

.oc-nt-sticky-bottom {
	bottom: 0;
}

/* ====================================================================
   Device targeting (NEW in 1.3.0) — pure CSS show/hide per viewport.
   Breakpoint matches the plugin's existing 767px mobile cutoff.
   ==================================================================== */
.oc-nt-device-mobile-only {
	display: none;
}

@media (max-width: 767px) {
	.oc-nt-device-desktop-only {
		display: none !important;
	}

	.oc-nt-device-mobile-only {
		display: flex;
	}
}

/* ====================================================================
   Dismiss / close button (NEW in 1.3.0)
   ==================================================================== */
.oc-nt-close {
	display:             flex;
	align-items:         center;
	justify-content:     center;
	width:               22px;
	height:              22px;
	flex-shrink:         0;
	margin-inline-start: 6px;
	background:          transparent;
	border:              none;
	cursor:              pointer;
	font-size:           18px;
	line-height:         1;
	color:               var(--oc-nt-text);
	opacity:             0.6;
	transition:          opacity 0.15s ease, transform 0.1s ease;
}

.oc-nt-close:hover {
	opacity: 1;
}

.oc-nt-close:active {
	transform: scale(0.9);
}


@media (max-width: 600px) {
	.oc-nt-badge-text {
		display: none;
	}

	.oc-nt-excerpt,
	.oc-nt-date {
		display: none;
	}

	.oc-nt-badge {
		padding: 0 10px;
	}
}

@media (max-width: 400px) {
	.oc-nt-controls {
		display: none;
	}
}

/* ====================================================================
   Accessibility – respect reduced motion
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
	.oc-nt-track-inner {
		animation: none !important;
	}

	.oc-nt-track--fade .oc-nt-slide,
	.oc-nt-track--vertical .oc-nt-slide {
		transition: none !important;
	}
}
