/* ---------- MOBILE OVERRIDES (put in mobile.css) ---------- */
html, body {
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.portfolio-title {
    font-size: 10px !important;   /* smaller text */
    padding: 3px 5px !important;  /* smaller box padding */
    top: 5px !important;          /* move it slightly up */
    right: 5px !important;        /* closer to the corner */

    line-height: 1.1 !important;  /* tighter spacing */
    transform: scale(0.85);       /* overall scale down */
    transform-origin: top right;  /* shrink toward corner */
}

h3{
    font-family: 'Abrock';
    font-size: 30px !important;
}

.row_01{

    margin-bottom: 20px;
}

.row_02{

    margin-bottom: 20px;
}

.row_03{

    margin-bottom: 20px;
}

.outcome{
    display: none;
}

/* left strip fixed width */
.left-strip {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    background-size: 100% 50px !important;

    overflow: hidden !important;
}

/* case wrapper: left column fixed, right uses remaining space */
.case-wrapper {
    grid-template-columns: 50px 1fr !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* floating player shrinks */
.player-floating {
    width: 50px !important;
    bottom: 24px !important;
}

/* content column sizing and internal padding */
.case-content {
    /* force content width to remaining viewport after left-strip */
    width: calc(100vw - 50px) !important;
    max-width: calc(100vw - 50px) !important;
    padding: 18px 18px !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

/* make sure generic images inside content don't overflow */
.case-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* typography scale on mobile */
h1, h2 {
    font-size: 40px !important;
    line-height: 0.2 !important;
}
p,li {
    font-size: 13px !important;
    line-height: 1.1 !important;
}

/* remove vertical divider lines (if any pseudo elements) */
.foundation::after {
    display: none !important;
}

.line_gap{
    line-height: 1 !important;
}



/* spacing utilities */

.row_margin_right{
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.artist-grid img {
    padding: 6px !important;
}


.naming { padding: 10px !important; }
.big_idea { padding: 20px !important; }
.icons_padding {
    margin: 0 auto !important;
    display: block !important;
    width: 140px !important;
    justify-content: center !important;  /* center horizontally */
    align-items: center !important;      /* center vertically */
    padding: 0 !important;               /* remove all offsets */
    text-align: center !important;
    gap: 30px;
}

.foundation{
    margin-left: 15px !important;
    margin-right: 10px !important;
    display: block !important;
    width: 100% !important;
    justify-content: center !important;  /* center horizontally */
    align-items: center !important;      /* center vertically */
    padding: 0 !important;               /* remove all offsets */
    text-align: left !important;
    gap: 30px;

}



/* ---------- PLAYER ICONS: strong overrides ---------- */
/* default mobile size for icons (pixel value is safest) */
img.table_icons,
.table_icons {
    height: 28px !important;     /* pick whatever pixel size you want */
    width: auto !important;
    max-height: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* override ANY inline width="" attribute on the <img> */
img.table_icons[height] {
    height: 28px !important;
    width: auto !important;
}

/* also override inline style attributes if used */
img.table_icons[style] {
    height: 48px !important;
    width: auto !important;
}

/* generic .player icons (if not using .table_icons class) fallback */
.player img {
    width: 60px !important;
    height: auto !important;
}

/* next icons (bottom right) */
.next-icons img {
    width: 80px !important;
    transition: transform 0.25s ease !important;
}
.next-icons img:hover { transform: scale(1.15); }
.next-icons img:active { transform: scale(1.22); }

/* ---------- grid & columns safety ---------- */
/* Prevent bootstrap columns from exceeding viewport */
.row [class*="col-"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* ensure the left strip never causes horizontal scroll */
html, body, .case-wrapper, .case-content {
    -webkit-overflow-scrolling: touch;
}

/* portfolio title small tweaks */
.portfolio-title {
    font-size: 22px !important;
    top: 10px !important;
    right: 10px !important;
    padding: 6px 10px !important;
}

/* small-screen friendly players-row (if you have custom grid elsewhere) */
.players-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    width: 100% !important;
    justify-items: center !important;
    align-items: center !important;
}

/* if you want the third item to be first column second row by default on top quadrants */
.players-row .player:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

.slider-btn {
    font-size: 22px !important;   /* smaller arrow size */
    padding: 4px 8px !important;  /* smaller button box */
    background: rgba(0,0,0,0.35) !important;
}

.left-btn {
    left: 5px !important;
}

.right-btn {
    right: 5px !important;
}

.case-content video {
    width: 100% !important;
    height: auto !important;
    margin-top: 20px !important;
}

.row > .col-md-4.row_margin_right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.row > .col-md-6.row_margin_right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.challenge{
    width: 400px !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 50px !important;
}

.text_icons img{
    padding: 20px !important;
    width: 260px !important;
}

