body.path-taxonomy #main,
body.page-taxonomy-term-65 #main,
body.page-vocabulary-tags #main,
body.page-view-taxonomy-term #main {
    max-width: 1320px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 1399.98px) {
    body.path-taxonomy #main,
    body.page-taxonomy-term-65 #main,
    body.page-vocabulary-tags #main,
    body.page-view-taxonomy-term #main {
        max-width: 1140px !important;
    }
}

@media (max-width: 1199.98px) {
    body.path-taxonomy #main,
    body.page-taxonomy-term-65 #main,
    body.page-vocabulary-tags #main,
    body.page-view-taxonomy-term #main {
        max-width: 960px !important;
    }
}

@media (max-width: 991.98px) {
    body.path-taxonomy #main,
    body.page-taxonomy-term-65 #main,
    body.page-vocabulary-tags #main,
    body.page-view-taxonomy-term #main {
        max-width: 720px !important;
    }
}

@media (max-width: 767.98px) {
    body.path-taxonomy #main,
    body.page-taxonomy-term-65 #main,
    body.page-vocabulary-tags #main,
    body.page-view-taxonomy-term #main {
        max-width: 100% !important;
    }
}

.view-taxonomy-term,
.view-taxonomy-term .view-content,
.view-taxonomy-term .view-content.row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.view-taxonomy-term .views-row {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser {
    border-bottom: 1px solid #e1e1e1 !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
}

@media (min-width: 768px) {
    .view-taxonomy-term .node--view-mode-teaser:has(.field--type-image, .field--name-field-image) {
        display: grid !important;
        grid-template-columns: 276px 1fr !important;
        grid-template-areas:
            "image title"
            "image body"
            "image links" !important;
        column-gap: 24px !important;
        row-gap: 10px !important;
        align-items: start !important;
    }
}

.view-taxonomy-term .node--view-mode-teaser:not(:has(.field--type-image, .field--name-field-image)) {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.view-taxonomy-term .node--view-mode-teaser>header {
    grid-area: title !important;
    margin: 0 !important;
    padding: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser>.node__content {
    display: contents !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--type-image,
.view-taxonomy-term .node--view-mode-teaser .field--name-field-image {
    grid-area: image !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--type-image a,
.view-taxonomy-term .node--view-mode-teaser .field--name-field-image a {
    display: block !important;
    width: 100% !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--type-image img,
.view-taxonomy-term .node--view-mode-teaser .field--name-field-image img {
    width: 276px !important;
    max-width: 276px !important;
    height: 276px !important;
    max-height: 276px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--name-body img,
.view-taxonomy-term .node--view-mode-teaser .field--name-body figure,
.view-taxonomy-term .node--view-mode-teaser .field--name-body picture {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--name-body {
    grid-area: body !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #444 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--name-body p:not(:first-child) {
    display: none !important;
}

.view-taxonomy-term .node--view-mode-teaser .field--name-body p:first-child,
.view-taxonomy-term .node--view-mode-teaser .field--name-body:not(:has(p)) {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser .node__title,
.view-taxonomy-term .node--view-mode-teaser .node__title a,
.view-taxonomy-term .node--view-mode-teaser .node__title span {
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.view-taxonomy-term .node--view-mode-teaser .node__title {
    margin: 0 0 6px 0 !important;
    text-transform: none !important;
}

.view-taxonomy-term .node--view-mode-teaser .node__title a {
    color: #000 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
    transition: color 0.2s ease !important;
}

.view-taxonomy-term .node--view-mode-teaser .node__title a:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.view-taxonomy-term .node--view-mode-teaser .inline__links {
    grid-area: links !important;
    justify-self: end !important;
    text-align: right !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding: 0 !important;
}

.view-taxonomy-term .node--view-mode-teaser .inline__links ul,
.view-taxonomy-term .node--view-mode-teaser .inline__links .nav {
    display: flex !important;
    justify-content: flex-end !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.view-taxonomy-term .node--view-mode-teaser .node-readmore {
    margin-left: auto !important;
}

.view-taxonomy-term .node--view-mode-teaser .node-readmore a {
    display: inline-block !important;
    color: #1d84c3 !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
}

.view-taxonomy-term .node--view-mode-teaser .node-readmore a:hover {
    text-decoration: underline !important;
    color: #135d8a !important;
}

@media (max-width: 767.98px) {
    .view-taxonomy-term .node--view-mode-teaser:has(.field--type-image, .field--name-field-image) {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "image"
            "title"
            "body"
            "links" !important;
        row-gap: 12px !important;
    }

    .view-taxonomy-term .node--view-mode-teaser .field--type-image img,
    .view-taxonomy-term .node--view-mode-teaser .field--name-field-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

.view-taxonomy-term .hirek-gyujto {
    border-bottom: 1px solid #e1e1e1 !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.view-taxonomy-term .hirek-gyujto .row {
    align-items: start !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-4 br {
    display: none !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-4 img {
    width: 276px !important;
    max-width: 276px !important;
    height: 276px !important;
    max-height: 276px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
}

@media (min-width: 768px) {
    .view-taxonomy-term .hirek-gyujto .col-md-4 {
        width: 300px !important;
        max-width: 300px !important;
        flex: 0 0 300px !important;
    }

    .view-taxonomy-term .hirek-gyujto .col-md-8 {
        width: calc(100% - 300px) !important;
        max-width: calc(100% - 300px) !important;
        flex: 0 0 calc(100% - 300px) !important;
    }
}

.view-taxonomy-term .hirek-gyujto:not(:has(.col-md-4 img)) .col-md-4 {
    display: none !important;
}

.view-taxonomy-term .hirek-gyujto:not(:has(.col-md-4 img)) .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-8 h4,
.view-taxonomy-term .hirek-gyujto .col-md-8 h4 a,
.view-taxonomy-term .hirek-gyujto .hirek-cim,
.view-taxonomy-term .hirek-gyujto .hirek-cim a {
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #000 !important;
    text-decoration: none !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    overflow-wrap: anywhere !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-8 h4 a:hover,
.view-taxonomy-term .hirek-gyujto .hirek-cim a:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.view-taxonomy-term .hirek-gyujto .hir-datum {
    display: flex !important;
    align-items: center !important;
    font-style: italic !important;
    color: #777 !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.view-taxonomy-term .hirek-gyujto .hir-datum time,
.view-taxonomy-term .hirek-gyujto .col-md-8 time {
    display: inline !important;
    font-style: italic !important;
}

.view-taxonomy-term .hirek-gyujto .hir-datum i {
    font-style: normal !important;
    margin-right: 6px !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-8 img,
.view-taxonomy-term .hirek-gyujto .col-md-8 figure,
.view-taxonomy-term .hirek-gyujto .col-md-8 picture {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-8 p:not(:first-of-type) {
    display: none !important;
}

.view-taxonomy-term .hirek-gyujto .col-md-8 p:first-of-type {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    color: #444 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.view-taxonomy-term .hirek-gyujto .hirek-tovabb {
    padding-top: 10px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: right !important;
    text-transform: uppercase !important;
    width: 100% !important;
    display: block !important;
}

.view-taxonomy-term .hirek-gyujto .hirek-tovabb a {
    color: #1d84c3 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.view-taxonomy-term .hirek-gyujto .hirek-tovabb a:hover {
    text-decoration: underline !important;
    color: #135d8a !important;
}

@media (max-width: 767.98px) {
    .view-taxonomy-term .hirek-gyujto .col-md-4,
    .view-taxonomy-term .hirek-gyujto .col-md-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .view-taxonomy-term .hirek-gyujto .col-md-4 {
        margin-bottom: 15px !important;
    }

    .view-taxonomy-term .hirek-gyujto .col-md-4 img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
}