forked from UKSOURCE/hailearning.edu.vn
903 lines
18 KiB
CSS
903 lines
18 KiB
CSS
/* ============================================================
|
|
ABOUT PAGE
|
|
============================================================ */
|
|
|
|
.about-hero {
|
|
padding: 80px 0;
|
|
background-color: #f8fbff;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.about-hero__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.about-hero__badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.about-hero__badge-line {
|
|
display: inline-block;
|
|
width: 2rem;
|
|
height: 2px;
|
|
background: #1b254b;
|
|
}
|
|
|
|
.about-hero__badge-text {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.about-hero__title {
|
|
font-size: clamp(2rem, 4vw, 3.5rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
line-height: 1.15;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-hero__title span {
|
|
color: var(--theme, #E13833);
|
|
}
|
|
|
|
.about-hero__desc {
|
|
font-size: 1.05rem;
|
|
color: #6b7280;
|
|
line-height: 1.7;
|
|
max-width: 36rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-hero__actions {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.about-hero__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.875rem 2rem;
|
|
background-color: #1b254b;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
border-radius: 0.375rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.about-hero__btn:hover {
|
|
background-color: #151c3a;
|
|
}
|
|
|
|
/* Image side */
|
|
.about-hero__image-wrap {
|
|
position: relative;
|
|
border-radius: 1rem;
|
|
overflow: visible;
|
|
}
|
|
|
|
.about-hero__image {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 1rem;
|
|
object-fit: cover;
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
|
|
display: block;
|
|
}
|
|
|
|
/* Badge card overlay */
|
|
.about-hero__badge-card {
|
|
position: absolute;
|
|
bottom: -1.5rem;
|
|
left: -1.5rem;
|
|
background: #ffffff;
|
|
padding: 1.25rem 1.5rem;
|
|
border-radius: 0.75rem;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e5e7eb;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.about-hero__badge-card {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.about-hero__badge-icon {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
background: #f8fbff;
|
|
border-radius: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
color: #1b254b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.about-hero__badge-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-hero__badge-label {
|
|
font-size: 0.8rem;
|
|
color: #6b7280;
|
|
margin: 0;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.about-hero {
|
|
padding: 80px 0 60px;
|
|
}
|
|
|
|
.about-hero__image-wrap {
|
|
margin-top: 3rem;
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Mission & Values
|
|
------------------------------------------------------------ */
|
|
.about-mission {
|
|
padding: 80px 0;
|
|
background-color: #f8f8f9;
|
|
border-top: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.about-mission__header {
|
|
max-width: 48rem;
|
|
margin: 0 auto 4rem;
|
|
}
|
|
|
|
.about-mission__badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.about-mission__badge-line {
|
|
display: inline-block;
|
|
width: 2rem;
|
|
height: 2px;
|
|
background: #E13833;
|
|
}
|
|
|
|
.about-mission__badge-text {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.about-mission__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.about-mission__subtitle {
|
|
font-size: 1.05rem;
|
|
color: #6b7280;
|
|
line-height: 1.7;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-mission__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.about-mission__grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.about-mission__card {
|
|
background: #ffffff;
|
|
padding: 2rem;
|
|
border-radius: 0.75rem;
|
|
border: 1px solid #e5e7eb;
|
|
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
|
|
transition: box-shadow 0.2s ease;
|
|
}
|
|
|
|
.about-mission__card:hover {
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.about-mission__icon-wrap {
|
|
width: 3.5rem;
|
|
height: 3.5rem;
|
|
background: #f8fbff;
|
|
border-radius: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
color: #1b254b;
|
|
margin-bottom: 1.5rem;
|
|
border-top: 4px solid transparent;
|
|
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.about-mission__card:hover .about-mission__icon-wrap {
|
|
background-color: #1b254b;
|
|
color: #ffffff;
|
|
border-top-color: #E13833;
|
|
}
|
|
|
|
.about-mission__card-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-mission__card-desc {
|
|
font-size: 0.95rem;
|
|
color: #6b7280;
|
|
line-height: 1.7;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Why Paris
|
|
------------------------------------------------------------ */
|
|
.why-paris {
|
|
padding: 80px 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.why-paris__image-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.why-paris__image-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.why-paris__image-col--offset {
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
.why-paris__img {
|
|
width: 100%;
|
|
object-fit: cover;
|
|
border-radius: 0.75rem;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
display: block;
|
|
}
|
|
|
|
.why-paris__img--short { height: 12rem; }
|
|
.why-paris__img--tall { height: 16rem; }
|
|
|
|
.why-paris__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.why-paris__content {
|
|
padding-left: 0;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
}
|
|
|
|
.why-paris__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin: 0;
|
|
}
|
|
|
|
.why-paris__desc {
|
|
font-size: 1.05rem;
|
|
color: #6b7280;
|
|
line-height: 1.7;
|
|
margin: 0;
|
|
}
|
|
|
|
.why-paris__list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.why-paris__list-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
color: #1b254b;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.why-paris__check {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 50%;
|
|
background: #f8fbff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #1b254b;
|
|
font-size: 0.65rem;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.why-paris__btn {
|
|
display: inline-block;
|
|
margin-top: 0.5rem;
|
|
padding: 0.625rem 1.5rem;
|
|
background: #f8fbff;
|
|
color: #1b254b;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
border-radius: 0.375rem;
|
|
border: 1px solid #e5e7eb;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.why-paris__btn:hover {
|
|
background-color: #e5e7eb;
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Leadership Message
|
|
------------------------------------------------------------ */
|
|
.about-message {
|
|
padding: 80px 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.about-message__header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.about-message__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.5rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.about-message__divider {
|
|
width: 5rem;
|
|
height: 4px;
|
|
background: #E13833;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.about-message__body p {
|
|
color: #6b7280;
|
|
line-height: 1.8;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.about-message__quote {
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
color: #1b254b !important;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.about-message__author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.25rem;
|
|
margin-top: 2rem;
|
|
padding: 1.5rem;
|
|
background: #f8f8f9;
|
|
border-radius: 1rem;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.about-message__avatar {
|
|
width: 5rem;
|
|
height: 5rem;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid #E13833;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.about-message__avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.about-message__author-name {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin: 0 0 0.25rem;
|
|
}
|
|
|
|
.about-message__author-role {
|
|
font-size: 0.875rem;
|
|
color: #E13833;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-message__quote-icon {
|
|
font-size: 3rem;
|
|
color: #1b254b;
|
|
opacity: 0.15;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.about-message__sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
position: sticky;
|
|
top: 7rem;
|
|
}
|
|
|
|
.about-message__sidebar-card {
|
|
background: #f8f8f9;
|
|
padding: 2rem;
|
|
border-radius: 1.5rem;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.about-message__sidebar-card h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-message__sidebar-card p {
|
|
font-size: 0.875rem;
|
|
color: #6b7280;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.about-message__sidebar-card--primary {
|
|
background: #1b254b;
|
|
}
|
|
|
|
.about-message__sidebar-card--primary h3,
|
|
.about-message__sidebar-card--primary p {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.about-message__sidebar-card--primary p {
|
|
color: rgba(255,255,255,0.75);
|
|
}
|
|
|
|
.about-message__sidebar-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
background: #ffffff;
|
|
color: #1b254b;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 999px;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.about-message__sidebar-link:hover { background: #f3f4f6; }
|
|
|
|
.about-message__sidebar-icon {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
background: #ffffff;
|
|
border-radius: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
color: #1b254b;
|
|
margin-bottom: 1rem;
|
|
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.about-message__sidebar-text-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: #1b254b;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.about-message__sidebar-text-link:hover { text-decoration: underline; }
|
|
|
|
.about-message__sidebar-outline-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
border: 2px solid #1b254b;
|
|
color: #1b254b;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 999px;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.about-message__sidebar-outline-link:hover {
|
|
background: #1b254b;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Leadership Board
|
|
------------------------------------------------------------ */
|
|
.about-leadership {
|
|
padding: 80px 0;
|
|
background: #f8f8f9;
|
|
}
|
|
|
|
.about-leadership__header {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.about-leadership__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-leadership__subtitle {
|
|
color: #6b7280;
|
|
font-size: 1.05rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-leadership__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.about-leadership__grid { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
.about-leadership__grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.about-leadership__card {
|
|
background: #ffffff;
|
|
border-radius: 0.75rem;
|
|
border: 1px solid #e5e7eb;
|
|
overflow: hidden;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.about-leadership__card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
|
|
|
|
.about-leadership__photo-wrap {
|
|
height: 16rem;
|
|
overflow: hidden;
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.about-leadership__photo {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.about-leadership__card:hover .about-leadership__photo { transform: scale(1.05); }
|
|
|
|
.about-leadership__info {
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-leadership__name {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.about-leadership__role {
|
|
font-size: 0.875rem;
|
|
color: #E13833;
|
|
font-weight: 500;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-leadership__socials {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.about-leadership__social-link {
|
|
color: #6b7280;
|
|
font-size: 1rem;
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.about-leadership__social-link:hover { color: #1b254b; }
|
|
|
|
/* ------------------------------------------------------------
|
|
Campus
|
|
------------------------------------------------------------ */
|
|
.about-campus {
|
|
padding: 80px 0;
|
|
background: #f8f8f9;
|
|
}
|
|
|
|
.about-campus__header {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.about-campus__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-campus__subtitle {
|
|
color: #6b7280;
|
|
max-width: 40rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.about-campus__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.about-campus__grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.about-campus__card {
|
|
background: #ffffff;
|
|
border-radius: 1.5rem;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.about-campus__card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
|
|
|
|
.about-campus__img-wrap {
|
|
height: 12rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.about-campus__img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.about-campus__card:hover .about-campus__img { transform: scale(1.05); }
|
|
|
|
.about-campus__body {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.about-campus__tag {
|
|
display: inline-block;
|
|
padding: 0.2rem 0.75rem;
|
|
border-radius: 999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.about-campus__tag--blue { background: #eff6ff; color: #1b254b; }
|
|
.about-campus__tag--yellow { background: #fefce8; color: #854d0e; }
|
|
.about-campus__tag--green { background: #f0fdf4; color: #166534; }
|
|
|
|
.about-campus__card-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: #1b254b;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-campus__card-desc {
|
|
font-size: 0.875rem;
|
|
color: #6b7280;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.about-campus__link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: #1b254b;
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
text-decoration: none;
|
|
transition: gap 0.2s;
|
|
}
|
|
|
|
.about-campus__link:hover { gap: 0.75rem; }
|
|
|
|
/* ------------------------------------------------------------
|
|
History Timeline
|
|
------------------------------------------------------------ */
|
|
.about-timeline {
|
|
padding: 80px 0;
|
|
background: #1b254b;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.about-timeline__header { margin-bottom: 3rem; }
|
|
|
|
.about-timeline__title {
|
|
font-size: clamp(1.75rem, 3vw, 2.5rem);
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.about-timeline__subtitle { color: rgba(255,255,255,0.65); font-size: 1rem; margin: 0; }
|
|
|
|
.about-timeline__track {
|
|
max-width: 44rem;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
/* Vertical line chạy giữa track */
|
|
.about-timeline__line {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
margin-left: -1px;
|
|
background: rgba(100,160,255,0.3);
|
|
}
|
|
|
|
.about-timeline__item {
|
|
display: flex;
|
|
margin-bottom: 3.5rem;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.about-timeline__item:last-child { margin-bottom: 0; }
|
|
|
|
/* Content chiếm nửa trái hoặc phải */
|
|
.about-timeline__content {
|
|
width: calc(50% - 1.5rem);
|
|
}
|
|
|
|
/* Dot nằm absolute giữa line */
|
|
.about-timeline__dot-wrap {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0.3rem;
|
|
transform: translateX(-50%);
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Spacer chiếm nửa còn lại */
|
|
.about-timeline__spacer {
|
|
width: calc(50% - 1.5rem);
|
|
}
|
|
|
|
/* Left: content bên trái, text align right */
|
|
.about-timeline__item--left .about-timeline__content {
|
|
text-align: right;
|
|
order: 1;
|
|
margin-right: 3rem;
|
|
}
|
|
.about-timeline__item--left .about-timeline__dot-wrap { order: 2; }
|
|
.about-timeline__item--left .about-timeline__spacer { order: 3; }
|
|
|
|
/* Right: spacer bên trái, content bên phải */
|
|
.about-timeline__item--right .about-timeline__spacer { order: 1; }
|
|
.about-timeline__item--right .about-timeline__dot-wrap { order: 2; }
|
|
.about-timeline__item--right .about-timeline__content {
|
|
text-align: left;
|
|
order: 3;
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
.about-timeline__dot {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
border: 2px solid #74b3ff;
|
|
box-shadow: 0 0 0 4px rgba(116,179,255,0.15);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.about-timeline__year {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 0.25rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.about-timeline__event {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: #74b3ff;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.about-timeline__desc {
|
|
font-size: 0.875rem;
|
|
color: rgba(255,255,255,0.65);
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
max-width: 18rem;
|
|
}
|
|
|
|
.about-timeline__item--left .about-timeline__desc { margin-left: auto; }
|
|
.about-timeline__item--right .about-timeline__desc { margin-right: auto; }
|
|
|
|
@media (max-width: 767px) {
|
|
.about-timeline__line { left: 0.75rem; }
|
|
.about-timeline__item { flex-direction: column; align-items: flex-start; padding-left: 2.5rem; }
|
|
.about-timeline__item--left .about-timeline__content,
|
|
.about-timeline__item--right .about-timeline__content { text-align: left; padding: 0; order: 2; }
|
|
.about-timeline__item--left .about-timeline__desc,
|
|
.about-timeline__item--right .about-timeline__desc { margin: 0; max-width: 100%; }
|
|
.about-timeline__dot-wrap { position: absolute; left: 0; top: 0.25rem; order: 1; }
|
|
.about-timeline__spacer { display: none; }
|
|
}
|