*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#090a0e;color:#f5f5f7;font:16px system-ui,sans-serif}header{position:sticky;top:0;z-index:5;background:#0b0c10ee;display:flex;justify-content:space-between;align-items:center;padding:20px 5%;border-bottom:1px solid #373039}nav{display:flex;gap:20px;align-items:center}a{color:inherit;text-decoration:none}em{color:#ff354c;font-style:normal}main{max-width:1350px;margin:auto;padding:24px}section{margin:32px 0;padding:24px;border:1px solid #343039;border-radius:20px;background:linear-gradient(145deg,#191b22,#0d0e13)}.hero{min-height:420px;display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;position:relative}.hero img{width:100%;border-radius:18px;box-shadow:0 0 45px #e4203944}.hero h1{font-size:clamp(36px,6vw,80px);margin:10px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}.tile{padding:22px;background:linear-gradient(140deg,#292c35,#101116);border:1px solid #43404a;border-radius:16px;transition:transform .3s;box-shadow:0 8px 20px #0006}.tile:hover{transform:perspective(650px) rotateX(5deg) translateY(-5px)}.orb{width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#ff304d 25%,#690013 65%,#08080a);box-shadow:0 0 25px #f0324c66;animation:float 4s ease-in-out infinite}@keyframes float{50%{transform:translateY(-8px) rotate(12deg)}}button,input,textarea,select{font:inherit;color:inherit;background:#191b24;border:1px solid #56515e;border-radius:8px;padding:12px}button{background:#99152a;cursor:pointer}form{display:grid;gap:10px;max-width:650px}textarea{min-height:100px;width:100%}pre{white-space:pre-wrap;overflow-wrap:anywhere}table{width:100%;border-collapse:collapse}td,th{padding:10px;border-bottom:1px solid #444;text-align:left}.scroll{overflow:auto}@media(max-width:700px){.hero{grid-template-columns:1fr}nav{gap:8px;font-size:12px}header{padding:12px}main{padding:10px}section{padding:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#editor label{display:grid;gap:6px;margin:12px 0}details{padding:16px;border:1px solid #45414a;border-radius:12px;margin:12px 0}summary{cursor:pointer;font-weight:bold}button:hover{background:#bd2035}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero img{aspect-ratio:1/1}.hero:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 75% 40%,#df183122,transparent 65%)}.hero img{position:relative}.hero small{letter-spacing:3px;color:#e2b69c}.hero h1{background:linear-gradient(#fff,#a7a7b0);background-clip:text;color:transparent}.tile h3{letter-spacing:1px}.tile:nth-child(2) .orb{border-radius:20%}.tile:nth-child(3) .orb{border-radius:10%;transform:rotate(30deg)}.tile:nth-child(4) .orb{border-radius:40% 10%}

