/*
====================================
 Theme Name:   Indexsy Theme
 Theme URI:    https://indexsy.com
 Description:  Indexsy's GP Theme
 Author:       Muhammad Yasin
 Author URI:   https://indexsy.com
 Template:     generatepress
 Version:      0.1
====================================
*/


/* =========================
   TYPOGRAPHY
========================= */

/* Font Family Utilities */
.ff-body {
    font-family: var(--gp-font--body);
}

.ff-heading {
    font-family: var(--gp-font--headings);
}

/* Heading and utility class font assignment */
h1, h2, h3, h4, h5, h6,
[class^="fs-"] {
    font-family: var(--gp-font--headings);
}

.fs-p {
    font-family: var(--gp-font--body);
}


/* =========================
   FLUID TYPOGRAPHY SCALE
========================= */

h1,
.fs-h1 {
    font-size: clamp(2.5rem, 2.0rem + 2.5vw, 4.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2,
.fs-h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h3,
.fs-h3 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    line-height: 1.4;
}

h4,
.fs-h4 {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
    line-height: 1.4;
}

h5,
.fs-h5 {
    font-size: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem);
    line-height: 1.5;
}

h6,
.fs-h6 {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    line-height: 1.5;
}

/* Body text - BOHOT ZAROORI */
p,
.fs-p {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Small text/Labels */
.fs-small,
small,
.label,
.tag {
    font-size: clamp(0.813rem, 0.75rem + 0.25vw, 0.938rem);
    line-height: 1.5;
}

/* Extra small */
.fs-xs {
    font-size: clamp(0.688rem, 0.625rem + 0.2vw, 0.813rem);
}


/* =========================
   THEME TWEAKS
========================= */

/* Header padding with responsive clamp */
.site-header {
    padding-inline: clamp(1rem, 0.848rem + 0.758vw, 1.5rem);
}

/* Typography wrapping */
/* Balance headings and elements with `.balance` class */
:is(h1, h2, h3, h4, h5, h6),
.balance {
    text-wrap: balance;
}

/* Use pretty wrapping for body text elements */
p,
blockquote,
li {
    text-wrap: pretty;
}

/* Remove bottom margin from final paragraph */
p:last-child:last-of-type {
    margin-bottom: 0px;
}


/* =========================
   UTILITIES
========================= */

/* Line Clamping */
.line-limit-3,
.line-limit-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-limit-3 {
    -webkit-line-clamp: 3;
}

.line-limit-2 {
    -webkit-line-clamp: 2;
}

/* Visually Hidden (accessible to screen readers) */
.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Smooth Transition Utility */
.transition {
    transition: all 0.25s ease-in-out;
}


/* =========================
   GP MENU ACCESSIBILITY TWEAKS
========================= */

#site-navigation ul.sub-menu {
    display: block;
}

#site-navigation li:hover .gp-icon svg {
    transform: rotate(180deg);
}

#site-navigation li:hover .sub-menu {
    visibility: visible;
}


/* =========================
   STRETCH LINK (from Bootstrap)
   Note: Only use ONE link per card or this breaks!
========================= */

.stretch-link {
    position: relative;
}

.stretch-link a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.stretch-link a:is(:focus-visible)::after {
    outline: 2px solid;
}

.stretch-link a:is(:hover, :focus) {
    outline: none;
}


/* =========================
   CONTAINER WRAPPER
========================= */
