.full-name{font-size:clamp(1rem,2.5vw,1.65rem);line-height:1.4;overflow-wrap:anywhere;color:#fff;}
nav{flex-wrap:wrap;justify-content:flex-end}section,article{scroll-margin-top:120px}#privacy input{width:auto}#experience .tile,#education .tile{margin:12px 0}@media(max-width:700px){header{flex-direction:column;gap:10px}nav{justify-content:center}section,article{scroll-margin-top:150px}}

#news .news-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
#news .news-filter{min-height:44px;padding:9px 15px;border:1px solid #49414b;border-radius:999px;background:#14151b;color:#d9d9e0;font-size:.9rem}
#news .news-filter:hover,#news .news-filter.is-active{background:#9e1931;border-color:#ed3a56;color:#fff}
#news .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px}
#news .news-card{min-width:0;overflow:hidden;padding:0;border:1px solid #3b333c;border-radius:18px;background:linear-gradient(145deg,#1d1b22,#101116);transform:none;transition:none;animation:none}
#news .news-card:hover{transform:none;border-color:#e3294d;box-shadow:0 10px 24px #0005}
#news .news-card-cover{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#101116}
#news .news-card-cover img{display:block;width:100%;height:100%;object-fit:cover;transform:none;transition:none;animation:none}
#news .news-card:hover .news-card-cover img{transform:none}
#news .news-card-placeholder{display:grid;width:100%;height:100%;place-items:center;background:radial-gradient(circle at 50% 35%,#3c1521,#111116 68%);color:#e3294d;font-size:3rem;font-weight:900;letter-spacing:.08em}
#news .news-card-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:19px}
#news .news-card-content time,#news .news-detail time{display:block;margin:10px 0;color:#a6a4ad;font-size:.82rem}
#news .news-category{display:inline-flex;padding:6px 10px;border:1px solid #6c293a;border-radius:999px;background:#35131f;color:#ff8b9c;font-size:.78rem;font-weight:700}
#news .news-card h3{margin:13px 0 8px;font-size:1.2rem;line-height:1.35}
#news .news-card h3 a:hover,#news .news-read-more:hover{color:#ff7188}
#news .news-card-content p{color:#c4c1ca;line-height:1.65;overflow-wrap:anywhere}
#news .news-read-more{display:inline-flex;align-items:center;min-height:44px;margin-top:auto;padding-top:8px;color:#ff7188;font-weight:700}
#news .news-load-more-wrap{display:flex;justify-content:center;margin-top:24px}
#news .news-load-more{min-height:46px;padding:10px 22px;border:1px solid #e3294d;border-radius:10px;background:#99152a;color:#fff;font-weight:700}
#news .news-load-more[hidden]{display:none}
#news .news-filter,#news .news-read-more,#news .news-load-more{touch-action:manipulation}
#news .news-empty{color:#bbb8c2}
#news .news-detail{max-width:900px;margin:0 auto}
#news .news-back{display:inline-block;margin:0 0 24px;color:#ff7188}
#news .news-detail h3{margin:16px 0;font-size:clamp(1.8rem,4vw,3rem);line-height:1.15}
#news .news-detail-summary{color:#d5d2dc;font-size:1.1rem;line-height:1.7}
#news .news-detail-image{display:block;width:100%;max-height:620px;margin:25px auto 12px;object-fit:contain;border-radius:14px;background:#090a0e}
#news .news-gallery{display:flex;gap:10px;overflow-x:auto;padding:5px 1px 14px}
#news .news-gallery-thumb{flex:0 0 92px;width:92px;height:68px;padding:3px;overflow:hidden;border:1px solid #48414a;border-radius:10px;background:#101116}
#news .news-gallery-thumb.is-active{border-color:#ed3a56;box-shadow:0 0 0 1px #ed3a56}
#news .news-gallery-thumb img{width:100%;height:100%;object-fit:cover}
#news .news-video{display:block;width:100%;max-height:600px;margin:24px 0;border-radius:14px;background:#000}
#news .news-video-frame{position:relative;width:100%;aspect-ratio:16/9;margin:24px 0;overflow:hidden;border-radius:14px;background:#000}
#news .news-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#news .news-article-body{margin:26px 0;color:#e3e1e8;font-size:1.02rem;line-height:1.85;overflow-wrap:anywhere}
#news .news-share{margin-top:10px}
#news .news-share-status{margin-left:12px;color:#c9c6d0}
@media(min-width:601px) and (max-width:900px){#news .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#news .news-grid{grid-template-columns:1fr}#news .news-card-content{padding:16px}#news .news-detail h3{font-size:1.7rem}#news .news-gallery-thumb{flex-basis:76px;width:76px;height:58px}}



/* =====================================
   ASOSCHI E13 - PREMIUM HERO DESIGN
   ===================================== */

.hero {
    min-height: 650px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px 0;
    margin: 20px 0 50px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
    align-items: center;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        ellipse at 75% 50%,
        rgba(170, 15, 40, 0.13),
        transparent 65%
    );
}

.hero img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    border: none;
    border-radius: 0;
    box-shadow: none;

    -webkit-mask-image: radial-gradient(
        ellipse 72% 75% at 50% 48%,
        #000 52%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse 72% 75% at 50% 48%,
        #000 52%,
        transparent 100%
    );
}

.hero h1 {
    font-size: clamp(32px, 4.8vw, 78px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    overflow-wrap: anywhere;
    background: linear-gradient(
        180deg,
        #ffffff 15%,
        #b5b5bf 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero small {
    color: #ff354c;
    font-weight: 600;
    letter-spacing: 4px;
}

.hero p {
    color: #d0d0da;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.8;
}

.hero a {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    margin-top: 15px;
    border: 1px solid #ff354c;
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        #b71530,
        #690013
    );
    font-weight: 600;
    color: white;
    transition: 0.3s ease;
}

.hero a:hover {
    background: #e42039;
    box-shadow: 0 0 30px #e4203955;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center;
        gap: 15px;
        padding: 35px 10px;
    }

    .hero img {
        width: 100%;
        max-width: 550px;
        margin: auto;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 58px);
        letter-spacing: -1px;
    }

    .hero small {
        letter-spacing: 2px;
    }
}
/* Premium portrait blending */

.hero {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.hero img {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    filter: none;

    -webkit-mask-image: radial-gradient(
        ellipse 68% 76% at 53% 48%,
        #000 48%,
        rgba(0,0,0,0.95) 60%,
        rgba(0,0,0,0.45) 80%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse 68% 76% at 53% 48%,
        #000 48%,
        rgba(0,0,0,0.95) 60%,
        rgba(0,0,0,0.45) 80%,
        transparent 100%
    );
}

.hero::before {
    background: radial-gradient(
        ellipse at 70% 50%,
        #b6001512,
        transparent 70%
    );
}

@media (max-width: 900px) {
    .hero {
        overflow: hidden;
    }

    .hero img {
        max-width: 600px;
        margin: auto;
    }
}
/* PREMIUM PROJECT CARDS */

#projects .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 22px;
}

#projects .tile {
    padding: 14px;
    overflow: hidden;
    border-radius: 20px;
    transition: transform .4s ease, box-shadow .4s ease;
}

.project-logo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background: #08090d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s ease;
}

#projects .tile:hover {
    transform: translateY(-8px);
    border-color: #ff354c;
    box-shadow: 0 15px 35px #ff153025;
}

#projects .tile:hover img {
    transform: scale(1.05);
}

#projects .tile h3 {
    font-size: 19px;
    margin: 20px 5px 10px;
}

#projects .tile p {
    color: #b5b5c0;
    line-height: 1.6;
    margin: 5px 5px 15px;
}

.e13-logo {
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 900;
    letter-spacing: 5px;
    color: #ff354c;
    text-shadow: 0 0 30px #ff354c80;
}

@media (max-width: 1000px) {
    #projects .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    #projects .grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #projects .tile,
    .project-logo img {
        transition: none;
    }
}

/* E13 premium animated background and interactive cards */
body{isolation:isolate;background:#07080c}
.ambient-scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 78% 24%,#6e0b2026,transparent 50%)}
.ambient-grid{position:absolute;inset:-65%;opacity:.16;background-image:linear-gradient(#ffffff18 1px,transparent 1px),linear-gradient(90deg,#ffffff18 1px,transparent 1px);background-size:70px 70px;transform:perspective(900px) rotateX(58deg) rotateZ(-15deg);animation:e13grid 25s linear infinite;mask-image:radial-gradient(ellipse,#000 10%,transparent 68%)}
.ambient-glow{position:absolute;width:65vw;aspect-ratio:1;right:-25%;top:5%;border:1px solid #ff354c26;border-radius:50%;box-shadow:0 0 120px #ff354c14,inset 0 0 100px #ff354c0d;animation:e13ring 35s linear infinite}
.ambient-glow:before,.ambient-glow:after{content:"";position:absolute;inset:15%;border:1px dashed #ffffff24;border-radius:50%}.ambient-glow:after{inset:30%;border-color:#ff354c38}
@keyframes e13grid{to{background-position:0 140px,140px 0}}@keyframes e13ring{to{transform:rotate(360deg)}}
header{background:#0b0c10df;backdrop-filter:blur(15px)}
section:not(.hero){background:linear-gradient(145deg,#191b22e8,#0d0e13eb);backdrop-filter:blur(8px)}
#projects .tile{position:relative;transform-style:preserve-3d;will-change:transform;transition:transform .28s ease,border-color .3s ease,box-shadow .3s ease}
#projects .tile:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(300px circle at var(--mx,50%) var(--my,50%),#ff354c2e,transparent 65%);opacity:0;transition:opacity .3s}
#projects .tile:hover:before{opacity:1}
#projects .tile:hover{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-8px);box-shadow:0 20px 45px #0009,0 0 25px #ff354c20}
#projects .project-logo{transform:translateZ(16px)}
@media(max-width:700px){.ambient-grid{opacity:.08}#projects .tile:hover{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.ambient-grid,.ambient-glow{animation:none!important}#projects .tile:hover{transform:none!important}}


/* E13 premium editorial sections — non-destructive visual layer */
:root{--e13-red:#ff4058;--e13-muted:#a6a8b5}
#about,#experience,#education{position:relative;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;padding:clamp(30px,5vw,76px) clamp(12px,3vw,42px);margin:0;}
#about::after,#experience::after,#education::after{content:"";position:absolute;bottom:0;left:3%;right:3%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.17) 15%,rgba(255,255,255,.12) 85%,transparent)}
#about h2,#experience h2,#education h2{font-size:clamp(12px,1.05vw,15px);letter-spacing:.27em;text-transform:uppercase;color:var(--e13-red);font-weight:700;margin:0 0 30px;display:flex;align-items:center;gap:16px}
#about h2::before,#experience h2::before,#education h2::before{content:"";width:27px;height:1px;background:var(--e13-red)}
#about .full-name{max-width:1080px;font-size:clamp(27px,4.1vw,61px);font-weight:800;letter-spacing:-.047em;line-height:1.15;margin:0 0 25px;text-wrap:balance;background:linear-gradient(120deg,#fff 20%,#a5a6af 90%);background-clip:text;color:transparent}
#about>p{max-width:790px;font-size:clamp(16px,1.5vw,20px);line-height:1.95;color:#b9bbc6;margin:0 0 14px}
#about:before{content:"E13";position:absolute;right:2%;top:7%;font-weight:900;font-size:clamp(100px,17vw,240px);letter-spacing:-.1em;color:rgba(255,255,255,.018);pointer-events:none;z-index:-1}
#experience,#education{counter-reset:career}
#experience .tile,#education .tile{counter-increment:career;position:relative;margin:0!important;padding:26px 24px 26px 90px;min-height:95px;background:transparent!important;border:0!important;border-left:1px solid rgba(255,255,255,.15)!important;border-radius:0!important;box-shadow:none!important;color:#e7e8ed;font-size:clamp(16px,1.35vw,19px);line-height:1.7;transition:background .25s ease,padding-left .25s ease!important;transform:none!important}
#experience .tile::before,#education .tile::before{content:counter(career,decimal-leading-zero);position:absolute;left:21px;top:29px;color:var(--e13-red);font:700 14px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.05em}
#experience .tile::after,#education .tile::after{content:"";position:absolute;left:-4px;top:35px;width:7px;height:7px;border-radius:50%;background:var(--e13-red);box-shadow:0 0 15px rgba(255,64,88,.4)}
#experience .tile:hover,#education .tile:hover{background:linear-gradient(90deg,rgba(255,64,88,.07),transparent 75%)!important;padding-left:98px;border-left-color:rgba(255,64,88,.6)!important}
#experience .tile:first-of-type,#education .tile:first-of-type{border-top:1px solid rgba(255,255,255,.1)!important}
#experience .tile:last-of-type,#education .tile:last-of-type{border-bottom:1px solid rgba(255,255,255,.1)!important}
@media(min-width:960px){#about{padding-top:85px;padding-bottom:85px}#experience,#education{display:grid;grid-template-columns:minmax(220px,32%) 1fr;column-gap:35px;align-items:start}#experience h2,#education h2{grid-column:1;grid-row:1 / span 10;position:sticky;top:125px}#experience .tile,#education .tile{grid-column:2}}
@media(max-width:700px){#about,#experience,#education{padding:42px 12px}#about .full-name{font-size:clamp(25px,7vw,39px)}#experience .tile,#education .tile{padding:22px 10px 22px 57px}#experience .tile::before,#education .tile::before{left:13px;top:25px}#experience .tile:hover,#education .tile:hover{padding-left:57px}}
@media(prefers-reduced-motion:reduce){#experience .tile,#education .tile{transition:none!important}}
/* Project cards text fix */
#projects .card,
#projects article {
  min-width: 0;
}

#projects h3,
#projects p {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.6;
}

#projects p {
  white-space: normal;
  height: auto;
  min-height: 0;
}
/* ASOSCHI E13 — Premium Project Cards */

#projects .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

#projects article,
#projects .card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    #1b1b26 0%,
    #101017 100%
  );
  padding: 24px;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

#projects article:hover,
#projects .card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,45,85,0.55);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

#projects img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: contain;
  border-radius: 16px;
  background: #09090f;
}

#projects h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 24px;
}

#projects p {
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 700px) {
  #projects .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #projects img {
    height: 230px;
  }
}

/* E13 — Compact Premium Project Cards */

#projects .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}

#projects article,
#projects .card {
  padding: 14px;
  border-radius: 20px;
  min-width: 0;
}

#projects img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  border-radius: 14px;
}

#projects h3 {
  font-size: 19px;
  margin: 16px 0 8px;
}

#projects p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  #projects .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #projects .grid {
    grid-template-columns: 1fr;
  }
}/* BOXFLOW va boshqa loyihalar oynasi */
#project-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.85) !important;
  overflow-y: auto !important;
}

#project-modal .project-modal-content {
  position: relative;
  width: min(100%, 700px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 20px;
  background: #14141c;
  color: white;
  box-sizing: border-box;
}

.project-modal-logo {
  display: block;
  width: min(100%, 240px);
  max-height: 180px;
  margin: 0 auto 20px;
  object-fit: contain;
  background: #09090f;
}

.project-modal-image {
  display: block;
  width: 100%;
  max-height: 320px;
  margin: 0 auto 20px;
  object-fit: cover;
}

.project-modal-close {
  float: right;
}

.project-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-modal-links a {
  padding: 10px 14px;
  border: 1px solid #ff354c;
  border-radius: 8px;
}

.project-admin-card {
  margin: 18px 0;
}

.project-admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.project-admin-heading h3 {
  margin: 8px 0;
  overflow-wrap: anywhere;
}

#projects-status {
  display: inline-block;
  margin: 12px;
}

/* ASOSCHI E13 — Organization Cards */
.e13-org-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 18px;
}

.e13-org-logo {
  width: 90px;
  height: 90px;
  min-width: 90px;
  object-fit: contain;
  padding: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

.e13-org-card p {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .e13-org-card {
    gap: 14px;
    padding: 16px;
  }

  .e13-org-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    padding: 8px;
  }
}

/* ASOSCHI E13 — Experience & Education Premium Layout */
#experience,
#education {
  display: block;
  width: 100%;
}

#experience > h2,
#education > h2 {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto 42px;
  padding: 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
}

#experience .e13-org-card,
#education .e13-org-card {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  padding: 25px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(18,18,27,.60);
}

#experience .e13-org-logo,
#education .e13-org-logo {
  width: 100px;
  height: 100px;
  min-width: 100px;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

#experience .e13-org-card p,
#education .e13-org-card p {
  margin: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  #experience > h2,
  #education > h2 {
    margin-bottom: 26px;
    font-size: 28px;
  }

  #experience .e13-org-card,
  #education .e13-org-card {
    gap: 14px;
    padding: 16px;
  }

  #experience .e13-org-logo,
  #education .e13-org-logo {
    width: 68px;
    height: 68px;
    min-width: 68px;
    padding: 7px;
  }
}

/* E13 — Experience and Education layout fix */
#experience,
#education {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
}

#experience > h2,
#education > h2 {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 0 14px !important;
  text-align: left !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  line-height: 1.3 !important;
  letter-spacing: 2px !important;
  z-index: 1 !important;
}

#experience > .tile,
#education > .tile {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
